# US CPI inflation

GET https://horizonpulse.dev/api/bls/cpi

- Price: $0.01 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Polygon
- Family: Rates and economy (/catalog/rates-economy.md)

## What it returns
Consumer Price Index series from the U.S. Bureau of Labor Statistics Public Data API v2: up to 10 CPI series ids (e.g. CUUR0000SA0) with an optional start and end year (up to 20 years). Data credit: U.S. Bureau of Labor Statistics; not affiliated with or endorsed by BLS. Up to 1 hour old. Bad input is refused before payment, not charged. If no requested series returns data, the request is refused and not charged; if at least one series returns data, the full price is charged. USDC on Base or Polygon. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Inputs
See /openapi.json for this path.

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/bls/cpi
- Setup: /setup.md
