Economy

Get travel spending by country and category

Get what residents of up to 10 European countries spend on trips by category (transport, accommodation, restaurants and more) and year, filtered by purpose,…

GET/v1/economy/tourism-spend
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
8
countryarrayrequiredquery

The travellers' home countries, up to 10, comma-separated: ISO 3166-1 alpha-2 codes of EU and EFTA members and candidate countries, e.g. `DE,FR`, or `EU27` for the European Union. `EL` (Greece) and `UK` are accepted too.

any of: EU27, EA, AL, AT, BA, BE, BG, CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HR, HU, IE, IS, IT, LT, LU, LV, ME, MK, MT, NL, NO, PL, PT, RO, RS, SE, SI, SK, TR, XK (comma-separated)

categoryarrayoptionalquery

Spending categories, comma-separated: `total` (everything except durables), `transport`, `restaurants`, `accommodation`, `package` (package holidays), `other`, `durables` (valuables and durable goods). Without it: all seven.

any of: total, transport, restaurants, accommodation, package, other, durables (comma-separated)

purposestringoptionalquery

Why people travelled: `total` (default), `personal` or `business`.

one of: total, personal, business

destinationstringoptionalquery

Where they went: `world` (default), `domestic`, `foreign`, `eu` (other EU countries) or `non_eu`.

one of: world, domestic, foreign, eu, non_eu

measurestringoptionalquery

`total` (default, all spending in euro), `per_trip` (average per trip) or `per_night` (average per night).

one of: total, per_trip, per_night

tripLengthstringoptionalquery

Trip length: `any` (default, one night or more), `short` (1 to 3 nights) or `long` (4 nights or more).

one of: any, short, long

fromYearintegeroptionalquery

First year, e.g. `2015`. Default: five years before the current year.

≥ 1975 · ≤ 2100

toYearintegeroptionalquery

Last year, e.g. `2024`. Default: the latest year published.

≥ 1975 · ≤ 2100

Response fields
33

Endpoint-specific response payload.

datapurpose
string

one of: total, personal, business

datadestination
string

one of: world, domestic, foreign, eu, non_eu

datameasure
string

one of: total, per_trip, per_night

datatripLength
string

one of: any, short, long

datacurrency
string

Values are in euro (not millions).

one of: EUR

datafromYear
integernullable
datatoYear
integernullable

One series per country and category that has data, in the order you asked.

dataseries[]country
string

The travellers' home country as you sent it, e.g. `DE`.

min 1 chars

dataseries[]countryName
stringnullable

Country name in English.

dataseries[]category
string

The spending category.

one of: total, transport, restaurants, accommodation, package, other, durables

dataseries[]categoryName
stringnullable

The category's name in the dataset.

One value per year, oldest first, in euro.

dataseries[]points[]year
integer

Calendar year.

dataseries[]points[]value
numbernullable

The value; null when the year is not published.

dataseries[]points[]status
stringnullable

Flag the statistics office sets on the value, e.g. `provisional`, `estimated`, `break in time series`; null when none.

Countries you asked for that the dataset doesn't cover for these filters and years.

datacountriesWithoutData[]
stringoptional

Where the data comes from and how to credit it when you reuse it.

datasourcepublisher
string

Who publishes the data, e.g. `Eurostat`.

min 1 chars

datasourcedataset
stringnullable

The publisher's dataset code, when it has one.

datasourcetitle
stringnullable

The dataset's title.

datasourceupdatedAt
stringnullable

When the publisher last updated the data, ISO 8601.

datasourceurl
stringnullable

Where the data can be viewed.

datasourcelicence
string

The terms the data is published under.

min 1 chars

datasourceattribution
string

Credit line the licence asks for when you reuse or publish the data.

min 1 chars

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.

one of: true

metafetchedAt
stringoptional

When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

Code example

curl "https://api.socialfetch.dev/v1/economy/tourism-spend?country=DE,FR" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Travel spending series by country and category.