Skip to main content
GET
GDP sparklines

Authorizations

X-API-KEY
string
header
default:pk_live_YOUR_KEY
required

Astreus API key (pk_live_...), created on the Developers page in the terminal. Also accepted as Authorization: Bearer pk_live_....

Query Parameters

codes
string
required

ISO 3166-1 alpha-2 codes, comma-separated, up to 500, e.g. US,GB,JP.

Response

OK

Inferred from captured responses: every field shown was returned by a real call; a field may be absent or null on other calls.

sparklines
object
unit
string
growthBasis
string
missing
any[]