GDP (current US$)
GDP at purchaser's prices is the sum of gross value added by all resident producers in the economy plus any product taxes and minus any subsidies not included in the value of the products. It is calculated without making deductions for depreciation of fabricated assets or for depletion and degradation of natural resources. Data are in current U.S. dollars.
gdpmacroeconomicsworld-bank
Quality
100
Attribution
World Bank (https://data.worldbank.org)
Schema
| Column | Type | Description |
|---|---|---|
| country_code | string | ISO 3166-1 alpha-3 country code (World Bank API field countryiso3code). |
| country_name | string | Country name as published by the World Bank API. |
| year | integer | Calendar year of the observation (World Bank API field date). |
| value | float | Indicator value for the country and year, as defined by the World Bank indicator (see the dataset description). Missing values are null. (unit: current US$) |
Sample rows
| country_code | country_name | year | value |
|---|---|---|---|
| CAN | Canada | 2000 | 744773415931.587 |
| CAN | Canada | 2001 | 738981792355.372 |
| CAN | Canada | 2002 | 760650608551.583 |
| CAN | Canada | 2003 | 895542074084.648 |
| CAN | Canada | 2004 | 1026691006917.76 |
Use with an LLM
Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).
cURL
curl "https://datazimuts.com/v1/datasets/world_bank/gdp_current_usd" | jq '{title, rows, columns_count, license}'Python
import requests
ds = requests.get("https://datazimuts.com/v1/datasets/world_bank/gdp_current_usd").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)API endpoint: https://datazimuts.com/v1/datasets/world_bank/gdp_current_usd
Tip: fetch /llms.txt for the full machine-readable catalog.