/v1/meta
Service description & endpoints
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/disease-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/disease-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/disease-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"service": "disease-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/global": "Worldwide totals.",
"GET /v1/states": "US states (all, or state=California).",
"GET /v1/country": "Totals for a country (country=germany).",
"GET /v1/vaccine": "Vaccine-coverage timeline (global, or country=).",
"GET /v1/continent": "Totals for a continent (continent=Europe).",
"GET /v1/countries": "All countries (sort=cases|deaths|tests|…, limit=).",
"GET /v1/continents": "All continents.",
"GET /v1/historical": "Historical case/death timeline (country=, lastdays=)."
},
"description": "Global public-health data via disease.sh: worldwide and per-country, per-continent and per-US-state COVID-19 totals, the full sortable country list, vaccine-coverage timelines and historical case/death timelines. Real data, no key."
},
"meta": {
"timestamp": "2026-06-08T01:19:58.110Z",
"request_id": "92814d81-e65d-4307-acf2-649f704a4ab0"
},
"status": "ok",
"message": "Meta",
"success": true
}