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 4 d ago
Refresh
weekly
Rows
9,129 · 852 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

iso3countryis_aggregateyeargdp_usd
ABWArubafalse1990764804469
ABWArubafalse1991872067039
ABWArubafalse1992958659218
ABWArubafalse19931083240223
ABWArubafalse19941245810056

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" });