All Continents

GET https://corona.lmao.ninja/v2/continents?yesterday=true&sort=

Returns a JSON array with an element for each continent that has stats available.

Request Params

KeyDatatypeRequiredDescription
yesterdaybooleanFor this parameter you can show yesterday data

Available values : true, false, 1, 0. | | sort | null | | For this parameter you can provide a key from the country model (e.g. cases, todayCases, deaths, recovered, active, etc) to sort the countries from greatest to least, depending on the key

Available values : cases, todayCases, deaths, todayDeaths, recovered, active, critical, casesPerOneMillion, deathsPerOneMillion. |

RESPONSES

status: OK

[{"updated":1587140875599,"cases":345970,"todayCases":12773,"deaths":12426,"todayDeaths":358,"recovered":165739,"active":167805,"critical":6477,"continent":"Asia"},{"updated":1587140875599,"cases":724560,"todayCases":32002,"deaths":36709,"todayDeaths":2418,"recovered":70319,"active":617532,"critical":14460,"continent":"North America"},{"updated":1587140875600,"cases":1015507,"todayCases":44750,"deaths":92224,"todayDeaths":3905,"recovered":275293,"active":647990,"critical":27806,"continent":"Europe"},{"updated":1587140875600,"cases":67591,"todayCases":4289,"deaths":3057,"todayDeaths":260,"recovered":25971,"active":38563,"critical":7601,"continent":"South America"},{"updated":1587140875601,"cases":7966,"todayCases":42,"deaths":72,"todayDeaths":0,"recovered":4518,"active":3376,"critical":71,"continent":"Oceania"},{"updated":1587140875602,"cases":18993,"todayCases":1166,"deaths":968,"todayDeaths":55,"recovered":4585,"active":13440,"critical":180,"continent":"Africa"}]