Pull labor statistics series data from the BLS Public Data API

domain: bls.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register for a BLS API key at https://data.bls.gov/registrationEngine/ to access the higher-rate v2 API (unauthenticated v1 is limited to 25 series per query and 500 queries per day)
  2. POST to https://api.bls.gov/publicAPI/v2/timeseries/data/ with a JSON body containing 'seriesid' (array of BLS series IDs), 'startyear', 'endyear', and 'registrationkey': '<API_KEY>'
  3. Identify the correct series ID using the BLS series ID format documentation; for example, CES0000000001 is total nonfarm payroll employment from the CES survey
  4. Parse the response 'Results.series' array; each series contains a 'data' array of objects with 'year', 'period' (e.g., 'M01' for January), 'value', and 'footnotes'
  5. Handle the 'REQUEST_FAILED_OVER_CAPACITY' status code with exponential backoff, as the BLS API has shared infrastructure and may reject requests during high-traffic periods

Known gotchas

Related routes

Retrieve Occupational Employment and Wage Statistics (OEWS) data for specific SOC codes via the BLS Public Data API
api.bls.gov · 6 steps · unrated
Authenticate and query BLS Occupational Employment and Wage Statistics (OEWS) data via the BLS Public Data API for SOC-level wage benchmarking
bls.gov · 6 steps · unrated
Pull BLS wage and employment statistics for Crane and Tower Operators (SOC 53-7021) by state to benchmark hiring pay
api.bls.gov · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans