Developer documentation
SiPAT API
A public, developer-facing interface for exploring Philippine government agencies, audit findings, and transparency records.
The versioned public API is being designed. These planned contracts are not live yet and should not be used for production integrations.
Planned endpoints
The v1 endpoints are planned as read-only REST resources returning JSON and stable canonical IDs.
/api/v1/agenciesRetrieve monitored agencies with calculated scores.
/api/v1/agencies/:idGet an agency profile, score, and finding trends.
/api/v1/findingsSearch and filter structured audit findings.
/api/v1/documents/:idRetrieve document metadata and file details.
Live internal endpoint
The application currently exposes one internal endpoint. It proxies the GADM Philippines v2 boundary GeoJSON used by the heatmap and caches it for 24 hours.
/api/boundariesAdministrative boundary GeoJSONResponse example
Target shape for a structured finding response.
{
"id": 123,
"title": "Unliquidated Cash Advances Granted to Local Officials",
"severity": "HIGH",
"category": "Cash and Financial Controls",
"is_validated": true,
"agency": { "id": 12, "agency_name": "Pulilan, Bulacan", "canonical_url": "/agencies/12" },
"document": { "id": 45, "year": 2024, "canonical_url": "/documents/45" }
}Status and feedback
The API contract will evolve before launch. For questions or suggestions, use the feedback link in the footer.
