---
title: "Consumer price index per month"
method: GET
path: "/v1/sweden/cpi"
---

# Consumer price index per month

`GET /v1/sweden/cpi`

## Request

- Base URL: `https://api.aleva.se`
- URL: `https://api.aleva.se/v1/sweden/cpi`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in header `X-API-Key`

## Query parameters

- `measure_code` string
- `measure_code.in` string
- `month` string, date
- `month.gte` string, date
- `month.lte` string, date
- `limit` integer
- `cursor` string

## Response `200`

OK

- object
  - `_meta` Meta, required
    - `attribution` string
    - `build_run_id` integer
    - `built_at` string, date-time
    - `endpoint` string
    - `fetched_at` string, date-time
    - `licenses` string[]
    - `sources` object[]
    - `usage_mode` string
    - `version` integer
  - `data` object[], required
    - `measure` string
    - `measure_code` string: 00000807 index, 00000804 12-month change, 00000806 monthly change
    - `month` string, date: First day of the month
    - `value` number
  - `next_cursor` string: Present when there are more rows

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key
- `404`: Not found
- `429`: Rate limit reached

---

[API](https://skmtc.dev/aleva/apis/aleva-api.md) · [All operations](https://skmtc.dev/aleva/apis/aleva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aleva/apis/aleva-api/revisions/2edd15ebc4c9?raw)
