GraphQL Jobs

GraphQL Jobs

  • Category: Jobs

Introduction to the graphql.jobs Public API

graphql.jobs is a public API that provides access to a database of job listings related to GraphQL technology. This API allows users to search for job listings using various queries such as job title, company name, and location. In this blog post, we will explore some examples of how to use the graphql.jobs API with JavaScript.

Getting Started

Firstly, you will need to obtain an API key from the Graphql.jobs website. With this key, you will be able to make requests to the API. Once you have your API key, you can make requests using the endpoints provided by the API.

Example Requests

In the following examples, we will use the popular Axios library in JavaScript to make requests to the graphql.jobs API.

Query for Job Listings

const axios = require('axios');
const API_URL = 'https://api.graphql.jobs/';

const query = `
    query {
      jobs {
        id
        title
        company {
          name
        }
      }
    }
`;

const config = {
    headers: {
        Authorization: `Bearer YOUR_API_KEY`,
    },
};

axios.post(API_URL, { query }, config)
    .then((res) => {
        console.log(res.data.data.jobs);
    })
    .catch((error) => {
        console.log(error);
    });

The above code sends a query to retrieve all job listings from the graphql.jobs API. It specifies that the returned data should include the job ID, job title, and the name of the company. The response data is logged to the console.

Search for Job Listings by Title and Location

const axios = require('axios');
const API_URL = 'https://api.graphql.jobs/';

const query = `
    query {
      jobs(title: "frontend", location: "new york") {
        id
        title
        company {
          name
        }
      }
    }
`;

const config = {
    headers: {
        Authorization: `Bearer YOUR_API_KEY`,
    },
};

axios.post(API_URL, { query }, config)
    .then((res) => {
        console.log(res.data.data.jobs);
    })
    .catch((error) => {
        console.log(error);
    });

This code sends a query to retrieve all job listings that contain the word "frontend" in the job title and are located in "new york". The returned data includes the same fields as in the previous example.

Search for Job Listings by Company

const axios = require('axios');
const API_URL = 'https://api.graphql.jobs/';

const query = `
    query {
      jobs(companyName: "facebook") {
        id
        title
        company {
          name
        }
      }
    }
`;

const config = {
    headers: {
        Authorization: `Bearer YOUR_API_KEY`,
    },
};

axios.post(API_URL, { query }, config)
    .then((res) => {
        console.log(res.data.data.jobs);
    })
    .catch((error) => {
        console.log(error);
    });

This code searches for job listings by company name. It retrieves all job listings with the company name "facebook". The returned data includes the same fields as in the previous examples.

Conclusion

In this blog post, we explored some examples of how to use the graphql.jobs public API with JavaScript and Axios. With this API, users have access to job listings related to GraphQL technology and can search for job listings using various queries.

We recommend checking out the graphql.jobs documentation for more information on the API's endpoints and query types. Happy coding!

Visit to GraphQL Jobs website

Similar APIs of Jobs

Remotive Job API

Remotive Job API

Jobs

Returns the list of all active remote job listings on Remotive job board. Filtering is available using optional querystring parameters. Remote job listings are sorted by publication date on Remotive job board.

remotejobsremotive

Freelancer

Freelancer

Jobs

Use the Freelancer API to access a cloud workforce of skilled freelancers from your website, app or software. Why hire people when you can just make an API call to the cloud?

freelancerpaidJobs

Reed

Reed

Jobs

Job board aggregator. API lets you create you own job search with reed.co.uk's job search and details API. Or lets you post jobs to reed.co.uk and search our database of candidates. It also provides with Courses API that takes leads and imports them into their CRM.

SeekingRecruitCourses

Jooble

Jooble

Jobs

Job search engine. The REST API allows developers to access and integrate Jooble's search results within your web products, or to build an entirely new web product of your own.

JobsVacanciesHigh

Jobs2Careers

Jobs2Careers

Jobs

Job aggregator. The API allows for a constant stream of up-todate job postings and provides the best matching based on any job seeker's search query. With the API, you use the Jobs2Careers enhanced search engine which has years of optimizations already built in. The API takes the guess work out of everything.

querysearchaccounting

The Muse

The Muse

Jobs

Job board and company profiles. This API gets a list of jobs, intelligently sorted by a number of factors such as trendiness, uniqueness, newness, etc. It also gives you description of individual job. Lets you list all the companies on your app or website in descending or ascending order. Through this API you can also access website's content.

JobsListsSorting

Juju

Juju

Jobs

Job search engine. Speed up your job search and find better jobs! Juju searches millions of jobs from thousands of sites and was one of the first job search engines online in 1998. It lets you sort data related to accounting, administrative, banking, mortgage, biotech, pharma, construction, customer, design, education, entry level, facilities, government, health care, human resources, installer, technician, insurance, legal, logistics, management, marketing, media, non profits, nursing, real estate, restaurant, retail, sales, sciences, software it, warehouse. API returns in XML.

OldestJobSearch

Careerjet

Careerjet

Jobs

Job search engine. If you are a webmaster and would like to embed Careerjet search results into your website, please feel free to use our public search API. In order to avoid misuse of our API, the frequency of calls you can make is limited. If you use our API intensively and wish to see this limit lifted for your server, please contact us and we'll arrange it after reviewing your site.

SearchWebJobs

USA JOBS

USA JOBS

Jobs

Tap into a list of current jobs openings with the United States government. This API provides you with the functionality that you can take advantage of on your own website or app which includes dynamic search, RSS feeds, job exports and rich REST services.

dynamicrssjob

Github Jobs

Github Jobs

Jobs

Jobs for software developers. GitHub Jobs is a great place attract the best technical talent for your company's open software development positions. The GitHub Jobs API allows you to search, and view jobs with JSON over HTTP. To get the JSON representation of any search result or job listing, append .json to the URL you'd use on the HTML GitHub Jobs site.

EmployerSoftwareRole