WHO Global Health Observatory · Data
who-int/indicators/dataSearch public records with WHO Global Health Observatory · Data from Alexandria through one Spiral API key. Fetch one page of observations for a GHO indicator, filtered by spatial type (COUNTRY, REGION, WORLDBANKINCOMEGROUP, GLOBAL), ISO3/region codes, year range and Dim1/Dim2/Dim3 codes (sex, age group, ...). It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
indicator_code required | text | — | GHO indicator code, e.g. WHOSIS_000001 (life expectancy at birth) or MDG_0000000001 (infant mortality rate). Pattern: ^[A-Za-z0-9_.+-]{1,64}$. |
dim1 | list | — | Dim1 value codes, e.g. SEX_FMLE or AGEGROUP_YEARS0-4. |
dim2 | list | — | dim2 |
dim3 | list | — | dim3 |
cursor | text | — | next_cursor from the previous page of the same filters and page_size. |
time_to | number 1000 to 9999 | — | Inclusive last year (TimeDim le). |
page_size | number 1 to 1000 | 100 | Rows per page; the GHO server caps $top at 1000. |
time_from | number 1000 to 9999 | — | Inclusive first year (TimeDim ge). |
spatial_dims | list | — | ISO3 country codes (BRA), WHO region codes (AFR), income-group codes (WB_HI) or GLOBAL. |
spatial_dim_type | one of COUNTRY, REGION, WORLDBANKINCOMEGROUP, GLOBAL, null | — | Restrict to one spatial level. Omit for all levels; spatial_dim_type on each record says which. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "who-int/indicators/data",
"input": {
"indicator_code": "<indicator_code>"
}
}'Frequently asked questions
How much does WHO Global Health Observatory · Data cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use WHO Global Health Observatory · Data through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "who-int/indicators/data"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use WHO Global Health Observatory · Data?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use WHO Global Health Observatory · Data?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.