Public research API
Every response uses { meta, data }. Only published and verified incidents are exposed — never unverified leads, community tips, internal review notes or reviewer identities. Requests are rate limited to 60 per minute per client.
/api/admin/* require an NCSO administrator bearer token; cron endpoints require CRON_SECRET.Endpoints
GET /api/v1/incidents
Paginated verified incidents
Query: state, lga, zone, category, from, to, limit (1–100), offset
GET /api/v1/states
36 states + FCT with zone and verified casualty aggregates
Query: none
GET /api/v1/summary
National and per-zone overview, top LGAs and category breakdown
Query: days (7, 30, 90, 365)
GET /api/v1/incidents/:id
One incident with evidence chain, location, electoral fields and citation
Query: none
GET /api/v1/zones
Verified totals for each geopolitical zone
Query: none
GET /api/v1/zones/:zone
One zone with state and category breakdown
Query: none
GET /api/v1/lgas
LGAs with verified incident counts
Query: state
GET /api/v1/lgas/:name
One LGA with recent incident IDs and casualty totals
Query: none
GET /api/v1/trends
Monthly documented incident and casualty series
Query: none
GET /api/v1/electoral
Electoral violence records with structured election evidence
Query: cycle, stage, type, state
GET /sitemap.xml
Generated XML sitemap of all indexable public pages
Query: none
GET /robots.txt
Admin-managed crawler rules and sitemap reference
Query: none
GET /llms.txt
Generative-engine discovery summary with entity facts and evidence links
Query: none
Methodology & citation
Coverage is partial and based on cited reports. Missing casualty figures are null, not zero. Absence of reports does not establish peace. API summary windows are relative to the request date; portal windows are relative to the newest documented record, shown in the “Analysis as of” notice. Please cite the Nigeria Conflict & Security Observatory (NCSO), Conflict Link, with the access date.
Examples
Replace https://your-host with the public base URL of this deployment.
curl "https://your-host/api/v1/incidents?state=AD&limit=25"
import requests
r = requests.get("https://your-host/api/v1/summary", params={"days": 30})
print(r.json()["data"]["national"])
fetch("/api/v1/states").then(r => r.json()).then(console.log)