Public API
Integrate Khountou scores, reports and verifications into your applications, dashboards and research.
Overview
The Khountou REST API gives read access to the platform's public data. It is free for reasonable non-commercial use.
Base URL
https://api.khountou.sn/v1
- JSON responses, UTF-8 encoding.
- Authentication with an API key in the Authorization header (Bearer).
- Pagination with the page and limit parameters (100 maximum).
- Editorial texts in French or English with the lang=fr|en parameter.
Endpoints
Endpoints marked with a padlock require a partner key.
| Method | Path | Description |
|---|---|---|
| GET | /administrations | Ranked list of administrations (filters: region, sector, level). |
| GET | /administrations/{slug} | Profile, score details and indicators of an administration. |
| GET | /khountous | Published citizen reports (filters: region, category, status, period). |
| GET | /khountous/{slug} | Detail of a report, its timeline and the official response. |
| GET | /verifications | Fact-checks with verdict and evidence level. |
| GET | /regions | Indicators of the 14 regions. |
| GET | /datasets/{id} | Download an open dataset (format=csv|json|xlsx). |
| POST | /khountous | Submit a report on behalf of a partner (partner key required). |
Example
The two best-rated administrations of the Dakar region.
curl -H "Authorization: Bearer <API_KEY>" \
"https://api.khountou.sn/v1/administrations?region=dakar&limit=2"{
"data": [
{
"slug": "onas",
"name": "Office National de l'Assainissement du Sénégal",
"score": 88,
"responseRate": 89,
"avgDelayDays": 2.1
},
{ "slug": "senelec", "name": "Senelec", "score": 82, "responseRate": 84, "avgDelayDays": 2.8 }
],
"meta": { "page": 1, "pageSize": 2, "total": 118 }
}Usage limits
Quotas protect the stability of the service.
Anonymous
60 requests / hour
Free key
1,000 requests / day
Partner
20,000 requests / day
Beyond the quota, the API returns code 429 (Too Many Requests). The X-RateLimit-* headers show the remaining quota.
Get your API key
Describe your project in a few lines: we reply within 48 working hours.

