An Overview of the Adzuna Public API

Are you looking for a job search engine to integrate into your website or mobile application? Look no further than the Adzuna Public API! This handy tool allows you to access Adzuna's extensive database of job vacancies, salary data, and company information.

Getting Started

To get started with the Adzuna Public API, first register an account on the Adzuna Developer Website. This will give you access to the API key that you will need to make requests.

Authentication

All requests must include your API key. You can either include the key as a query parameter:

https://api.adzuna.com/v1/api/jobs/gb/search/1?app_id=YOUR_APP_ID&app_key=YOUR_APP_KEY

or as a header:

Authorization: YOUR_APP_ID:YOUR_APP_KEY

Note that some endpoints may require additional authentication, such as an OAuth token.

Example Requests

Here are a few examples of how you can use the Adzuna Public API to fetch job data using JavaScript.

Search for Jobs

const app_id = 'YOUR_APP_ID';
const app_key = 'YOUR_APP_KEY';
const country = 'gb';
const query = 'javascript';
const location = 'london';
const url = `https://api.adzuna.com/v1/api/jobs/${country}/search/1?app_id=${app_id}&app_key=${app_key}&q=${query}&location=${location}`;

fetch(url)
    .then(response => response.json())
    .then(data => console.log(data));

Get Job Details

const app_id = 'YOUR_APP_ID';
const app_key = 'YOUR_APP_KEY';
const job_id = '123456789';
const url = `https://api.adzuna.com/v1/api/jobs/${job_id}?app_id=${app_id}&app_key=${app_key}`;

fetch(url)
    .then(response => response.json())
    .then(data => console.log(data));

Get Salary Data

const app_id = 'YOUR_APP_ID';
const app_key = 'YOUR_APP_KEY';
const country = 'gb';
const job_title = 'web developer';
const url = `https://api.adzuna.com/v1/api/salary/${country}/history?app_id=${app_id}&app_key=${app_key}&title_only=${job_title}`;

fetch(url)
    .then(response => response.json())
    .then(data => console.log(data));

These are just a few examples of the many ways in which you can use the Adzuna Public API to access job data. For more information, check out the API documentation.

Related APIs