Finance
Bureau of Labor Statistics logo

Bureau of Labor Statistics API

bls.gov

US Bureau of Labor Statistics - unemployment, CPI, payrolls, JOLTS, PPI, and earnings.

Actions
7
Category
Finance
Login
Not required
Output
JSON

Call the Bureau of Labor Statistics API

Submit a task, then poll the job until it settles. This example runs bl_eci.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "bl_eci",
    "params": {
      "indicators": [],
      "start_year": 10
    }
  }'

7 actions on bls.gov

Read

  • Employment Cost Index

    bl_eciread1 credit / call

    Returns total compensation, wages, and benefits, quarterly.

    indicators
    array
    start_year
    integer
    end_year
    integer
  • Employment Situation

    bl_employmentread1 credit / call

    Returns employed, unemployed, labor force, participation rate, and employment-population ratio.

    indicators
    array
    start_year
    integer
    end_year
    integer
  • JOLTS

    bl_joltsread1 credit / call

    Returns job openings, hires, separations, and quits.

    indicators
    array
    start_year
    integer
    end_year
    integer
  • Popular Indicators

    bl_popular_seriesread1 credit / call

    Returns key macro indicators including unemployment, CPI, core CPI, payrolls, and hourly earnings.

    indicators
    array
    start_year
    integer
    end_year
    integer
  • Producer Prices

    bl_ppiread1 credit / call

    Returns the Producer Price Index including Final Demand, Core PPI, and All Commodities.

    indicators
    array
    start_year
    integer
    end_year
    integer
  • Productivity

    bl_productivityread1 credit / call

    Returns nonfarm business productivity including output per hour, unit labor costs, and labor productivity.

    indicators
    array
    start_year
    integer
    end_year
    integer
  • Series Data

    bl_seriesread1 credit / call

    Returns time-series data for any series IDs, up to 25 series per request.

    series_ids
    string · required
    start_year
    integer
    end_year
    integer

Bureau of Labor Statistics API questions

Is there an API for Bureau of Labor Statistics?
Bureau of Labor Statistics does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for bls.gov. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Bureau of Labor Statistics data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when bls.gov changes its markup, Anakin updates the action.
Do I need a Bureau of Labor Statistics account?
No. Every Bureau of Labor Statistics action listed here runs anonymously — no account and no credentials required.
What does the Bureau of Labor Statistics API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites