BLS Public Data API
by bls.gov
Statistics
Added on November 7th, 2026
Checked and working on November 7th, 2026
Visit bls.gov →
What it does
The BLS Public Data API from the US Bureau of Labor Statistics gives time series on prices, employment, wages and productivity, such as the Consumer Price Index or the unemployment rate, for example to adjust amounts for inflation. Ask for one or more series IDs and a range of years and get JSON. Free; version 1 needs no registration, version 2 needs a free registration key and allows more series, years and calculations.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free; version 1 needs no registration, version 2 needs a free registration key and allows more series, years and calculations.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- bls.gov
- Last checked
- Working on November 7th, 2026
More information: https://www.bls.gov/developers/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.bls.gov/publicAPI/v2/timeseries/data/CUUR0000SA0'
JavaScript
const response = await fetch("https://api.bls.gov/publicAPI/v2/timeseries/data/CUUR0000SA0");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.bls.gov/publicAPI/v2/timeseries/data/CUUR0000SA0",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.