Covid Tracking Project API
Overview
The Covid Tracking Project API provides historical US Covid-19 data including tests, hospitalizations, and deaths at the state and national level. It is completely free with no API key required and returns data in JSON or CSV format. This is a great beginner API for practicing data analysis, building charts, or learning to work with time-series health data.
Beginner Tip
Note that the Covid Tracking Project stopped collecting data on March 7, 2021 — this API is a historical archive and will not return new data, making it ideal for data analysis exercises without worrying about live data freshness.
Available Data
Example Response
{
"name": "Bohemian Rhapsody",
"artist": "Queen",
"album": "A Night at the Opera",
"duration_ms": 354000,
"popularity": 92,
"preview_url": "https://p.scdn.co/mp3-preview/..."
} Field Reference
date Date in YYYYMMDD integer format (e.g. 20210307 for March 7, 2021). states Number of US states and territories that reported data on this date. positive Cumulative total of confirmed positive Covid-19 cases. hospitalizedCurrently Number of people currently hospitalized with Covid-19 on this date. death Cumulative total of deaths attributed to Covid-19. totalTestResults Cumulative total of Covid-19 tests conducted. Implementation Example
const url = "https://covidtracking.com/data/api/version-2";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Coronavirus
This Coronavirus API provides the latest global Covid-19 case counts, deaths, and recoveries aggregated from public health sources.
Coronavirus in the UK
The Coronavirus in the UK API provides official UK Government data on Covid-19 cases, deaths, and vaccinations broken down by region and nation.
Covid-19
Covid-19 provides programmatic access to covid 19 spread, infection and recovery via REST API.
Covid-19
⭐ Beginner's PickThe Covid-19 API by M-Media Group provides daily case counts, deaths, and recoveries for every country in the world.
Covid-19 Datenhub
The Covid-19 Datenhub is a German ArcGIS-based platform that provides maps, datasets, and applications related to the Covid-19 pandemic.