Skip to content
GET /v1/data

A country time-series

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/who-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/who-api/v1/data" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/who-api/v1/data", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/who-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/who-api/v1/data",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "data": [
            {
                "low": 82.85917696,
                "high": 82.92056694,
                "year": 2021,
                "value": 82.85918032,
                "region": "Europe",
                "country": "DEU",
                "display": "82.9 [82.9-82.9]",
                "dimension": "SEX_FMLE",
                "country_type": "COUNTRY",
                "dimension_type": "SEX"
            },
            {
                "low": 78.09050005,
                "high": 78.20850529,
                "year": 2021,
                "value": 78.14950267,
                "region": "Europe",
                "country": "DEU",
                "display": "78.1 [78.1-78.2]",
                "dimension": "SEX_MLE",
                "country_type": "COUNTRY",
                "dimension_type": "SEX"
            },
            {
                "low": 80.48998607,
                "high": 80.55839127,
                "year": 2021,
                "value": 80.49140555,
                "region": "Europe",
                "country": "DEU",
                "display": "80.5 [80.5-80.6]",
                "dimension": "SEX_BTSX",
                "country_type": "COUNTRY",
                "dimension_type": "SEX"
            },
            {
                "low": 80.73700425,
                "high": 80.85575031,
                "year": 2020,
                "value": 80.79637728,
                "region": "Europe",
                "country": "DEU",
                "display": "80.8 [80.7-80.9]",
                "dimension": "SEX_BTSX",
                "country_type": "COUNTRY",
                "dimension_type": "SEX"
            },
            {
                "low": 83.0242097,
                "high": 83.13950564,
                "year": 2020,
                "value": 83.08185767,
                "region": "Europe",
                "country": "DEU",
                "display": "83.1 [83.0-83.1]",
                "dimension": "SEX_FMLE",
                "country_type": "COUNTRY",
                "dimension_type": "SEX"
            },
            {
                "low": 78.46210017,
                "high": 78.56945659,
                "year": 2020,
                "value": 78.51577838,
                "region": "Europe",
                "country": "DEU",
                "display": "78.5 [78.5-78.6]",
                "dimension": "SEX_MLE",
                "country_type": "COUNTRY",
                "dimension_type": "SEX"
            },
            {
                "low": 78.68488122,
                "high": 78.81350048,
                "year": 2019,
                "value": 78.74919085,
                "region": "Europe",
                "country": "DEU",
                "display": "78.7 [78.7-78.8]",
                "dimension": "SEX_MLE",
                "country_type": "COUNTRY",
                "dimension_type": "SEX"
            },
            {
                "low": 80.91390453,
                "high": 81.03330873,
      
…