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

# BLS

> Bureau of Labor Statistics API providing U.S. employment, price indices (CPI/PPI), productivity, and wage data as time series.

Bureau of Labor Statistics API providing U.S. employment, price indices (CPI/PPI), productivity, and wage data as time series. Best for economic analysis workflows needing labor market indicators, inflation tracking, or employment trends. The authoritative source for U.S. labor statistics — unlike BEA (national accounts) or Census (demographics), BLS focuses specifically on labor and price measurement.

1 example endpoint available through Lava's AI Gateway. See the [BLS API docs](https://www.bls.gov/developers/) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://api.bls.gov/publicAPI/v2` is supported. BLS labor statistics API. Construct URL as [https://api.bls.gov/publicAPI/v2/\&#123;endpoint\&#125](https://api.bls.gov/publicAPI/v2/\&#123;endpoint\&#125);. Common endpoints: /timeseries/data/\{seriesId} (e.g. CUUR0000SA0 for CPI), /timeseries/popular, /surveys. Auth param (registrationkey) is added automatically. The endpoints below are curated examples.</Info>

## Endpoints

### Get time series data by series ID

**GET** `https://api.bls.gov/publicAPI/v2/timeseries/data/CUUR0000SA0` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.bls.gov/publicAPI/v2/timeseries/data/CUUR0000SA0', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.bls.gov%2FpublicAPI%2Fv2%2Ftimeseries%2Fdata%2FCUUR0000SA0" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
