Open data
Open data API
Every dataset on this site as free JSON, with the official sources it came from.
How to use it
No key or sign-up. Send a GET request; responses are JSON and can be read from any website (CORS is open). The list of datasets is at /api/v1.
curl https://www.bettermarikina.org/api/v1/barangaysEach response has the same shape:
{
"id": "barangays",
"license": { "name": "CC BY 4.0", ... },
"meta": { "title", "asOf", "sources": [{ "id", "tier", "url", "retrievedAt", "covers" }], "notes" },
"data": ...
}Datasets
| Endpoint | What it has | As of | Sources |
|---|---|---|---|
/api/v1/barangays | The 16 barangays: PSGC code, district, population, land area, Punong Barangay, council where published | 2024-07-01 | 11 |
/api/v1/city-profile | City profile: classification, income class, land area, population, legal basis | 2024-07-01 | 6 |
/api/v1/officials | Elected city officials, 2025-2028 | 2026-10-19 | 4 |
/api/v1/services | 42 city services with fees, processing times and requirements from the Citizen's Charter, plus the charter PDF index | 2022-12-31 | 2 |
/api/v1/facilities | Public schools, higher education institutions and health facilities | 2026-10-19 | 5 |
/api/v1/directory | Hotlines and office phone numbers | 2026-10-19 | 1 |
/api/v1/drrm | Marikina River alarm thresholds, hazard maps and emergency services | 2026-10-19 | 7 |
/api/v1/finance | Annual budgets, receipts and expenditures, debt, SEF, 20% NTA and LDRRMF | 2026-03-31 | 6 |
/api/v1/statistics | Population, households, CMCI scores and business counts | 2025-12-31 | 2 |
/api/v1/ordinances | City ordinances as listed on the Full Disclosure Portal | 2026-10-19 | 1 |
/api/v1/resolutions | City resolutions as listed on the Full Disclosure Portal | 2026-10-19 | 1 |
/api/v1/transparency | COA audit reports on the city, and the status of our Freedom of Information requests | 2026-11-03 | 2 |
/api/v1/dpwh-2027 | DPWH FY2027 budget lines that name Marikina City (snapshot of the BetterGov.PH Budget API) | 2026-11-02 | 1 |
Before you use the data
- Check the source. Every dataset lists its sources in
meta.sources. Tier 1 is an official government source, tier 2 an official but indirect one, tier 3 secondary. Readmeta.notesfor gaps and known differences. - Missing values are
null. We publish a value only after checking it against a source, sonullmeans "not yet verified", not zero. - It is a snapshot. The files update when the site is redeployed. Use
meta.asOfand each source'sretrievedAtto see how current a figure is. - Not an official city service. BetterMarikina is a volunteer project. For transactions, use marikina.gov.ph.
License
The data is shared under CC BY 4.0. Credit "BetterMarikina (bettermarikina.org), from the official sources listed in meta.sources". Found an error? Open an issue on GitHub.
