Skip to content
🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (2019-nCoV) outbreak. It's written in python using the 🍼 Flask framework.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
app fixed datasource Feb 14, 2020
.env.example new api Feb 10, 2020
.gitignore initial Feb 6, 2020
Pipfile new api Feb 10, 2020
Pipfile.lock new api Feb 10, 2020
Procfile gunicorn Feb 6, 2020 license Feb 15, 2020

coronavirus-tracker (API)

This is a fast (< 200ms) and basic API for tracking development of the new coronavirus (2019-nCoV). It's written in python using 🍼 Flask.

GitHub last commit GitHub pull requests GitHub issues


All requests must be made to the base url: (e.g: You can try them out in your browser to further inspect responses.

Getting confirmed cases, deaths, and recoveries:

GET /all
{ "latest": { ... }, "confirmed": { ... }, "deaths": { ... }, "recovered": { ... } }

Getting just confirmed:

GET /confirmed
{ "latest": 42767, "locations": [ ... ] }

Getting just deaths:

GET /deaths

Getting just recoveries:

GET /recovered


The data is retrieved programatically and re-formatted from the 2019 Novel Coronavirus (nCoV) Data Repository, provided by JHU CCSE.


The data is available to the public strictly for educational and academic research purposes.


You will need the following things properly installed on your computer.


  • git clone
  • cd coronavirus-tracker-api
  • pipenv shell
  • pipenv install

Running / Development

Running Tests




You can’t perform that action at this time.