公
US Bureau of Labor Statistics API
3 endpointsGovernment & Open DataUSsocial:read
Returns BLS time series such as CPI, unemployment, payrolls, wages and job openings for up to 25 series and 10 years, their latest values, and a list of popular series ids.
View as Markdown| GET | /bls/series | Values of BLS time series, such as the Consumer Price Index or the unemployment rate, for up to 25 series ids and a span of up to 10 years, newest first. |
| GET | /bls/latest | Latest value of each BLS time series, such as the Consumer Price Index or the unemployment rate, for up to 25 series ids. |
| GET | /bls/popularSeries | Common BLS series ids with their titles, units and frequency: CPI, unemployment, payrolls, wages and job openings. Pass an id to bls/series or bls/latest. |
series
GET
/v1/bls/seriesValues of BLS time series, such as the Consumer Price Index or the unemployment rate, for up to 25 series ids and a span of up to 10 years, newest first.
scope social:read1 unitcached 1 hpaginated
Parameters
seriesstring required | BLS series ids separated by commas, up to 25, such as CUUR0000SA0 (CPI-U, all items). bls/popularSeries lists common ones. e.g. LNS14000000 |
startYearinteger | First year, 1900 to 2100. Default: the last few years. e.g. 2024 |
endYearinteger | Last year. Default: the current year. Keep the span to 10 years or less. e.g. 2025 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
date | string |
footnotes | string |
latest | boolean |
period | string |
periodName | string |
series | string |
value | number (double) |
year | any |
curl "https://api.hoshime.com/v1/bls/series?series=LNS14000000&startYear=2024&endYear=2025" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bls/series?series=LNS14000000&startYear=2024&endYear=2025", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bls/series?series=LNS14000000&startYear=2024&endYear=2025", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "date": "…", "footnotes": "…", "latest": false, "period": "…", "periodName": "…", "series": "…", "value": 0, "year": null } ], "meta": { "cached": false, "endpoint": "series", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bls", "requestId": "req_2Xb9kQ…", "units": 1 } }
latest
GET
/v1/bls/latestLatest value of each BLS time series, such as the Consumer Price Index or the unemployment rate, for up to 25 series ids.
scope social:read1 unitcached 1 hpaginated
Parameters
seriesstring required | BLS series ids separated by commas, up to 25, such as CUUR0000SA0 (CPI-U, all items). bls/popularSeries lists common ones. e.g. CUUR0000SA0,LNS14000000 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
date | string |
footnotes | string |
latest | boolean |
period | string |
periodName | string |
series | string |
value | number (double) |
year | any |
curl "https://api.hoshime.com/v1/bls/latest?series=CUUR0000SA0%2CLNS14000000" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bls/latest?series=CUUR0000SA0%2CLNS14000000", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bls/latest?series=CUUR0000SA0%2CLNS14000000", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "date": "…", "footnotes": "…", "latest": false, "period": "…", "periodName": "…", "series": "…", "value": 0, "year": null } ], "meta": { "cached": false, "endpoint": "latest", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bls", "requestId": "req_2Xb9kQ…", "units": 1 } }
popularSeries
GET
/v1/bls/popularSeriesCommon BLS series ids with their titles, units and frequency: CPI, unemployment, payrolls, wages and job openings. Pass an id to bls/series or bls/latest.
scope social:read1 unitpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
frequency | string |
seasonallyAdjusted | boolean |
series | string |
title | string |
unit | string |
curl "https://api.hoshime.com/v1/bls/popularSeries" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bls/popularSeries", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bls/popularSeries", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "frequency": "…", "seasonallyAdjusted": false, "series": "…", "title": "…", "unit": "…" } ], "meta": { "cached": false, "endpoint": "popularSeries", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bls", "requestId": "req_2Xb9kQ…", "units": 1 } }