Skip to content
Projects

mathdroid/covid-19-api has 1,348 GitHub stars and 273 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 06:34 UTC. Last push 2023-03-27.

How these counts are measured

COVID-19 global data (from JHU CSSE for now) as-a-service

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)

COVID-19 API

No longer maintaining the official deployment. Please fork this repo and use it for your own purpose.

last_cron_date og_cron_status daily_cron_status

Serving data from John Hopkins University CSSE as a JSON API

Deploy with ZEIT Now

Routes

  • /: contains opengraph image for sharing

  • /api: global summary

  • /api/og: generate a summary open graph image

  • /api/confirmed: global cases per region sorted by confirmed cases

  • /api/recovered: global cases per region sorted by recovered cases

  • /api/deaths: global cases per region sorted by death toll

  • /api/daily: global cases per day

  • /api/daily/[date]: detail of updates in a [date] (e.g. /api/daily/2-14-2020)

  • /api/countries: all countries and their ISO codes

  • /api/countries/[country]: a [country] summary (e.g. /api/countries/Indonesia or /api/countries/USA or /api/countries/CN)

  • /api/countries/[country]/confirmed: a [country] cases per region sorted by confirmed cases

  • /api/countries/[country]/recovered: a [country] cases per region sorted by recovered cases

  • /api/countries/[country]/deaths: a [country] cases per region sorted by death toll

  • /api/countries/[country]/og: generate a summary open graph image for a [country]

Usage

  1. Clone

    git clone --depth=1 https://github.com/mathdroid/covid-19-api
    
  2. Install deps (yarn, npm install)

  3. Install and register to ZEIT Now if you haven't. This project is exclusively made for the platform.

  4. now dev to run a local dev deployment, now to publish.

Showcase

License

MIT License 2020, mathdroid.

Transitively from the Johns Hopkins Site, the data may not be used for commercial purposes.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Odi

💻 📖

Yahya Fadhlulloh Al-Fatih

💻

spiritbro1

💻

Imperial Owl

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Explore related projects