Jobs2Careers

Jobs

Jobs2Careers Public API

Jobs2Careers is a job search engine that provides a public API allowing developers to integrate job search capabilities into their own applications. This API provides access to millions of job listings from various sources, along with access to company reviews and salary estimates.

The Jobs2Careers Public API is a RESTful API, which means that developers can access it using HTTP requests. The API also supports various response formats, such as JSON, XML, and RSS.

API Authentication

Before accessing the Jobs2Careers Public API, developers must register for an API key. The API key is used to authenticate requests and to limit access to certain API endpoints.

To obtain an API key, developers can visit the Jobs2Careers API Sign-Up Page. Once the key is obtained, it should be included in the header of all API requests in the following format:

Authorization: api_key <API_KEY>

API Endpoints

The Jobs2Careers Public API provides various endpoints for job search, company search, and salary estimation. Below are some examples of API endpoints and their associated request parameters:

Job Search API

The Job Search API endpoint allows developers to search job listings based on different parameters:

GET /api/search.php?k=<KEYWORD>&l=<LOCATION>&p=<PAGE>&ip=<IP_ADDRESS>&co=<CONFIDENCE>&format=<FORMAT>

Parameters:

  • <KEYWORD>: The job title or keywords to search for
  • <LOCATION>: The job location to search for
  • <PAGE>: The page number of the search results (default is 1)
  • <IP_ADDRESS>: The IP address of the user to receive relevant search results
  • <CONFIDENCE>: The confidence level of the returned search results (default is 30)
  • <FORMAT>: The response format (JSON, XML, or RSS)

Example JavaScript code snippet:

const apiUrl = 'http://api.jobs2careers.com/api/search.php';
const keyword = 'developer';
const location = 'San Francisco, CA';
const page = 1;
const ip = '192.0.0.1';
const confidence = 60;
const format = 'json';
const apiKey = '<YOUR_API_KEY>';
const apiUrlWithParams = `${apiUrl}?k=${keyword}&l=${location}&p=${page}&ip=${ip}&co=${confidence}&format=${format}`;
const headers = {
  Authorization: `api_key ${apiKey}`,
  Accept: 'application/json',
};
fetch(apiUrlWithParams, { headers })
  .then((response) => response.json())
  .then((data) => console.log(data))
  .catch((error) => console.error(error));

Company Search API

The Company Search API endpoint allows developers to search for company information:

GET /api/companies.php?company=<COMPANY_NAME>&format=<FORMAT>

Parameters:

  • <COMPANY_NAME>: The name of the company to search for
  • <FORMAT>: The response format (JSON, XML, or RSS)

Example JavaScript code snippet:

const apiUrl = 'http://api.jobs2careers.com/api/companies.php';
const company = 'Amazon';
const format = 'json';
const apiKey = '<YOUR_API_KEY>';
const apiUrlWithParams = `${apiUrl}?company=${company}&format=${format}`;
const headers = {
  Authorization: `api_key ${apiKey}`,
  Accept: 'application/json',
};
fetch(apiUrlWithParams, { headers })
  .then((response) => response.json())
  .then((data) => console.log(data))
  .catch((error) => console.error(error));

Salary Estimation API

The Salary Estimation API endpoint allows developers to estimate the salary of a given job:

GET /api/salary.php?title=<JOB_TITLE>&location=<LOCATION>&format=<FORMAT>

Parameters:

  • <JOB_TITLE>: The title of the job to estimate the salary for
  • <LOCATION>: The job location
  • <FORMAT>: The response format (JSON, XML, or RSS)

Example JavaScript code snippet:

const apiUrl = 'http://api.jobs2careers.com/api/salary.php';
const jobTitle = 'Software Engineer';
const location = 'San Francisco, CA';
const format = 'json';
const apiKey = '<YOUR_API_KEY>';
const apiUrlWithParams = `${apiUrl}?title=${jobTitle}&location=${location}&format=${format}`;
const headers = {
  Authorization: `api_key ${apiKey}`,
  Accept: 'application/json',
};
fetch(apiUrlWithParams, { headers })
  .then((response) => response.json())
  .then((data) => console.log(data))
  .catch((error) => console.error(error));

Conclusion

The Jobs2Careers Public API provides a convenient way for developers to integrate job search capabilities into their own applications. With its various endpoints and parameters, developers can create applications that meet their specific needs and requirements. In addition, the API documentation provides detailed information on how to use the API, making it easy to get started.

Related APIs in Jobs