World Bank

Deret indikator pembangunan Bank Dunia per negara — PDB, inflasi, populasi, dan ribuan lainnya.

1 endpoint2 calls1/1 passing
Get API key

Deret satu indikator untuk satu negara. Tahun yang belum dilaporkan tetap dikirim dengan nilai null.

GET/v1/…worldbank/indicator
passing · 0.1s1d cache

Try it

Checking your keys…

Parameters

country

string · query · optional

ISO country code, or `all`. Default IDN.

indicator

string · query · optional

World Bank indicator id. Default NY.GDP.MKTP.CD (GDP, current US$).

length

number · query · optional

Rows to return (default 20, max 500).

Example response

{"project":"finance:worldbank",  "data": {"count":8,    "items": [      {"year":"2025","value":1445642584163.81      },      {"year":"2024","value":1396301788461.69      },      {"year":"2023","value":1371166925749.88      },      {"year":"2022","value":1319101183380.15      },      {"year":"2021","value":1186509691086.73      },      {"year":"2020","value":1059054842698.48      },      {"year":"2019","value":1119099871350.2      },      {"year":"2018","value":1042271532988.63      }    ],"total":66,"source":"world-bank","country":"Indonesia","indicator":"NY.GDP.MKTP.CD","countryCode":"IDN","lastUpdated":"2026-07-13","indicatorName":"GDP (current US$)"  },"timestamp":"2026-08-08T10:10:24Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "finance:worldbank",  "indicator",  { country: "IDN", indicator: "NY.GDP.MKTP.CD", length: 20 });