COVID-19 Data Tracking API
home
Summary
The COVID-19 Data Tracking API displays COVID-19 case data and details about local government policies in effect to curb the spread of COVID-19 based on the user-specified location. Read more to learn how to use the API
What is in the API?
Use the API to determine local COVID case data or local COVID policy data (also known as non-pharmaceutical intervention data). You can see what each API returns in the Cases - Responses Dictionary or the Policy - Responses Dictionary on the left pane.
Share what you build!
Are you thinking of using the COVID Data Tracking API in your projects? Let us know how so we can continue to improve the API
How to use the API to access case information
Endpoints
Data Source | Application Endpoint |
---|---|
New York Times | https://localcoviddata.com/covid19/v1/locations?zipCode=13619 |
New York Times | https://localcoviddata.com/covid19/v1/cases/newYorkTimes?zipCode=13619&daysInPast=4 |
European CDC (EUCDC) | https://localcoviddata.com/covid19/v1/cases/eucdc?country=JP&daysInPast=4 |
CovidTracking.com | https://localcoviddata.com/covid19/v1/cases/covidTracking?state=CA&daysInPast=4 |
JHU Daily Global | https://localcoviddata.com/covid19/v1/cases/jhu?daysInPast=4&country=IND |
JHU Daily US - State | https://localcoviddata.com/covid19/v1/cases/jhu?state=CA&daysInPast=7 |
JHU Timeseries US - State County | https://localcoviddata.com/covid19/v1/cases/jhu?state=CA&daysInPast=4&county=Alameda |
How to use the API to access NPI policy information
Endpoints
Data Source | Application Endpoint |
---|---|
Global | https://localcoviddata.com/covid19/v1/high-level-policy?country=ISL |
US - No State | https://localcoviddata.com/covid19/v1/high-level-policy?country=USA |
US - State | https://localcoviddata.com/covid19/v1/high-level-policy?country=USA&state=CA |
Throttling Limits
This API can support a large number of concurrent requests via a CDN. The origin API server will support up to 80 requests per second on production.
Environment | Limits |
---|---|
Production | 80 requests per 1 second |
Additional Resources:
Datasets included in this listing include:
* COVID-19 Data Tracking: A global time series of case and death data. This data is sourced from The New York Times (https://github.com/nytimes/covid-19-data), the European Centre for Disease Prevention and Control (https://www.ecdc.europa.eu/en/publications-data/download-todays-data-geographic-distribution-covid-19-cases-worldwide), the John Hopkins University COVID-19 Data(https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data) and the COVID Tracking Project (https://covidtracking.com/data).
Visit the COVID-19 Data Hub (https://www.tableau.com/covid-19-coronavirus-data-resources), a free resource page, to learn more about these curated data sources and to access data visualizations, quick-start Tableau dashboards, and other partner-created solutions.
Regulatory and Compliance Information
For more information, refer to the linked source for each dataset included in this listing.
Disclaimer
These APIs are currently in beta and may be subject to change over the coming weeks.