All endpoints are static JSON files rebuilt nightly, served from the CDN with CORS enabled. No key needed. Please cache responses.
Endpoints
| Path | Returns |
|---|---|
/api/v1/index.json | Version, generated time, licence, endpoint list |
/api/v1/countries.json | Countries with ISO codes and available indicators |
/api/v1/indicators.json | Indicator codes, labels, units, industries, source URLs |
/api/v1/{country}.json | All series for one country |
/api/v1/{country}/{indicator}.json | One time series: [[year, value], …] |
Countries: india usa china uk germany japan brazil indonesia nigeria uae
Example
curl https://govpulse.pages.dev/api/v1/india/NY.GDP.MKTP.KD.ZG.json
Licence
Values are from the World Bank World Development Indicators under CC BY 4.0 (opens in new tab). Attribute as: "Source: World Bank WDI, via GovPulse". Responses include a license and attribution field. Data only from openly licensed sources is published through the API.
Stability
v1 field names will not change without a new version path. No uptime guarantee.