Deret indikator pembangunan Bank Dunia per negara — PDB, inflasi, populasi, dan ribuan lainnya.
Deret satu indikator untuk satu negara. Tahun yang belum dilaporkan tetap dikirim dengan nilai null.
/v1/finance:worldbank/indicator1d cache3 paramschecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("finance:worldbank", "indicator", {
"country": "IDN",
"indicator": "NY.GDP.MKTP.CD",
"length": 20
});
console.log(data);/v1/finance:worldbank/indicatorcountrystringoptionalall. Default IDN.indicatorstringoptionallengthnumberoptionalcurl -X GET "https://api.zpi.web.id/v1/finance:worldbank/indicator?country=IDN&indicator=NY.GDP.MKTP.CD&length=20" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"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$)"
}