Historical Data by multiple Country Names
GET https://corona.lmao.ninja/v2/historical/:query?lastdays=30
Get multiple countrys' time series using multiple country iso codes, country IDs, or of course, country names. Data is updated every 10 minutes.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
lastdays | number | Number of days you want the data to go back to. Default is 30. Use all for full data set. Ex: 15, all, 24 |
|
RESPONSES
status: OK
[{"country":"Japan","provinces":["mainland"],"timeline":{"cases":{"3/21/20":1007,"3/22/20":1101,"3/23/20":1128,"3/24/20":1193,"3/25/20":1307,"3/26/20":1387,"3/27/20":1468,"3/28/20":1693,"3/29/20":1866,"3/30/20":1866,"3/31/20":1953,"4/1/20":2178,"4/2/20":2495,"4/3/20":2617,"4/4/20":3139,"4/5/20":3139,"4/6/20":3654,"4/7/20":3906,"4/8/20":4257,"4/9/20":4667,"4/10/20":5530,"4/11/20":6005,"4/12/20":6748,"4/13/20":7370,"4/14/20":7645,"4/15/20":8100,"4/16/20":8626,"4/17/20":9787,"4/18/20":10296,"4/19/20":10797},"deaths":{"3/21/20":35,"3/22/20":41,"3/23/20":42,"3/24/20":43,"3/25/20":45,"3/26/20":47,"3/27/20":49,"3/28/20":52,"3/29/20":54,"3/30/20":54,"3/31/20":56,"4/1/20":57,"4/2/20":62,"4/3/20":63,"4/4/20":77,"4/5/20":77,"4/6/20":85,"4/7/20":92,"4/8/20":93,"4/9/20":94,"4/10/20":99,"4/11/20":99,"4/12/20":108,"4/13/20":123,"4/14/20":143,"4/15/20":146,"4/16/20":178,"4/17/20":190,"4/18/20":222,"4/19/20":236},"recovered":{"3/21/20":232,"3/22/20":235,"3/23/20":235,"3/24/20":285,"3/25/20":310,"3/26/20":359,"3/27/20":372,"3/28/20":404,"3/29/20":424,"3/30/20":424,"3/31/20":424,"4/1/20":472,"4/2/20":472,"4/3/20":514,"4/4/20":514,"4/5/20":514,"4/6/20":575,"4/7/20":592,"4/8/20":622,"4/9/20":632,"4/10/20":685,"4/11/20":762,"4/12/20":762,"4/13/20":784,"4/14/20":799,"4/15/20":853,"4/16/20":901,"4/17/20":935,"4/18/20":1069,"4/19/20":1159}}},{"country":"Chile","provinces":["mainland"],"timeline":{"cases":{"3/21/20":537,"3/22/20":632,"3/23/20":746,"3/24/20":922,"3/25/20":1142,"3/26/20":1306,"3/27/20":1610,"3/28/20":1909,"3/29/20":2139,"3/30/20":2449,"3/31/20":2738,"4/1/20":3031,"4/2/20":3404,"4/3/20":3737,"4/4/20":4161,"4/5/20":4471,"4/6/20":4815,"4/7/20":5116,"4/8/20":5546,"4/9/20":5972,"4/10/20":6501,"4/11/20":6927,"4/12/20":7213,"4/13/20":7525,"4/14/20":7917,"4/15/20":8273,"4/16/20":8807,"4/17/20":9252,"4/18/20":9730,"4/19/20":10088},"deaths":{"3/21/20":0,"3/22/20":1,"3/23/20":2,"3/24/20":2,"3/25/20":3,"3/26/20":4,"3/27/20":5,"3/28/20":6,"3/29/20":7,"3/30/20":8,"3/31/20":12,"4/1/20":16,"4/2/20":18,"4/3/20":22,"4/4/20":27,"4/5/20":34,"4/6/20":37,"4/7/20":43,"4/8/20":48,"4/9/20":57,"4/10/20":65,"4/11/20":73,"4/12/20":80,"4/13/20":82,"4/14/20":92,"4/15/20":94,"4/16/20":105,"4/17/20":116,"4/18/20":126,"4/19/20":133},"recovered":{"3/21/20":6,"3/22/20":8,"3/23/20":8,"3/24/20":17,"3/25/20":22,"3/26/20":22,"3/27/20":43,"3/28/20":61,"3/29/20":75,"3/30/20":156,"3/31/20":156,"4/1/20":234,"4/2/20":335,"4/3/20":427,"4/4/20":528,"4/5/20":618,"4/6/20":728,"4/7/20":898,"4/8/20":1115,"4/9/20":1274,"4/10/20":1571,"4/11/20":1864,"4/12/20":2059,"4/13/20":2367,"4/14/20":2646,"4/15/20":2937,"4/16/20":3299,"4/17/20":3621,"4/18/20":4035,"4/19/20":4338}}}]