REST API for COVID-19 Stats

Data sourced from which is re-pulled in hourly.

Endpoint:

GET https://covid19-api.weedmark.systems/api/v1/stats
Accepts: country as filter parameter, otherwise returns all stats. Country name must match exactly with what is in the data (URL encoded spaces and punctuation)
For example:
GET https://covid19-api.weedmark.systems/api/v1/stats?country=Canada

Returns

{
  "error": false,
  "statusCode": 200,
  "message": "OK",
  "data": {
    "lastChecked": "2020-03-11T14:25:22.787Z",
    "covid19Stats": [
      {
        "province": "Ontario",
        "country": "Canada",
        "lastUpdate": "2020-03-10T17:13:32",
        "confirmed": 36,
        "deaths": 0,
        "recovered": 4
      },
      {
        "province": "British Columbia",
        "country": "Canada",
        "lastUpdate": "2020-03-09T22:43:25",
        "confirmed": 32,
        "deaths": 1,
        "recovered": 4
      },
      {
        "province": "Alberta",
        "country": "Canada",
        "lastUpdate": "2020-03-09T17:53:24",
        "confirmed": 7,
        "deaths": 0,
        "recovered": 0
      },
      {
        "province": "Quebec",
        "country": "Canada",
        "lastUpdate": "2020-03-10T00:53:03",
        "confirmed": 4,
        "deaths": 0,
        "recovered": 0
      }
    ]
  }
}

Terms of Use

The data this API serves including all data, mapping, and analysis, copyright 2020 Johns Hopkins University, all rights reserved, is provided to the public strictly for educational and academic research purposes. The Website relies upon publicly available data from multiple sources, that do not always agree. Weedmark Systems (the author of this API) and The Johns Hopkins University (the author of the data provided by this API) hereby disclaims any and all representations and warranties with respect to this website, including accuracy, fitness for use, and merchantability. Reliance on this website or API for medical guidance or use of this website or API in commerce is strictly prohibited.