---
title: "Inflation by Category"
method: GET
path: "/inflation-categories"
tags: ["Economics"]
---

# Inflation by Category

`GET /inflation-categories`

## Request

- Base URL: `https://api.dataporium.io`
- URL: `https://api.dataporium.io/inflation-categories`
- Auth: API key in query parameter `apikey`

US consumer prices for 25 categories (core, services, food, groceries, restaurants, energy, gasoline, electricity, shelter, rent, new and used vehicles, car insurance, airline fares, apparel, medical care and more), monthly from 2000, with 12-month and 1-month changes (official US government data).

All filters are optional. The answer is {as_of, categories, total, limit, offset, sort, order, rows, about}.

## Query parameters

- `category` string
- `group` string
- `month_from` string
- `month_to` string
- `latest` boolean
- `sort` string
- `order` string
- `limit` integer
- `offset` integer

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
