ZipRecruiter

ZipRecruiter

  • Category: Jobs

Using the ZipRecruiter API in JavaScript

ZipRecruiter is a job board that lists job postings from various companies. They provide a public API that allows developers to get job listings, post jobs, and manage their job board account. In this blog post, we will explore how to use the ZipRecruiter API in JavaScript.

Getting Started

Before we can use the ZipRecruiter API, we need to sign up for a publisher account on their website. Once we have signed up, we will be given an API key that we can use to authenticate our requests.

Authentication

To authenticate our requests, we need to include our API key in the Authorization header. Here's an example of how to do this in JavaScript:

const apiKey = '<your api key>';
const headers = { 'Authorization': `Bearer ${apiKey}` };

Getting Job Listings

To get job listings from the ZipRecruiter API, we can make a GET request to the https://api.ziprecruiter.com/jobs endpoint. Here's an example of how to do this in JavaScript:

const searchParams = new URLSearchParams({
  location: 'san francisco,ca',
  distance: 10,
  job_title: 'javascript developer'
});

const url = `https://api.ziprecruiter.com/jobs?${searchParams}`;

fetch(url, { headers })
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));

In this example, we are searching for jobs in San Francisco, CA that have "javascript developer" in their job title and are within 10 miles of the location.

Posting Jobs

To post a job to the ZipRecruiter API, we can make a POST request to the https://api.ziprecruiter.com/job/create endpoint. Here's an example of how to do this in JavaScript:

const job = {
  title: 'Javascript Developer',
  description: 'We are looking for a talented Javascript developer to join our team...',
  company_name: 'Acme Inc.',
  location: 'San Francisco, CA',
  salary: '$100,000 - $120,000',
  job_type: 'Full-Time'
};

fetch('https://api.ziprecruiter.com/job/create', {
  method: 'POST',
  headers,
  body: JSON.stringify(job)
}).then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));

In this example, we are posting a job with a title, description, company name, location, salary, and job type.

Conclusion

In this blog post, we explored how to use the ZipRecruiter API in JavaScript. We looked at how to authenticate our requests, get job listings, and post jobs. With these examples, you should be able to build your own job board or integrate ZipRecruiter into your existing application.

Visit to ZipRecruiter 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

GraphQL Jobs

GraphQL Jobs

Jobs

Jobs with GraphQL. This API lets you retrieve information in GraphQL query format related for jobs offered by GraphQL. You can sort the data, find remote jobs and update existing data.

JobsGraphQLlocations

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