Developers
Every published figure on DataNigeria is available through a simple API, as JSON or CSV, with its source, version and licence in each row. The endpoints are documented on the Data and API page.
Loading your account…
Limits
| Access | Requests a day |
|---|---|
| Without a key | 500 per network address |
| Free API key | 10,000 per key |
| Partner or enterprise | Agreed with our team |
Limits reset at midnight UTC. Each response includes X-RateLimit-Limit and X-RateLimit-Remaining headers. The indicator list endpoint is not counted.
Using your key
curl -H "x-api-key: YOUR_KEY" \ "https://datanigeria.ng/api/v1/observations?indicator=inflation&geo=nigeria"
Keep keys private. If a key is exposed, revoke it and create a new one. Figures keep the licence of their original source, shown in each row and on the sources page.