How to hit the disease.sh API

disease.sh at https://disease.sh/v3 aggregates COVID-19 statistics globally and by country from public sources.

Authentication

None — no key, no signup. Every example runs as-is.

Full reference: https://disease.sh/docs/

Global totals

curl https://disease.sh/v3/covid-19/all
Run in PostTaco
Example response (trimmed)
{
  "updated": 1790197895356,
  "cases": 704753890,
  "todayCases": 0,
  "deaths": 7010681,
  "todayDeaths": 0,
  "recovered": 675619811,
  "todayRecovered": 790,
  "active": 22123398,
  "critical": 34794,
  "casesPerOneMillion": 90413,
  "deathsPerOneMillion": 899.4,
  "tests": 7026505313,
  "testsPerOneMillion": 884400.59,
  "population": 7944935131,
  "oneCasePerPeople": 0
}

One country

curl https://disease.sh/v3/covid-19/countries/japan
Run in PostTaco
Example response (trimmed)
{
  "updated": 1790197895372,
  "country": "Japan",
  "countryInfo": {
    "_id": 392,
    "iso2": "JP",
    "iso3": "JPN",
    "lat": 36,
    "long": 138,
    "flag": "https://disease.sh/assets/img/flags/jp.png"
  },
  "cases": 33803572,
  "todayCases": 0,
  "deaths": 74694,
  "todayDeaths": 0,
  "recovered": 0,
  "todayRecovered": 0,
  "active": 33728878,
  "critical": 0,
  "casesPerOneMillion": 269169,
  "deathsPerOneMillion": 595,
  "tests": 100414883,
  "testsPerOneMillion": 799578
}