GET countries/{country}

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

Summary: Get COVID-19 statistics for a specific country
Operation ID: getCountry
Auth: none

Returns detailed COVID-19 statistics for a specific country identified by name, ISO2 code, or ISO3 code. This is the endpoint to use when you need data for one specific country rather than the entire list. The response includes the same comprehensive metrics as /countries but for a single nation. You can look up countries by full name ("United States"), ISO2 ("US"), or ISO3 ("USA"). Use the `strict` parameter when you want exact name matching rather than partial matching.

Original spec description

Returns COVID-19 data for a specific country by country name, ISO2, or ISO3 code. Use 'counties' for US counties data.

Usage Tips

- Pass country as path parameter: /countries/USA, /countries/US, or /countries/United%20States - Use `strict=true` for exact name matching (prevents partial matches like "India" matching "British Indian Ocean Territory") - The `yesterday` parameter returns previous day's data for trend analysis - You can request multiple countries at once with comma-separated values: /countries/USA,Canada,UK - For US county-level data, use /countries/USA with additional query parameters or the /states endpoints

Parameters (5)

allowNull (string, query, optional)

Allow null values in response

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

country (string, path, required)

Country name, ISO2, or ISO3 code. Use comma-separated values for multiple countries.

strict (string, query, optional)

Strict search for country name

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 (4)

TitleTypeURLAction
Get COVID-19 data for USA by ISO3 code curl https://disease.sh/v3/covid-19/countries/USA
Get yesterday's COVID-19 data for US by ISO2 code curl https://disease.sh/v3/covid-19/countries/US?yesterday=true
Get COVID-19 data with strict country name matching curl https://disease.sh/v3/covid-19/countries/United%20States?strict=true
Get COVID-19 data for a specific country openapi-spec https://disease.sh/v3/covid-19/countries/USA

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 09:51:05.423441 200 86ms
2026-03-23 09:37:58.317028 200 111ms
2026-03-23 09:23:03.417142 200 91ms
2026-03-23 09:07:29.468121 200 193ms

Response Changes

WhenOldNew
2026-03-23 09:23:03.417142 3513b08ae753 0c054e51e924
2026-03-23 09:37:58.317028 0c054e51e924 7632cc7cc3c4
2026-03-23 09:51:05.423441 7632cc7cc3c4 13b9b80cf25a