Skip to main content
GET
Household spending by country and category
Read annual household consumption directly from Eurostat. Supports up to 10 European countries and EU27, the documented spending categories and reporting units, and years from 1990–2100. Missing observations remain null and source status flags are retained. Countries absent from COICOP 2018 use COICOP 1999; miscellaneous then includes insurance and financial services, and insurance_financial is null. GB/UK data stops at 2019. Mixed requests identify the source dataset on each series. Default from_year is the current year minus five; default to_year is the latest dataset year. Data follows the domestic concept and is not all spending by residents abroad. Source: Eurostat Statistics API.

Authorizations

x-api-key
string
header
required

Headers

Cache-Control
string
Idempotency-Key
string
X-Max-Credits
integer

Optional nonnegative integer cap on the maximum request hold. A live request whose hold exceeds this cap returns 422 CREDIT_BUDGET_EXCEEDED before spending. Metered holds use the requested limit; cache hits and successful idempotent replays cost zero.

Required range: x >= 0

Query Parameters

country_code
string
required

Comma-separated reporting-country codes, up to 10. Accepts GR/EL, GB/UK and EU27. Coverage depends on the selected dataset.

category
string

Comma-separated spending categories. Omit to return every supported category. See the endpoint description for differences in legacy categories.

from_year
integer

First requested year, inclusive. Defaults to the current calendar year minus five.

Required range: 1990 <= x <= 2100
to_year
integer

Last requested year, inclusive. Defaults to the latest published year in the dataset; individual countries may have no observation for that year.

Required range: 1990 <= x <= 2100
unit
enum<string>

Choose current-price million euros, euros per person, or percentage of total household consumption.

Available options:
eur_millions,
eur_per_capita,
share_of_total

Response

Request completed. Interpret data using the selected resource contract.

success
boolean
required
platform
string
required
endpoint
string
required
credits_used
integer
required
Required range: x >= 0
credits_remaining
integer | null
required
request_id
string
required
cached
boolean
required
data
object
required

The selected operation determines the resource fields in this object. Source data can omit a metric or report it as null.