GET all

disease.sh:covid-19-api-disease.sh

Summary: Get global COVID-19 statistics
Operation ID: getAllData
Auth: none

Returns comprehensive global COVID-19 statistics as a single object. This is the starting point for understanding the worldwide pandemic impact. The response includes total confirmed cases, deaths, recoveries, active cases, testing metrics, and per-capita calculations. Unlike the /countries endpoint which returns data broken down by nation, this endpoint aggregates everything into global totals. Use this when you need a high-level snapshot of worldwide COVID-19 metrics without needing to sum individual country data.

Original spec description

Returns worldwide COVID-19 data including total cases, deaths, recovered, active cases, and more.

Usage Tips

- The `yesterday` parameter returns the previous day's data, useful for comparing trends - `twoDaysAgo` can be combined with `yesterday` to see day-over-day changes - The `updated` field is a Unix timestamp in milliseconds - convert it for human-readable dates - Per-capita metrics (casesPerOneMillion, etc.) make it easy to compare impact across different population sizes

Parameters (3)

allowNull (string, query, optional)

Allow null values in response

Constraints: {'enum': ['true', 'false']}

twoDaysAgo (string, query, optional)

Include data from two days ago

Constraints: {'enum': ['true', 'false', '1', '0']}

yesterday (string, query, optional)

Include yesterday's data

Constraints: {'enum': ['true', 'false', '1', '0']}

Examples (3)

TitleTypeURLAction
Get current global COVID-19 statistics curl https://disease.sh/v3/covid-19/all
Get yesterday's global COVID-19 statistics curl https://disease.sh/v3/covid-19/all?yesterday=true
Get global statistics from two days ago curl https://disease.sh/v3/covid-19/all?twoDaysAgo=true

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:12:11.554567 200 96ms
2026-03-23 09:47:40.999539 200 116ms
2026-03-23 09:25:15.329023 200 109ms

Response Changes

WhenOldNew
2026-03-23 09:47:40.999539 4c5d9fbfd101 8e2276387ec3
2026-03-23 10:12:11.554567 8e2276387ec3 cf4ea2bf8d42