Open Skills API

Open Data

The Workforce Data Initiative Skills API

The Workforce Data Initiative Skills API provides developers with real-time access to a wide range of job skill data for the United States workforce. The API is based on standard REST principles and returns JSON data that can be easily parsed and integrated into web and mobile applications.

This guide provides an overview of the API and includes examples of API calls in JavaScript.

API Overview

The Skills API provides access to two main groups of data:

  1. Occupation Data: Information about different occupations, including the skills required for each occupation.
  2. Skills Data: Information about specific skills, including the occupations that require each skill.

The API has several endpoints that can be used to access this data:

Occupations Endpoints

/occupations

Returns a list of all occupations in the database.

Example JavaScript API Call:

fetch('https://api.skills.gov/occupations')
.then(response => response.json())
.then(data => console.log(data));

/occupations/:occupationId

Returns a specific occupation, including all associated skills.

Example JavaScript API Call:

fetch('https://api.skills.gov/occupations/17-2072.00')
.then(response => response.json())
.then(data => console.log(data));

Skills Endpoints

/skills

Returns a list of all skills in the database.

Example JavaScript API Call:

fetch('https://api.skills.gov/skills')
.then(response => response.json())
.then(data => console.log(data));

/skills/:skillId

Returns a specific skill, including all associated occupations.

Example JavaScript API Call:

fetch('https://api.skills.gov/skills/FLU')
.then(response => response.json())
.then(data => console.log(data));

Conclusion

The Workforce Data Initiative Skills API is a powerful tool for developers looking to integrate job skill data into their applications. With its simple REST-based architecture and standard JSON format, the API is easy to use and can be quickly integrated into any project.

For more information and detailed API documentation, visit the official Workforce Data Initiative Skills API page.

Related APIs in Open Data