Using the Indeed Publisher API in JavaScript

The Indeed Publisher API allows you to access job search and job posting data from In this blog post, we will explore how to use the Indeed Publisher API in JavaScript.

Getting Started

Before we can begin using the Indeed Publisher API, we need to create an account and obtain an API key. To create an account, visit the Indeed Publisher website. Once you have created an account, you can obtain an API key from the API section.

Example Code

With our API key in hand, we can start using the Indeed Publisher API in JavaScript. Here are some example API requests:

// Initialize the API client
const indeedPublisher = require('indeed-publisher')(apiKey);

// Search for jobs
const query = 'developer';{ q: query, limit: 10 })
  .then((jobs) => {
  .catch((err) => {

// Get job details
const jobId = '123456';
  .then((jobDetails) => {
  .catch((err) => {

// Post a job
const jobPosting = {
  title: 'Software Engineer',
  description: 'We are seeking a talented software engineer to join our team.',
  location: 'San Francisco, CA',
  company: 'Acme Inc.',
  .then((jobPostingResult) => {
  .catch((err) => {


In this blog post, we have explored how to use the Indeed Publisher API in JavaScript. We have covered how to obtain an API key, initialize the API client, and make API requests for job search, job details, and job posting. Good luck on your next job search or recruitment effort!

Related APIs