DatasetsMacro and positioning

US consumer prices.

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

Request1 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, 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

Routes and credits1
  • GET /v1/macro/cpiUS CPI components, weights and contributions1 credit

Related.