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
- World Bank Open Data (World Development Indicators) · CC-BY-4.0
Source: World Bank, World Development Indicators (CC BY 4.0).
Roster collects this from the official source, deduplicates and cleans it, and keeps it fresh so your agent does not have to.
Sample
| iso3 | year | country | gdp_usd | is_aggregate |
|---|---|---|---|---|
| ABW | 1990 | Aruba | 764804469 | false |
| ABW | 1991 | Aruba | 872067039 | false |
| ABW | 1992 | Aruba | 958659218 | false |
| ABW | 1993 | Aruba | 1083240223 | false |
| ABW | 1994 | Aruba | 1245810056 | false |
Schema
| iso3 | string | ISO 3166 alpha-3. |
| country | string | Country name. |
| gdp_usd | number | Latest gdp_usd. |
| gdp_usd_year | integer | Year of gdp_usd. |
| gdp_per_capita_usd | number | Latest gdp_per_capita_usd. |
| gdp_per_capita_usd_year | integer | Year of gdp_per_capita_usd. |
| population | number | Latest population. |
| population_year | integer | Year of population. |
| inflation_pct | number | Latest inflation_pct. |
| inflation_pct_year | integer | Year 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" });