Ir al contenido
GET /v1/global

Worldwide totals

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/disease-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "cases": 704753890,
        "scope": "global",
        "tests": 7026505313,
        "active": 22123398,
        "deaths": 7010681,
        "updated": 1780881454446,
        "critical": 34794,
        "recovered": 675619811,
        "population": 7944935131,
        "today_cases": 0,
        "today_deaths": 0,
        "today_recovered": 790,
        "cases_per_million": 90413,
        "tests_per_million": 884400.59,
        "deaths_per_million": 899.4
    },
    "meta": {
        "timestamp": "2026-06-08T01:19:56.886Z",
        "request_id": "aba17492-39bf-40ee-8733-a00e3cbf33ef"
    },
    "status": "ok",
    "message": "Global totals retrieved successfully",
    "success": true
}