[Datasets](https://gloom.sh/datasets#datasets) Macro and positioning

# US consumer prices.

One CPI component, with index weight, monthly change and yearly change. Every response carries its sources and dates.

- [See plans](https://gloom.sh/datasets/pricing)
- [Read the reference](https://gloom.sh/datasets/docs/datasets/cpi)

Request 1 credit

```
curl https://api.gloom.sh/v1/macro/cpi \
  -H "Authorization: Bearer $GLOOM_DATASETS_KEY"
```

With your key, this call returns the latest data. The response is one record of the [free sample](https://api.gloom.sh/v1/datasets/cpi/sample), which needs no key.

Response · data[0]

```
{
  "label": "All items",
  "code": "SA0",
  "weight": 100,
  "change": 0.6485,
  "yoy": 3.7377,
  "read": "All items rose 0.6% in September and 3.7% over the year; core rose 0.3% and 2.6%."
}
```

Trimmed real output

## Who uses it.

- ### Quant teams

  Model inflation component by component.
- ### Research agents

  Cite the CPI print and its weights.
- ### Fintech apps

  The CPI release in your app.

## Coverage and price.

- **route**: 1
- **sources**: 2
- **credit a call**: 1

In all 44 datasets on every plan, from $200/mo. [See plans](https://gloom.sh/datasets/pricing)

**Routes and credits (1)**

- `GET /v1/macro/cpi` US CPI components, weights and contributions 1 credit

## Related.

- [Government awards](https://gloom.sh/datasets/awards)
- [EIA energy inventories](https://gloom.sh/datasets/energy-inventories)
- [CFTC positioning](https://gloom.sh/datasets/cot)
