# World Bank โ€” Zapi reference > Deret indikator pembangunan Bank Dunia per negara โ€” PDB, inflasi, populasi, dan ribuan lainnya. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/finance/worldbank - Endpoint catalog: https://zpi.web.id/category/finance - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## World Bank **Category:** finance ยท **Slug:** `worldbank` **Detail page:** https://zpi.web.id/api/finance/worldbank Deret indikator pembangunan Bank Dunia per negara โ€” PDB, inflasi, populasi, dan ribuan lainnya. **Tags:** worldbank, macro, gdp, indicator, finance ### Indicator Series Deret satu indikator untuk satu negara. Tahun yang belum dilaporkan tetap dikirim dengan nilai null. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/finance:worldbank/indicator` - **Cache TTL:** 86400s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `country` | string | query | no | ISO country code, or `all`. Default IDN. | | `indicator` | string | query | no | World Bank indicator id. Default NY.GDP.MKTP.CD (GDP, current US$). | | `length` | number | query | no | Rows to return (default 20, max 500) | **cURL:** ```bash curl "https://api.zpi.web.id/v1/finance:worldbank/indicator?country=IDN&indicator=NY.GDP.MKTP.CD&length=20" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/finance:worldbank/indicator?country=IDN&indicator=NY.GDP.MKTP.CD&length=20", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/finance:worldbank/indicator?country=IDN&indicator=NY.GDP.MKTP.CD&length=20", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "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$)" } ``` --- _Generated: 2026-08-08T12:12:43.489Z_