> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# US Bureau of Labor Statistics

> US labor and price statistics (CPI, PPI, employment, unemployment, wages) as time series from the BLS Public Data API v2.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/bls.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=911a0b8f04a0239dcd418ac4fb94f948)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

Needs&#x20;

`BLS_API_KEY`

Endpoints

5

Auth

Key in query

[Vendor docs](https://www.bls.gov/developers/api_signature_v2.htm)

## Setup

| Variable | | What it is |
| - | - | - |
| `BLS_API_KEY` | required | a free BLS Public Data API v2 registration key (register on bls.gov/developers; the key arrives by email). Sent as the registrationkey query parameter. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* v2 limits per key: 500 queries a day, 50 series and 20 years per query, 50 requests per 10 seconds.
* Series ids are uppercase codes and may contain \_, - and #; lowercase letters and other characters are rejected. The popular-series and survey endpoints help find them.
* With no years given, a series call returns the past three years. Years are four-digit YYYY values.
* The optional catalog, calculations, annualaverage and aspects outputs need the registration key.

## Endpoints

GET

Get one series

Data for one series id, the past three years, or only the latest observation.

[Open](#bls-series-get)

POST

Get several series over a year range

Data for up to 50 series between two years, with optional catalog metadata, net/percent changes and annual averages.

[Open](#bls-series-query)

GET

List popular series

The 25 most requested series ids, overall or within one survey.

[Open](#bls-series-popular)

GET

List surveys

Every BLS survey with its abbreviation (CU, LN, CE, ...).

[Open](#bls-surveys-list)

GET

Get a survey

Metadata for one survey by abbreviation.

[Open](#bls-surveys-get)

### Get one series

GET

`/timeseries/data/{series_id}`

`bls.series.get`

Data for one series id, the past three years, or only the latest observation.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`series_id` required</td><td>string</td><td>path</td><td>BLS series id. Example `LAUCN040010000000005`</td></tr>

    <tr>
      <td>
        `latest`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        true returns only the most recent observation.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.bls.gov/developers/api_signature_v2.htm) · Same job: [US Energy Information Administration](https://docs.webrouter.net/data-apis/eia.md#eia-data-get), [IBGE](https://docs.webrouter.net/data-apis/ibge.md#ibge-aggregates-values), [World Bank Indicators API](https://docs.webrouter.net/data-apis/worldbank.md#worldbank-indicator-data)

```python Python theme={null}
router.call_data_api("bls.series.get", {'series_id': 'LAUCN040010000000005'})
```

```text MCP theme={null}
call_data_api(endpoint="bls.series.get", params={"series_id": "LAUCN040010000000005"})
```

### Get several series over a year range

POST

`/timeseries/data/`

`bls.series.query`

Data for up to 50 series between two years, with optional catalog metadata, net/percent changes and annual averages.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`seriesid` required</td><td>array</td><td>body</td><td>Series ids, up to 50. Example `["LAUCN040010000000005"]`</td></tr>
    <tr><td>`startyear` required</td><td>string</td><td>body</td><td>First year, YYYY. Example `2010`</td></tr>
    <tr><td>`endyear` required</td><td>string</td><td>body</td><td>Last year, YYYY; at most 20 years after startyear. Example `2014`</td></tr>

    <tr>
      <td>
        `catalog`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Include series catalog metadata (title, survey, area...). Default false.
      </td>
    </tr>

    <tr>
      <td>
        `calculations`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Include net and percent changes. Default false.
      </td>
    </tr>

    <tr>
      <td>
        `annualaverage`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Include annual averages. Default false.
      </td>
    </tr>

    <tr>
      <td>
        `aspects`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Include aspect data (e.g. standard errors) where the series has it. Default false.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.bls.gov/developers/api_signature_v2.htm) · Same job: [US Energy Information Administration](https://docs.webrouter.net/data-apis/eia.md#eia-data-get), [IBGE](https://docs.webrouter.net/data-apis/ibge.md#ibge-aggregates-values), [World Bank Indicators API](https://docs.webrouter.net/data-apis/worldbank.md#worldbank-indicator-data)

```python Python theme={null}
router.call_data_api("bls.series.query", {'seriesid': ['LAUCN040010000000005'], 'startyear': '2010', 'endyear': '2014'})
```

```text MCP theme={null}
call_data_api(endpoint="bls.series.query", params={"seriesid": ["LAUCN040010000000005"], "startyear": "2010", "endyear": "2014"})
```

> [!NOTE]
>
> * A read sent as a POST with a JSON body.

### List popular series

GET

`/timeseries/popular`

`bls.series.popular`

The 25 most requested series ids, overall or within one survey.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`survey`</td><td>string</td><td>query</td><td>Survey abbreviation to restrict to. Example `LA`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.bls.gov/developers/api_signature_v2.htm) · Same job: [World Bank Indicators API](https://docs.webrouter.net/data-apis/worldbank.md#worldbank-indicators-list)

```python Python theme={null}
router.call_data_api("bls.series.popular", {'survey': 'LA'})
```

```text MCP theme={null}
call_data_api(endpoint="bls.series.popular", params={"survey": "LA"})
```

### List surveys

GET

`/surveys`

`bls.surveys.list`

Every BLS survey with its abbreviation (CU, LN, CE, ...).

Input

No inputs.

[Vendor docs](https://www.bls.gov/developers/api_signature_v2.htm) · Same job: [US Energy Information Administration](https://docs.webrouter.net/data-apis/eia.md#eia-routes-list), [IBGE](https://docs.webrouter.net/data-apis/ibge.md#ibge-aggregates-list), [World Bank Indicators API](https://docs.webrouter.net/data-apis/worldbank.md#worldbank-topics-list)

```python Python theme={null}
router.call_data_api("bls.surveys.list")
```

```text MCP theme={null}
call_data_api(endpoint="bls.surveys.list")
```

### Get a survey

GET

`/surveys/{survey}`

`bls.surveys.get`

Metadata for one survey by abbreviation.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`survey` required</td><td>string</td><td>path</td><td>Survey abbreviation. Example `TU`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.bls.gov/developers/api_signature_v2.htm) · Same job: [US Energy Information Administration](https://docs.webrouter.net/data-apis/eia.md#eia-route-get)

```python Python theme={null}
router.call_data_api("bls.surveys.get", {'survey': 'TU'})
```

```text MCP theme={null}
call_data_api(endpoint="bls.surveys.get", params={"survey": "TU"})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.