Next steps
Open data
Start with a series
{source}_{indicator}. For example,wb_fp_cpi_totl_zg identifies the World Bank CPI inflation series.| Method | Endpoint | Returns | Example |
|---|---|---|---|
| GET | /api/lake/statsLake totals, year range, and source count. curl https:/ | Lake totals, year range, and source count. | curl https:/ |
| GET | /api/lake/search?q={term}&limit={n}Full-text series search. The query must contain at least two characters; limit is capped at 200. curl "https:/ | Full-text series search. The query must contain at least two characters; limit is capped at 200. | curl "https:/ |
| GET | /api/lake/series/{name}Series metadata and the latest 25 observations. curl https:/ | Series metadata and the latest 25 observations. | curl https:/ |
| GET | /api/lake/points/{name}The full series as JSON, with optional start_year and end_year filters. curl "https:/ | The full series as JSON, with optional start_year and end_year filters. | curl "https:/ |
| GET | /api/lake/points/{name}.csvThe same observations as CSV, with a provenance header and optional year filters. curl -O https:/ | The same observations as CSV, with a provenance header and optional year filters. | curl -O https:/ |
| GET | /api/lake/catalog.csvThe complete series catalogue with source, unit, frequency, and coverage fields. curl -O https:/ | The complete series catalogue with source, unit, frequency, and coverage fields. | curl -O https:/ |
Use and citation
The API republishes primary-source records under each publisher's terms. Cite the original institution in downstream work. For bulk use, download the catalogue rather than crawling search requests. The API has no uptime guarantee.
Source: BDPolicyLab data lake API and each record's named origin publisher