/v1/data
A series time-series for a country
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/sdg-api/v1/data" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sdg-api/v1/data", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sdg-api/v1/data");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/sdg-api/v1/data",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"area": "276",
"data": [
{
"area": "Germany",
"unit": "PER_100000_LIVE_BIRTHS",
"year": 2023,
"value": "3.62022",
"source": "MMEIG estimates available at https://www.who.int/publications/i/item/9789240108462",
"area_code": "276",
"dimensions": {
"Sex": "FEMALE",
"Reporting Type": "G"
},
"value_type": "Float"
},
{
"area": "Germany",
"unit": "PER_100000_LIVE_BIRTHS",
"year": 2022,
"value": "4.03073",
"source": "MMEIG estimates available at https://www.who.int/publications/i/item/9789240108462",
"area_code": "276",
"dimensions": {
"Sex": "FEMALE",
"Reporting Type": "G"
},
"value_type": "Float"
},
{
"area": "Germany",
"unit": "PER_100000_LIVE_BIRTHS",
"year": 2021,
"value": "4.45641",
"source": "MMEIG estimates available at https://www.who.int/publications/i/item/9789240108462",
"area_code": "276",
"dimensions": {
"Sex": "FEMALE",
"Reporting Type": "G"
},
"value_type": "Float"
},
{
"area": "Germany",
"unit": "PER_100000_LIVE_BIRTHS",
"year": 2020,
"value": "4.23313",
"source": "MMEIG estimates available at https://www.who.int/publications/i/item/9789240108462",
"area_code": "276",
"dimensions": {
"Sex": "FEMALE",
"Reporting Type": "G"
},
"value_type": "Float"
},
{
"area": "Germany",
"unit": "PER_100000_LIVE_BIRTHS",
"year": 2019,
"value": "3.96585",
"source": "MMEIG estimates available at https://www.who.int/publications/i/item/9789240108462",
"area_code": "276",
"dimensions": {
"Sex": "FEMALE",
"Reporting Type": "G"
},
"value_type": "Float"
},
{
"area": "Germany",
"unit": "PER_100000_LIVE_BIRTHS",
"year": 2018,
"value": "4.20703",
"source": "MMEIG estimates available at https://www.who.int/publications/i/item/9789240108462",
"area_code": "276",
"dimensions": {
"Sex": "FEMALE",
"Reporting Type": "G"
},
"val
…