Bls Economic Data Scraper avatar

Bls Economic Data Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Bls Economic Data Scraper

Bls Economic Data Scraper

Scrape US economic data from the Bureau of Labor Statistics public API. Pull CPI inflation and unemployment rate series by series ID and year range, then export every observation as structured JSON, CSV, or Excel rows — each with series ID, period, value, source URL, and scrape timestamp.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

B2B Lead Generation

B2B Lead Generation

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

BLS Economic Data Scraper: US CPI and unemployment series

BLS Economic Data Scraper

BLS Economic Data Scraper collects US Consumer Price Index (CPI) and unemployment series as clean, structured data. No login required. Each observation lands as one dataset row, ready to export as JSON, CSV, or Excel from Apify.

Pass one or more series ids, with an optional year range, and the actor returns every matching observation in a flat, ready-to-use shape.

Use cases

  • Inflation tracking: archive CPI-U all items (CUUR0000SA0) on a schedule and export CSV
  • Labor market checks: track the unemployment rate (LNS14000000) beside prices
  • Research extracts: take a short year window for a notebook or warehouse load
  • Dashboard feeds: drop the Apify dataset into a sheet or BI tool
  • Dated snapshots: keep source_url and scraped_at with every economic series row

Input

ParameterTypeDefaultDescription
seriesIdsarrayCUUR0000SA0, LNS14000000Series ids to include. Pass a single id, or several ids with an optional year filter.
startYearstringemptyFirst year, four digits. Leave blank with endYear to take the most recent observations.
endYearstringemptyLast year, four digits. Set both years or neither. Spans over 10 years are split.
maxItemsinteger100Cap on dataset rows, including error rows. Hard maximum 1000.
requestDelaySecsnumber1.0Delay between operations, in seconds. Minimum 1.
timeoutSecsinteger300Overall run time limit in seconds. Maximum 3600.
requestTimeoutSecsinteger30Per-operation timeout in seconds.
proxyConfigurationobject{"useApifyProxy": false}Optional proxy. Default is none.

Example input

{
"seriesIds": ["CUUR0000SA0", "LNS14000000"],
"startYear": "2024",
"endYear": "2024",
"maxItems": 100,
"requestDelaySecs": 1.0,
"timeoutSecs": 300,
"requestTimeoutSecs": 30,
"proxyConfiguration": { "useApifyProxy": false }
}

What data does this actor extract?

One flat row per observation, plus seriesID, source_url, scraped_at, and mode. Failed queries become error rows with error, input, and status so the run keeps going.

FieldDescription
seriesIDSeries identifier for the observation.
yearYear string for the observation.
periodPeriod code, such as M08.
periodNamePeriod label, such as August.
latestLatest flag when present, otherwise empty.
valueObservation value, kept as text.
footnotesFootnote objects for the observation.
source_urlReference URL recorded with the row.
scraped_atUTC time the row was produced.
modeseries for a single-series result, multi for a multi-series result.
errorMessage on a failed query.
inputSeries id or query label that failed.
statusHTTP status, or 404 when the series id is reported unknown.

Example output

{
"seriesID": "CUUR0000SA0",
"year": "2026",
"period": "M08",
"periodName": "August",
"latest": "true",
"value": "334.980",
"footnotes": [{}],
"scraped_at": "2026-10-12T00:00:00+00:00",
"mode": "series"
}

Limits and terms

Figures published by the Bureau of Labor Statistics are US government work. Duplicate rows (same series, year, and period) are dropped, and the run stops at maxItems.

An empty series list finishes successfully and logs a warning. An unknown series id writes one error row and the run continues.

FAQ

Do I need to log in?

No. There is no account or sign-in step.

How fresh is the series data?

The dataset reflects the latest values available when the actor runs. scraped_at is the UTC run time. latest marks the period flagged as the newest.

Can I export CSV from Apify?

Yes. The dataset exports as JSON, CSV, or Excel.

What happens if a series id is wrong?

The run stays up. That query becomes one error row with status 404 when the id is reported unknown, and later series still run.

Trademark Notice

BLS Economic Data and related names, logos, and trademarks belong to their respective owners. Their use in this documentation is solely to identify the source of the data and does not imply affiliation, sponsorship, endorsement, or partnership.

Disclaimer

Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or otherwise officially associated with BLS Economic Data or its owners. All data is collected from publicly available sources. Users are responsible for complying with the source's terms of use, rate limits, and attribution or licensing requirements.

This Actor only collects publicly available data, without logging in or bypassing any access controls. Scraping public data is generally legal, but how you use it matters:

  • Personal data: If the results include personal data (for example names, emails, or profile details), laws such as the GDPR in the EU and the CCPA in California may apply. Only collect and store personal data when you have a legitimate reason.
  • Copyright: Some content (articles, images, descriptions) may be protected by copyright. Do not republish full copyrighted content without permission.
  • Terms of use: Respect the source's terms, stated rate limits, and any attribution or non-commercial-use requirements.
  • Legal advice: This is general information, not legal advice. If you're unsure, consult a lawyer.

To learn more, read Apify's guide: Is web scraping legal?