Archived
This repo is now archived, given the lack of further development. The API endpoints themselves continue to be available as of this writing, but are not guaranteed to exist in future.
COVID-19 REST API for India
API for COVID-19 stats in India, sourced from The Ministry of Health and Family Welfare and separately from unofficial sources
API
Official data
- Case counts:
- Testing stats:
- Hospitals & beds:
- Contact & helpline: https://api.rootnet.in/covid19-in/contacts
- Notifications & advisories: https://api.rootnet.in/covid19-in/notifications
Unofficial data
- Unofficial sources: https://api.rootnet.in/covid19-in/unofficial/sources
- Unofficial patient tracing data: https://api.rootnet.in/covid19-in/unofficial/covid19india.org
- Unofficial statewise: https://api.rootnet.in/covid19-in/unofficial/covid19india.org/statewise
- Unofficial statewise history: https://api.rootnet.in/covid19-in/unofficial/covid19india.org/statewise/history
- Unofficial patient travel history (NOT MAINTAINED ANYMORE by upstream): https://api.rootnet.in/covid19-in/unofficial/covid19india.org/travelhistory
Maintenance
- Refresh the data from source (maintainer only) https://api.rootnet.in/covid19-in/refresh
Sources
- Post Mar 15, data is from The Ministry of Health & Family Welfare
- Pre Mar 15, data is sourced from datameet/covid19
- Hospital & bed data: https://api.steinhq.com/v1/storages/5e732accb88d3d04ae0815ae/StateWiseHealthCapacity
- ICMR testing stats API: https://api.steinhq.com/v1/storages/5e6e3e9fb88d3d04ae08158c/ICMRTestData
- Medical colleges data: https://api.steinhq.com/v1/storages/5e6e3e9fb88d3d04ae08158c/Hospitals
Unofficial sources
- The awesome volunteer driven patient tracing data covid19india.org
- API (NLP): http://coronatravelhistory.pythonanywhere.com/
- API (Travel history): https://api.covid19india.org/travel_history.json
For contributors
This is created using Cloudflare Wrangler, and hosted on Cloudflare
Credits
- Awesome team at covid19india.org
- Hospital & medical colleges data API from @NirantK
- ICMR testing data API from covid19india.org
- NLP data API from @meghanabhange and @NirantK
- @GalacticMaster for reporting updated contact details