USAJOBS API Guide (And How to Combine Federal + Private-Sector Job Feeds)
TL;DR
The USAJOBS API is one of the few genuinely free, official government job APIs with structured JSON, salary bands, and clear documentation. You just need an API key and a User-Agent email header. Its main limitation is scope: it only covers US federal government roles, so job boards targeting broader audiences pair it with an ATS-sourced API like CleanJobData.
On this page
If you are building a US job board, civic-tech project, or career tool, the USAJOBS API is one of the best free data sources available. Operated by the U.S. Office of Personnel Management (OPM), it exposes live federal government job openings in clean JSON with pay scales, security clearance requirements, and closing dates.
Here is how to authenticate, query the API, and pair it with private-sector job data.
How to Get Access to the USAJOBS API
Unlike Indeed, LinkedIn, or ZipRecruiter, USAJOBS encourages developer access:
- Request an API key at developer.usajobs.gov.
- You will receive an
Authorization-Keyvia email. - Every request must include both
Authorization-Keyand aUser-Agentheader set to the email address you registered with.
Querying the USAJOBS Search Endpoint
Here is a working Python example that searches for remote software/IT federal roles:
import requests
url = "https://data.usajobs.gov/api/search"
headers = {
"Host": "data.usajobs.gov",
"User-Agent": "[email protected]",
"Authorization-Key": "YOUR_USAJOBS_API_KEY",
}
params = {
"Keyword": "software engineer",
"RemoteIndicator": "True",
"ResultsPerPage": 25,
}
resp = requests.get(url, headers=headers, params=params, timeout=15)
resp.raise_for_status()
items = resp.json()["SearchResult"]["SearchResultItems"]
for item in items:
job = item["MatchedObjectDescriptor"]
print(job["PositionTitle"], "|", job["OrganizationName"], "|", job["PositionURI"])What You Get (and What Is Missing)
Strengths:
- 100% official & free for US federal openings.
- Rich metadata: GS pay grades, salary min/max, agency name, location, and exact closing date.
- No scraping required.
Limitations:
- Federal government only: No private companies, startups, state/local agencies, or international employers.
- Nested schema: The
MatchedObjectDescriptorstructure is verbose and government-specific, so you will need a normalization layer if you merge it with other sources.
Combining Federal + Private-Sector Jobs
Most job boards and AI job matchers cannot rely on federal postings alone. A common pattern is to ingest USAJOBS for public-sector roles and pair it with an ATS-direct API like CleanJobData for private-sector companies (from startups on Ashby/Lever to enterprises on Workday/Greenhouse).
# Normalize USAJOBS and CleanJobData into one unified schema
def normalize_usajobs(item):
d = item["MatchedObjectDescriptor"]
return {
"source": "usajobs",
"title": d["PositionTitle"],
"company": d["OrganizationName"],
"apply_url": d["PositionURI"],
}Check out our Best Free Job APIs in 2026 for more open feeds, or read Syncing Job Data in Depth to design an incremental ingestion pipeline.