jobdata

Job Types API Endpoint Documentation

A list of job types available for job search.

Table of contents

Introduction

The Job Types endpoint provides a comprehensive list of job types available in the jobdata API, enabling users to filter job posts based on the type of employment they offer, such as full-time, part-time, contract, temporary, etc. This capability allows for more targeted job searches, catering to the specific needs and preferences of job seekers and businesses looking for particular types of hires.

Endpoint Overview

Endpoint (list): /api/jobtypes/

Endpoint (single element): /api/jobtypes/{id}/

Method: GET

Authorization Required: Yes

Description: Retrieves a list of all job types available within the jobdata API database. This endpoint is instrumental for users who wish to categorize or filter job listings by the nature of the employment contract offered by the hiring companies.

Request

To make a request to the Job Types endpoint, you must include an authorization header with your API key. Here is how you can make a request using curl and Python.

Using curl

curl -X GET "https://jobdataapi.com/api/jobtypes/" \
     -H "Authorization: Api-Key YOUR_API_KEY"

Using Python

import requests

url = "https://jobdataapi.com/api/jobtypes/"
headers = {"Authorization": "Api-Key YOUR_API_KEY"}
response = requests.get(url, headers=headers)
print(response.json())

Parameters

This endpoint does not require any query parameters. The authorization header is the only requirement to access the data.

Response

The response from the Job Types endpoint is a JSON object containing an array of job types. Each job type is represented by a unique identifier and a name describing the type of employment.

Example Response

[
  {"id":1,"name":"Full Time"},
  {"id":2,"name":"Part Time"},
  {"id":3,"name":"Temporary"},
  {"id":4,"name":"Internship"},
  {"id":5,"name":"Freelance"},
  {"id":6,"name":"Contract"}
]

Use Cases

  • Job Search Platforms: Integrators can use the Job Types endpoint to build filters in their job search platforms, allowing users to narrow down their job search based on the type of employment they are interested in.
  • HR Software: HR software solutions can integrate this endpoint to help businesses post jobs with specific employment types, ensuring they attract the right candidates.
  • Data Analysis: Researchers and analysts can use the job types data to conduct market analysis on employment trends, offering insights into the most popular job types and emerging employment patterns.

Notes

  • Remember to replace YOUR_API_KEY with your actual jobdata API key in the header.

This section of the documentation provides a detailed overview of how to interact with the Job Types endpoint, ensuring that developers, businesses, and job search platforms can effectively utilize this information to enhance their applications and services.

Related Docs

Job Countries API Endpoint Documentation
Jobs Expired API Endpoint Documentation
Job Cities API Endpoint Documentation
Full-Text Search on Job Descriptions
Job Regions API Endpoint Documentation
Jobs API Endpoint Documentation