USAJOBS API

Beginner's Pick Jobs / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

USAJOBS is the official US federal government job portal, and its API provides programmatic access to thousands of government job listings. Developers can search openings by keyword, location, agency, and pay grade to build specialized job search tools. Authentication uses an API key passed in the request header alongside your registered email address.

Beginner Tip

USAJOBS requires both your API key and the email address used during registration as request headers—omitting either will result in a 401 error. Register at developer.usajobs.gov to get your credentials before making any calls.

Available Data

Use case: Integrate us government job board data into web and mobile applications
USAJOBS data via REST API

Example Response

JSON Response
{
  "title": "Software Engineer",
  "company": "Tech Corp",
  "location": "Remote",
  "salary_range": "$120,000 - $180,000",
  "posted_date": "2025-01-10",
  "description": "We are looking for an experienced..."
}

Field Reference

SearchResult.SearchResultItems List of job announcement objects matching the search criteria.
MatchedObjectDescriptor.PositionTitle Official job title of the federal position.
MatchedObjectDescriptor.DepartmentName Name of the federal department or agency posting the job.
MatchedObjectDescriptor.PositionLocationDisplay Human-readable location of the position.
MatchedObjectDescriptor.PositionRemuneration Salary range details including minimum and maximum annual pay.
MatchedObjectDescriptor.ApplicationCloseDate Date and time when the application window closes in ISO 8601 format.

Implementation Example

Request
const url = "https://developer.usajobs.gov/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or mismatched API key or User-Agent email header.
Include both the Authorization-Key header with your API key and the User-Agent header with your registered email address.
400 Bad Request Invalid parameter names or values in the query string.
Refer to the USAJOBS API documentation for exact parameter names such as Keyword (capitalized), not keyword.
Empty SearchResult array No jobs match the combined filters such as a very specific agency plus rare keyword.
Remove some filters to broaden the search, or check that agency abbreviations match USAJOBS codes.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Jobs
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →