Skip to main content
POST
Data

Request contract

  • Method and path: POST /apis/v1/who-int/indicators/data
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/who-int/indicators/data
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
indicator_code
string
required

GHO indicator code, e.g. WHOSIS_000001 (life expectancy at birth) or MDG_0000000001 (infant mortality rate). Pattern: ^[A-Za-z0-9_.+-]{1,64}$.

cursor
string

next_cursor from the previous page of the same filters and page_size.

dim1
string[]

Dim1 value codes, e.g. SEX_FMLE or AGEGROUP_YEARS0-4.

dim2
string[]

dim2

dim3
string[]

dim3

page_size
number
default:100

Rows per page; the GHO server caps $top at 1000.

Provider reference: minimum 1; maximum 1000; default 100.

spatial_dim_type
string

Restrict to one spatial level. Omit for all levels; spatial_dim_type on each record says which.

Provider reference: allowed values ["COUNTRY", "REGION", "WORLDBANKINCOMEGROUP", "GLOBAL", "null"].

spatial_dims
string[]

ISO3 country codes (BRA), WHO region codes (AFR), income-group codes (WB_HI) or GLOBAL.

time_from
number

Inclusive first year (TimeDim ge).

Provider reference: minimum 1000; maximum 9999.

time_to
number

Inclusive last year (TimeDim le).

Provider reference: minimum 1000; maximum 9999.

Response

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, ...). Each record keeps the source Id, numeric value with low/high bounds as decimal strings, the display string, comments, data source and modification date; source_updated_at is the indicator's newest modification date. Unknown indicator codes fail with not_found.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.