Covid-19 API
Overview
The Covid-19 API by M-Media Group provides daily case counts, deaths, and recoveries for every country in the world. It is free, open-source, and requires no API key, making it one of the easiest health APIs for beginners to use. It is a great resource for building global pandemic dashboards or learning to work with international health statistics.
Beginner Tip
Use the /v1/ endpoint to get country-level totals, and add a country name or ISO code as a path parameter to filter results for a specific country — for example, /v1/countries/US returns US-only data.
Available Data
Example Response
{
"name": "Japan",
"capital": "Tokyo",
"population": 125800000,
"region": "Asia",
"languages": [
"Japanese"
],
"flag": "https://flagcdn.com/jp.svg",
"currencies": [
{
"code": "JPY",
"name": "Japanese yen"
}
]
} Field Reference
All Top-level object containing aggregated data for the country or worldwide. confirmed Total confirmed Covid-19 cases for the country. deaths Total number of Covid-19 related deaths. recovered Total number of recoveries from Covid-19. country Full name of the country the data corresponds to. last_updated ISO 8601 timestamp of when the data was last refreshed. Implementation Example
const url = "https://github.com/M-Media-Group/Covid-19-API";
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 Tracking Project
⭐ Beginner's PickThe Covid Tracking Project API provides historical US Covid-19 data including tests, hospitalizations, and deaths at the state and national level.
Covid-19
Covid-19 provides programmatic access to covid 19 spread, infection and recovery via REST API.
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.