Skip to content
GET /v1/country

Totals for a country

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/disease-api

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "country": {
            "flag": "https://disease.sh/assets/img/flags/de.png",
            "iso2": "DE",
            "iso3": "DEU",
            "cases": 38828995,
            "tests": 122332384,
            "active": 405368,
            "deaths": 183027,
            "country": "Germany",
            "updated": 1780881454455,
            "critical": 0,
            "continent": "Europe",
            "recovered": 38240600,
            "population": 83883596,
            "today_cases": 0,
            "today_deaths": 0,
            "today_recovered": 0,
            "cases_per_million": 462891,
            "tests_per_million": 1458359,
            "deaths_per_million": 2182
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:19:56.788Z",
        "request_id": "09b6a1e8-49d0-465c-9ece-8572d3354529"
    },
    "status": "ok",
    "message": "Country retrieved successfully",
    "success": true
}