Read-only
No forms, accounts, submissions, or write endpoints are exposed on the public static site.
API
PainMap's current public API is a set of static files. They are cacheable, inspectable, and safe for static hosting. Immutable release URLs are the reproducible contract; the latest alias is only a convenience pointer.
Endpoints
| Endpoint | Format | Purpose |
|---|---|---|
| /data/openapi.json | OpenAPI 3.1 JSON | Machine-readable public contract. |
| /v1/releases.json | JSON | Release index and latest alias metadata. |
| /releases/2026-05-31/manifest.json | JSON | Immutable artifact inventory with SHA-256 checksums. |
| /v1/layers.json | JSON | Layer definitions, evidence kinds, units, and ranking modes. |
| /v1/sources.json | JSON | Source and license registry. |
| /data/release-modes.json | JSON | Snapshot and live overlay mode contract with cache and network rules. |
| /v1/places/index.json | JSON | Full release place index with coverage status for boundary-only and measured places. |
| /v1/adm1/index.json | JSON | ADM1 poverty-context overlay index with static-page priority ranks. |
| /v1/coverage.json | JSON | Coverage counts, direct-evidence layer coverage, last release date, and known sparse areas. |
| /v1/places/{place_id}/adm1.json | JSON | Country-scoped ADM1 context rows from the GSAP poverty overlay. |
| /v1/places/{place_id}/neighbors.json | JSON | Release-scoped border neighbors, nearest centroid neighbors, and place discovery links. |
| /ogc/index.json | JSON | Static OGC API - Features-style landing document. |
| /ogc/collections/places/items.json | GeoJSON | Country place features joined to coverage, profile, measurement, and neighbor links. |
| /ogc/collections/places/item-index.json | JSON | Partitioned country feature index for clients that should not download the full OGC collection. |
| /ogc/collections/places/items/{place_id}.json | GeoJSON | Single-country OGC-style GeoJSON feature with coverage, profile, and neighbor links. |
| /v1/places/WLD.json | JSON | World profile rows in the canonical release. |
| /v1/places/BRA.json | JSON | Canonical place profile example for Brazil. |
| /v1/places/IND.json | JSON | Canonical place profile example for India. |
| /data/provenance-registry.json | JSON | Sources, licenses, evidence-kind classes, uncertainty classes, and dataset distributions. |
| /data/place-measurements.json | JSON | Canonical release measurements with numeric values, display values, units, source ids, confidence bounds, release id, and per-row lineage fields. |
| /data/place-measurements.csv | CSV | Spreadsheet-friendly measurements export. |
| /data/places.geojson | GeoJSON | Representative features for atlas clients. |
| /data/gsap-adm1-2023.json | JSON | Vendored World Bank GSAP ADM1 poverty-context source table. |
| /data/dcat.json | DCAT JSON | Catalog metadata for public datasets. |
| /schemas/place-index.schema.json | JSON Schema | Validation schema for the place index. |
| /schemas/adm1-context.schema.json | JSON Schema | Validation schema for the ADM1 context overlay. |
| /schemas/place-measurements.schema.json | JSON Schema | Validation schema for canonical measurements. |
| /schemas/coverage.schema.json | JSON Schema | Validation schema for coverage status. |
| /schemas/release-modes.schema.json | JSON Schema | Validation schema for the snapshot/live release-mode contract. |
| /schemas/ogc-place-features.schema.json | JSON Schema | Validation schema for OGC-style place features. |
| /releases/2026-05-31/diff.json | JSON | Release diff baseline for future release comparisons. |
| /releases/2026-05-31/migration.json | JSON | Release migration notes for schema changes, renamed fields, and layer IDs. |
| /data/analytics-events.json | JSON | Privacy-preserving telemetry event vocabulary. |
| /data/performance-budgets.json | JSON | Field performance budgets for LCP, INP, and CLS. |
| /data/source-freshness.json | JSON | Source review cadence, validation lanes, and scheduled release-candidate freshness workflow. |
| /data/endpoint-smoke.json | JSON | Endpoint smoke-test manifest for static-host checks. |
| /data/ui-smoke.json | JSON | Accessibility and visual smoke-test manifest for core static routes. |