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/stats | Lake totals, year range, and source count. | curl https://bdpolicylab.com/api/lake/stats |
| 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://bdpolicylab.com/api/lake/search?q=inflation&limit=10" |
| GET | /api/lake/series/{name} | Series metadata and the latest 25 observations. | curl https://bdpolicylab.com/api/lake/series/wb_fp_cpi_totl_zg |
| GET | /api/lake/points/{name} | The full series as JSON, with optional start_year and end_year filters. | curl "https://bdpolicylab.com/api/lake/points/wb_fp_cpi_totl_zg?start_year=2000" |
| GET | /api/lake/points/{name}.csv | The same observations as CSV, with a provenance header and optional year filters. | curl -O https://bdpolicylab.com/api/lake/points/wb_fp_cpi_totl_zg.csv |
| GET | /api/lake/catalog.csv | The complete series catalog with source, unit, frequency, and coverage fields. | curl -O https://bdpolicylab.com/api/lake/catalog.csv |
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 catalog rather than crawling search requests. The API has no uptime guarantee.
Source: BDPolicyLab data lake API and each record's named origin publisher