GET data/{countryId}
dhsprogram.com:dhs-program-api
Summary: Get indicator data for country
Operation ID: getData
Auth: unknown
Operation ID: getData
Auth: unknown
Description
Get time series data for specific indicators in a country.
Parameters (5)
countryId
(string, path, required)
Country code (e.g., KE for Kenya)
indicator
(string, query, required)
Indicator ID (e.g., FE_FRTR_W_A15 for fertility rate)
page
(integer, query, optional, default: 1)
Page number
perpage
(integer, query, optional, default: 100)
Results per page
surveyIds
(string, query, optional)
Filter by survey IDs (comma-separated)
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Get fertility rate data for Kenya | curl |
https://www.dhsprogram.com/data/KE?indicator=FE_FRTR_W_A15 |
|
| Get data for Nigeria with pagination | curl |
https://www.dhsprogram.com/data/NG?indicator=FE_FRTR_W_A15&page=1&perpage=50 |
|
| Get data for Tanzania filtered by specific survey | curl |
https://www.dhsprogram.com/data/TZ?indicator=FE_FRTR_W_A15&surveyIds=TZ2015DHS |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 09:17:29.716465 | 404 | 441ms | |
| 2026-03-23 09:15:01.037916 | 404 | 446ms | |
| 2026-03-23 09:13:39.672028 | 404 | 444ms |