World Health Organization Global Health Observatory — 3,095 indicators with country, region, year and disaggregation filters plus uncertainty intervals.
countriesnot measureddimension-valuesnot measureddimensionsnot measuredindicator-datanot measuredindicatorsnot measuredregionsnot measured/v1/health:who/countries5m cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("health:who", "countries", {
"region": "SEAR"
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/health:who/countries?region=SEAR" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/health:who/countriesWHO Global Health Observatory — the COUNTRY dimension pre-bound, rung 1 (direct). These ISO3 codes are what indicator-data's `country` filter matches on, and each rowregionstringoptionalcurl -X GET "https://api.zpi.web.id/v1/health:who/countries?region=SEAR" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"count": 10,
"items": [
{
"code": "BGD",
"name": "Bangladesh",
"regionCode": "SEAR",
"regionName": "South-East Asia"
},
{
"code": "BTN",
"name": "Bhutan",
"regionCode": "SEAR",
"regionName": "South-East Asia"
},
{
"code": "IND",
"name": "India",
"regionCode": "SEAR",
"regionName": "South-East Asia"
},
{
"code": "LKA",
"name": "Sri Lanka",
"regionCode": "SEAR",
"regionName": "South-East Asia"
},
{
"code": "MDV",
"name": "Maldives",
"regionCode": "SEAR",
"regionName": "South-East Asia"
},
{
"code": "MMR",
"name": "Myanmar",
"regionCode": "SEAR",
"regionName": "South-East Asia"
},
{
"code": "NPL",
"name": "Nepal",
"regionCode": "SEAR",
"regionName": "South-East Asia"
},
{
"code": "PRK",
"name": "Democratic People's Republic of Korea",
"regionCode": "SEAR",
"regionName": "South-East Asia"
}
],
"region": "SEAR",
"provider": "who"
}/v1/health:who/dimension-values/:dimensionWHO Global Health Observatory — valid values for one dimension, rung 1 (direct). An unknown dimension answers 200 with an empty `value[]` rather than a 404, so the emptydimensionstringrequiredin pathcurl -X GET "https://api.zpi.web.id/v1/health:who/dimension-values/COUNTRY" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"count": 234,
"items": [
{
"code": "ABW",
"title": "Aruba",
"dimension": "COUNTRY",
"parentCode": "AMR",
"parentTitle": "Americas",
"parentDimension": "REGION"
},
{
"code": "AFG",
"title": "Afghanistan",
"dimension": "COUNTRY",
"parentCode": "EMR",
"parentTitle": "Eastern Mediterranean",
"parentDimension": "REGION"
},
{
"code": "AGO",
"title": "Angola",
"dimension": "COUNTRY",
"parentCode": "AFR",
"parentTitle": "Africa",
"parentDimension": "REGION"
},
{
"code": "AIA",
"title": "Anguilla",
"dimension": "COUNTRY",
"parentCode": "AMR",
"parentTitle": "Americas",
"parentDimension": "REGION"
},
{
"code": "ALB",
"title": "Albania",
"dimension": "COUNTRY",
"parentCode": "EUR",
"parentTitle": "Europe",
"parentDimension": "REGION"
},
{
"code": "AND",
"title": "Andorra",
"dimension": "COUNTRY",
"parentCode": "EUR",
"parentTitle": "Europe",
"parentDimension": "REGION"
},
{
"code": "ARE",
"title": "United Arab Emirates",
"dimension": "COUNTRY",
"parentCode": "EMR",
"parentTitle": "Eastern Mediterranean",
"parentDimension": "REGION"
},
{
"code": "ARG",
"title": "Argentina",
"dimension": "COUNTRY",
"parentCode": "AMR",
"parentTitle": "Americas",
"parentDimension": "REGION"
}
],
"provider": "who",
"dimension": "COUNTRY"
}/v1/health:who/dimensionsWHO Global Health Observatory — the dimension catalogue, rung 1 (direct). The vocabulary behind every filterable field on indicator-data; the collection has noThis endpoint takes no parameters.
curl -X GET "https://api.zpi.web.id/v1/health:who/dimensions" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"count": 202,
"items": [
{
"code": "ADVERTISINGTYPE",
"title": "SUBSTANCE_ABUSE_ADVERTISING_TYPES"
},
{
"code": "AGEGROUP",
"title": "Age Group"
},
{
"code": "ALCOHOLTYPE",
"title": "Beverage Types"
},
{
"code": "AMRGLASSCATEGORY",
"title": "AMR GLASS Category"
},
{
"code": "ANTIBIOTIC",
"title": "Antibiotic"
},
{
"code": "ARCHIVE",
"title": "Archive date"
},
{
"code": "ASSISTIVETECHBARRIER",
"title": "Barriers to accessing assistive products"
},
{
"code": "ASSISTIVETECHFUNDING",
"title": "Funding for assistive tech products"
}
],
"provider": "who"
}/v1/health:who/indicator-data/:indicatorWHO Global Health Observatory — observations for one indicator, rung 1 (direct). Every indicator code is its own OData collection, so the code goes in the path and an unknownindicatorstringrequiredin pathcountrystringoptionalregionstringoptionalspatialDimTypeenumoptionalyearnumberoptionalyearFromnumberoptionalyearTonumberoptionaldim1stringoptionaldim2stringoptionaldim3stringoptionalorderByenumoptionalorderenumoptionalpagenumberoptionallimitnumberoptionalcurl -X GET "https://api.zpi.web.id/v1/health:who/indicator-data/WHOSIS_000001?country=IDN®ion=SEAR&spatialDimType=COUNTRY&year=2019&yearFrom=2010&yearTo=2020&dim1=SEX_BTSX&dim2=AGEGROUP_YEARS15-19&dim3=RESIDENCEAREATYPE_RUR&orderBy=year&order=desc&page=1&limit=20" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"page": 1,
"count": 0,
"items": [],
"limit": 3,
"total": 0,
"hasMore": false,
"nextPage": null,
"provider": "who",
"indicator": "WHOSIS_000001"
}/v1/health:who/indicatorsWHO Global Health Observatory — the indicator catalogue (3,095 rows), rung 1 (direct). OData v4 over an Azure CDN edge, no key. $filter is built here from named parameters only:searchstringoptionalcodestringoptionalpagenumberoptionallimitnumberoptionalcurl -X GET "https://api.zpi.web.id/v1/health:who/indicators?search=malaria&code=WHOSIS_000001&page=1&limit=20" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"code": "WHOSIS_000001",
"page": 1,
"count": 0,
"items": [],
"limit": 3,
"total": 0,
"search": "malaria",
"hasMore": false,
"nextPage": null,
"provider": "who"
}/v1/health:who/regionsWHO Global Health Observatory — the REGION dimension pre-bound, rung 1 (direct). Region rows are top-level, so ParentCode/ParentTitle arrive null here rather than absent.This endpoint takes no parameters.
curl -X GET "https://api.zpi.web.id/v1/health:who/regions" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"count": 43,
"items": [
{
"code": "AFR",
"name": "Africa",
"dimension": "REGION",
"parentCode": null,
"parentName": null
},
{
"code": "AMR",
"name": "Americas",
"dimension": "REGION",
"parentCode": null,
"parentName": null
},
{
"code": "EMR",
"name": "Eastern Mediterranean",
"dimension": "REGION",
"parentCode": null,
"parentName": null
},
{
"code": "EUR",
"name": "Europe",
"dimension": "REGION",
"parentCode": null,
"parentName": null
},
{
"code": "GBD_REG14_AFRD",
"name": "Africa region, stratum D (AFR D)",
"dimension": "REGION",
"parentCode": null,
"parentName": null
},
{
"code": "GBD_REG14_AFRE",
"name": "Africa region, stratum E(AFR E)",
"dimension": "REGION",
"parentCode": null,
"parentName": null
},
{
"code": "GBD_REG14_AMRA",
"name": "Americas region, stratum A (AMR A)",
"dimension": "REGION",
"parentCode": null,
"parentName": null
},
{
"code": "GBD_REG14_AMRB",
"name": "Americas region, stratum B (AMR B)",
"dimension": "REGION",
"parentCode": null,
"parentName": null
}
],
"provider": "who"
}