/v1/countries
All countries, sortable
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/disease-api/v1/countries" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/disease-api/v1/countries", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/disease-api/v1/countries");
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/countries",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"sort": "cases",
"count": 50,
"total": 231,
"countries": [
{
"flag": "https://disease.sh/assets/img/flags/us.png",
"iso2": "US",
"iso3": "USA",
"cases": 111820082,
"tests": 1186851502,
"active": 786167,
"deaths": 1219487,
"country": "USA",
"updated": 1780881454448,
"critical": 940,
"continent": "North America",
"recovered": 109814428,
"population": 334805269,
"today_cases": 0,
"today_deaths": 0,
"today_recovered": 0,
"cases_per_million": 333985,
"tests_per_million": 3544901,
"deaths_per_million": 3642
},
{
"flag": "https://disease.sh/assets/img/flags/in.png",
"iso2": "IN",
"iso3": "IND",
"cases": 45035393,
"tests": 935879495,
"active": 44501823,
"deaths": 533570,
"country": "India",
"updated": 1780881454450,
"critical": 0,
"continent": "Asia",
"recovered": 0,
"population": 1406631776,
"today_cases": 0,
"today_deaths": 0,
"today_recovered": 0,
"cases_per_million": 32016,
"tests_per_million": 665334,
"deaths_per_million": 379
},
{
"flag": "https://disease.sh/assets/img/flags/fr.png",
"iso2": "FR",
"iso3": "FRA",
"cases": 40138560,
"tests": 271490188,
"active": 0,
"deaths": 167642,
"country": "France",
"updated": 1780881454453,
"critical": 0,
"continent": "Europe",
"recovered": 39970918,
"population": 65584518,
"today_cases": 0,
"today_deaths": 0,
"today_recovered": 0,
"cases_per_million": 612013,
"tests_per_million": 4139547,
"deaths_per_million": 2556
},
{
"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,
…