Yerevan for People API
This API has two parts. A public read API open to everyone with no key — browse published reports, also available as GeoJSON, CSV and NDJSON for analytics. And a partner API for submitting reports programmatically, authenticated with the X-API-Key header — create your own key in the dashboard. The reference below is generated from the live OpenAPI specification.
Quick start
No key needed. Copy, run, done — every endpoint lives under https://yfp.am/api/v1/public.
List the latest public reports (JSON)
curl https://yfp.am/api/v1/public/reportsFilter — cases sent to Road Control
curl "https://yfp.am/api/v1/public/reports?destination=ROAD_CONTROL&status=SUBMITTED"Open in a map (GeoJSON — QGIS, Mapbox, geojson.io)
https://yfp.am/api/v1/public/reports.geojsonDownload everything as a CSV
curl -L "https://yfp.am/api/v1/public/reports.csv?pageSize=200" -o reports.csvAggregate counters
curl https://yfp.am/api/v1/public/reports/stats