API reference/Finance & Markets/Inflation (GDP Deflator)

Inflation (GDP Deflator)

freeLive data

Inflation measured by the annual growth of the GDP deflator.

GET/api/v1/finance/worldbank/inflation-deflator

Data source

Query parameters

ParameterDescriptionTry value
country
string
ISO 3166 alpha-2/3 code (default US)
years
number
Years of history, 1–60 (default 15)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.