API
A stable interface for data and metadata.
Current public endpoints use fixture data and require no authentication. Production will add keys, quotas, and versioning without changing the core structure.
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/catalog?q=reserves&source=BCB | Search the catalog |
| GET | /api/series/reserves | Retrieve metadata |
| GET | /api/series/reserves/observations?from=2024-01-01 | Retrieve observations |
| GET | /api/series/reserves/vintages | List vintages |
| GET | /api/sources | List sources |
| GET | /api/coverage | Inspect coverage |
| GET | /api/calendar?source=BCB&status=expected | Inspect the release calendar |
curl
curl "https://boliviadb.com/api/series/reserves/observations?from=2024-01-01"JSON response
{
"data": [
{
"seriesId": "reserves",
"period": "2026-06-01",
"value": 3310,
"status": "provisional",
"vintageDate": "2026-07-10"
}
],
"meta": { "fixture": true, "count": 1 }
}Conventions
Dates
ISO 8601 (YYYY-MM-DD)
Missing values
null
Frequencies
daily, weekly, monthly, quarterly, annual
Errors
JSON with error code and HTTP status