Coronavirus API

Free to Use Varies (check documentation)

Overview

This Coronavirus API provides the latest global Covid-19 case counts, deaths, and recoveries aggregated from public health sources. It requires no authentication and is free to access, making it easy for beginners to get started. You can use it to build dashboards, data visualizations, or practice working with real-world health statistics.

💡

Beginner Tip

Note that this is a community-maintained API and the underlying Pipedream source may change — always verify data accuracy against official sources like WHO or CDC before using it in production applications.

Available Data

case counts and statistics
vaccination data
geographic breakdown
historical trend data

Example Response

JSON Response
{
  "url": "https://example.com",
  "safe": true,
  "threat_level": "none",
  "categories": [
    "clean"
  ],
  "scan_date": "2025-01-15T10:00:00Z"
}

Field Reference

cases Total confirmed Covid-19 cases globally or for the queried country.
deaths Total number of deaths attributed to Covid-19.
recovered Total number of confirmed recoveries from Covid-19.
active Currently active cases (cases minus deaths and recoveries).
updated Unix timestamp (milliseconds) of when the data was last updated.

Implementation Example

const url = "https://pipedream.com/@pravin/http-api-for-latest-wuhan-coronavirus-data-2019-ncov-p_G6CLVM/readme";
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

Connection refused or 404 error The endpoint URL may have changed since this community-maintained API is not guaranteed to be stable.
Check the Pipedream readme page for the latest active endpoint URL, or consider switching to a more stable alternative like disease.sh.
Stale or outdated data Community APIs may not update data in real-time and could lag behind official sources.
Cross-reference data with official WHO or national health authority APIs for time-sensitive applications.
CORS error in browser Browser-based requests may be blocked by cross-origin restrictions.
Make requests server-side from Node.js or use a CORS proxy for browser-based applications.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 510ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Health
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →