Version 2

JHU CSSE Data Endpoints

(Data from Johns Hopikins University)

get
Get All JHU CSSE

https://corona.lmao.ninja/v2/jhucsse
Get JHU CSSE Data. This includes confirmed cases, deaths, recovered, and coordinates.
Request
Response
Request
Response
200: OK
[
{
"country": "Canada",
"province": "Alberta",
"updatedAt": "2020-03-28 23:10:51",
"stats": {
"confirmed": 542,
"deaths": 2,
"recovered": 0
},
"coordinates": {
"latitude": "53.9333",
"longitude": "-116.5765"
}
},
... more items
]

get
Get Historical Data

https://corona.lmao.ninja/v2/historical
Get time series info from the JHU CSSE Data Repository. Every date since 1/22/20 has an entry tracking deaths, cases, and recoveries for each country.
Request
Response
Request
Response
200: OK
[
{
"country": "afghanistan",
"province": null,
"timeline": {
"cases": {
"1/22/20": 0,
... more dates
},
"deaths": {
"1/22/20": 0,
... more dates
},
"recovered": {
"1/22/20": 0,
... more dates
}
}
},
... more data
]

get
Get Historical Data by Country Name

https://corona.lmao.ninja/v2/historical/:country
Get a country's time series using a country iso code, country ID, or of course, country name
Request
Response
Request
Path Parameters
country
optional
string
Response
200: OK
{
"country": "usa",
"timeline": {
"cases": {
"1/22/20": 1,
... more dates
},
"deaths": {
"1/22/20": 0,
... more dates
},
"recovered": {
"1/22/20": 0,
... more dates
}
}
}

get
Get Historical Data by Province Name

https://corona.lmao.ninja/v2/historical/:country/:province
Get a province within a country's time series. Example is /v2/historical/chn/tibet. CHN is China's iso3 code
Request
Response
Request
Path Parameters
country
optional
string
province
optional
string
Response
200: OK
{
"country":"china",
"timeline":
{"cases":
{"1/22/20":0,
...more data},
"deaths":
{"1/22/20":0,
...more data}
},
"recovered":
{"1/22/20":0,
...more data}
},
}
}

get
Get Historical Data

https://corona.lmao.ninja/v2/historical/all
Return time series data globally
Request
Response
Request
Path Parameters
optional
string
Response
200: OK
cases: {
1/22/20: 555
...more data
},
deaths: {
1/22/20: 32
...more data
}
recovered: {
1/22/20: 32
...more data
}