GroundsocialDocs

API · Economy

GET /economy/tourism-spend

Travel spending by country, purpose, destination and category, from Eurostat.

RequestGET /v1/economy/tourism-spend
Operation ideconomy.tourism_spend.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Travel spending by country, purpose, destination and category, from Eurostat.

Query parameters

NameTypeRequiredDescription
country_codestringyesISO 3166-1 alpha-2 codes, comma-separated (up to 10); EU27 for the European Union. Example: DE,FR.
categorystringnoCategories, comma-separated.
purpose"total" | "personal" | "business"noOne of total, personal, business.
destination"world" | "domestic" | "foreign"noOne of world, domestic, foreign.
measure"total" | "per_trip" | "per_night"noOne of total, per_trip, per_night.
from_yearintegernoFirst year. Defaults to five years ago.
to_yearintegernoLast year. Defaults to the latest Eurostat has.

Responses

StatusMeaningSchema
200One row per country, category and year.EconomyStat
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No data matches.Error
429Too many requests. Wait for Retry-After seconds.Error
503Economy is temporarily unavailable. Retryable; nothing was charged.Error

EconomyStat fields

FieldTypeDescription
datasetstring
labelstring
unitstring
updatedstring | null
rowsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.