← Vetenskap & rymd

COVID-19 per land

GET /covid/:country

COVID-19 statistics for a specifik land inklusive total and today's cases/deaths, recovery kurs, testing kurs, per-million mätvärden, and land flag. Användbart för epidemiological forskning, public health instrumentpaneler, and historisk analysis.

Parametrar

country obligatorisk

Country name or ISO code

Exempelförfrågningar

Grundläggande användning
curl https://nordapi.ee/api/v1/covid/norway
Norway's COVID data
curl https://nordapi.ee/api/v1/covid/norway
United States
curl https://nordapi.ee/api/v1/covid/usa
Japan
curl https://nordapi.ee/api/v1/covid/japan

Livesvar

{
  "data": {
    "active": 0,
    "cases": 1509732,
    "cases_per_million": 273930,
    "code": "NO",
    "country": "Norway",
    "critical": 0,
    "deaths": 6638,
    "deaths_per_million": 1204,
    "flag": "https://disease.sh/assets/img/flags/no.png",
    "population": 5511370,
    "recovered": 1503094,
    "tests": 11002430,
    "today_cases": 0,
    "today_deaths": 0
  },
  "success": true
}