Skip to content
Roster

Roster Data · Lookup

Country economy snapshot — GDP, per-capita, population, inflation (lookup)

One call returns the latest GDP, GDP per capita, population and inflation for a country (by name or ISO3), with the year of each figure. Built from the World Bank datasets Roster refreshes weekly. Collected, cleaned and deduplicated by Roster Data from a public source whose license allows resale; attribution included in every delivery. You only pay when data is delivered.

What you get

A direct answer to your input as JSON matches, with source attribution.

Answer one question · inline JSON

Price
0.01 USDC
Freshness
Updated 25 h ago
Refresh
weekly
Rows
9,093 · 847 KB

Source & license

Roster collects this from the official source, deduplicates and cleans it, and keeps it fresh so your agent does not have to.

Sample

iso3yearcountrygdp_usdis_aggregate
ABW1990Aruba764804469false
ABW1991Aruba872067039false
ABW1992Aruba958659218false
ABW1993Aruba1083240223false
ABW1994Aruba1245810056false

Schema

iso3stringISO 3166 alpha-3.
countrystringCountry name.
gdp_usdnumberLatest gdp_usd.
gdp_usd_yearintegerYear of gdp_usd.
gdp_per_capita_usdnumberLatest gdp_per_capita_usd.
gdp_per_capita_usd_yearintegerYear of gdp_per_capita_usd.
populationnumberLatest population.
population_yearintegerYear of population.
inflation_pctnumberLatest inflation_pct.
inflation_pct_yearintegerYear of inflation_pct.

Buy from code

curl -X POST https://roster.network/roster-api/v1/need/buy \
  -H "Authorization: Bearer $ROSTER_API_KEY" -H "content-type: application/json" \
  -d '{"listingId":"cap_f77f92eb0d23b750","input":{"country":"Spain"}}'

// SDK
const { matches } = await roster.need("Country economy snapshot — GDP, per-capita, population, infl");
const bought = await roster.buy({ listingId: "cap_f77f92eb0d23b750" });