Dimensions
curl --request POST \
--url https://api.aisa.one/apis/v1/who-int/indicators/dimensions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dimension_code": "SEX"
}
'import requests
url = "https://api.aisa.one/apis/v1/who-int/indicators/dimensions"
payload = { "dimension_code": "SEX" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dimension_code: 'SEX'})
};
fetch('https://api.aisa.one/apis/v1/who-int/indicators/dimensions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/who-int/indicators/dimensions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dimension_code' => 'SEX'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/who-int/indicators/dimensions"
payload := strings.NewReader("{\n \"dimension_code\": \"SEX\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/who-int/indicators/dimensions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dimension_code\": \"SEX\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/who-int/indicators/dimensions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dimension_code\": \"SEX\"\n}"
response = http.request(request)
puts response.read_body{
"complete": true,
"dimension_code": "SEX",
"license": {
"attribution": "Source: World Health Organization, Global Health Observatory (https://www.who.int/data/gho). Licence: CC BY-NC-SA 3.0 IGO.",
"name": "CC BY-NC-SA 3.0 IGO",
"restrictions": [
"non-commercial",
"share-alike",
"attribution"
],
"terms_url": "https://www.who.int/about/policies/publishing/data-policy/terms-and-conditions",
"url": "https://creativecommons.org/licenses/by-nc-sa/3.0/igo/"
},
"next_cursor": null,
"records": [
{
"code": "SEX_BTSX",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Both sexes"
},
{
"code": "SEX_FMLE",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Female"
},
{
"code": "SEX_MLE",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Male"
},
{
"code": "SEX_NOA",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Not applicable"
}
],
"retrieved_at": "2026-09-15T03:50:00Z",
"schema_version": "1.0.0",
"source_updated_at": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"total_count": 4,
"upstream_requests": 1,
"warnings": []
}WHO Global Health Observatory
Dimensions
List the values of one GHO dimension (COUNTRY, REGION, WORLDBANKINCOMEGROUP, SEX, AGEGROUP, …): code, title and parent (countries carry their WHO region). Omit dimension_code to list the dimensions themselves. Unknown dimension codes fail with not_found.
POST
https://api.aisa.one
/
apis
/
v1
/
who-int
/
indicators
/
dimensions
Dimensions
curl --request POST \
--url https://api.aisa.one/apis/v1/who-int/indicators/dimensions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dimension_code": "SEX"
}
'import requests
url = "https://api.aisa.one/apis/v1/who-int/indicators/dimensions"
payload = { "dimension_code": "SEX" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dimension_code: 'SEX'})
};
fetch('https://api.aisa.one/apis/v1/who-int/indicators/dimensions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/who-int/indicators/dimensions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dimension_code' => 'SEX'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/who-int/indicators/dimensions"
payload := strings.NewReader("{\n \"dimension_code\": \"SEX\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/who-int/indicators/dimensions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dimension_code\": \"SEX\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/who-int/indicators/dimensions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dimension_code\": \"SEX\"\n}"
response = http.request(request)
puts response.read_body{
"complete": true,
"dimension_code": "SEX",
"license": {
"attribution": "Source: World Health Organization, Global Health Observatory (https://www.who.int/data/gho). Licence: CC BY-NC-SA 3.0 IGO.",
"name": "CC BY-NC-SA 3.0 IGO",
"restrictions": [
"non-commercial",
"share-alike",
"attribution"
],
"terms_url": "https://www.who.int/about/policies/publishing/data-policy/terms-and-conditions",
"url": "https://creativecommons.org/licenses/by-nc-sa/3.0/igo/"
},
"next_cursor": null,
"records": [
{
"code": "SEX_BTSX",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Both sexes"
},
{
"code": "SEX_FMLE",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Female"
},
{
"code": "SEX_MLE",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Male"
},
{
"code": "SEX_NOA",
"dimension_code": "SEX",
"observed_at_ms": 1789442400000,
"parent_code": null,
"parent_dimension": null,
"parent_title": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"title": "Not applicable"
}
],
"retrieved_at": "2026-09-15T03:50:00Z",
"schema_version": "1.0.0",
"source_updated_at": null,
"source_url": "https://ghoapi.azureedge.net/api/DIMENSION/SEX/DimensionValues",
"total_count": 4,
"upstream_requests": 1,
"warnings": []
}Request contract
- Method and path: POST /apis/v1/who-int/indicators/dimensions
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/who-int/indicators/dimensions
{
"operationId": "who-int.indicators.dimensions",
"method": "POST",
"path": "/apis/v1/who-int/indicators/dimensions",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"dimension_code": "SEX"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"dimension_code": {
"description": "Dimension code from /api/Dimension. Omit or null to list all dimensions. Pattern: ^[A-Za-z0-9_.+-]{1,64}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
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
Body
application/json
Response
List the values of one GHO dimension (COUNTRY, REGION, WORLDBANKINCOMEGROUP, SEX, AGEGROUP, ...): code, title and parent (countries carry their WHO region). Omit dimension_code to list the dimensions themselves. Unknown dimension codes fail with not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
complete | boolean | |
dimension_code | string | |
license | object | Source-defined WHO metadata. |
next_cursor | object | Dimension value sets are returned whole (largest is COUNTRY, 234 rows). |
records | object[] | |
retrieved_at | string | |
schema_version | string | |
source_updated_at | object | |
source_url | string | |
total_count | number | |
upstream_requests | number | |
warnings | string[] |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.