Discontinued

This API no longer responds. Our last check on 2026-07-31 found no working endpoint — the service appears to have shut down or moved. The documentation, code samples and score below are kept for reference only; do not build against this API. See working Health APIs →

Covid-19 Live Data API

Health / No Auth Required Beginner HTTPS CORS
Free to Use

Overview

The Covid-19 Live Data API provides global and country-level COVID-19 statistics including confirmed cases, deaths, and recoveries, sourced from Johns Hopkins University CSSE data. It wraps the raw data into a clean REST API with JSON responses and requires no authentication. It is a beginner-friendly choice for building dashboards or data projects.

Beginner Tip

Use the /countries endpoint to get the full list of supported country slugs before querying individual country stats to avoid 404 errors from typos.

Available Data

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

country name and code
population
capital city
region and subregion
flag image URL
case counts and statistics

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "name": "Japan",
  "capital": "Tokyo",
  "population": 125800000,
  "region": "Asia",
  "languages": [
    "Japanese"
  ],
  "flag": "https://flagcdn.com/jp.svg",
  "currencies": [
    {
      "code": "JPY",
      "name": "Japanese yen"
    }
  ]
}

Field Reference

countryRegion The country or region name.
confirmed Total confirmed COVID-19 cases.
deaths Total COVID-19 deaths.
recovered Total recovered COVID-19 cases.
lastUpdate Timestamp of when this entry was last refreshed.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://covid19.mathdroid.com/api/countries/indonesia";
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

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

404 for country name Country slugs must exactly match what the API expects (e.g., 'south-korea' not 'South Korea').
First call /countries to retrieve the list and use the exact name strings as path parameters.
Data not updating The upstream JHU CSSE data source was retired in 2023, so case counts are frozen at that point.
Use this API for historical reference; for current statistics, look for actively maintained alternatives.
Network timeout The community-hosted server may occasionally be slow or down.
Implement retry logic with exponential backoff and cache successful responses locally for resilience.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS YES
Category Health
Difficulty Beginner
Listing details not endpoint-verified

Related Tags

Similar APIs

View All →