Covid-19 Philippines API

Health / No Auth Required Beginner HTTPS CORS
Free to Use Varies (check documentation)

Overview

The Covid-19 Philippines API provides unofficial COVID-19 data for the Philippines derived from Department of Health (DOH) reports, covering case counts, deaths, recoveries, and regional breakdowns. It is an open-source project requiring no API key and is straightforward to integrate. It is useful for local public health projects focused on Philippine pandemic data.

💡

Beginner Tip

Because this is an unofficial, community-maintained API, check the GitHub repository for the latest deployment URL and whether the API is still actively hosted before building a production application on top of it.

Available Data

case counts and statistics
vaccination data
geographic breakdown
historical trend data

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Covid-19 Philippines",
    "description": "Unofficial Covid-19 Web API for Philippines from data collected by DOH",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

cases Total confirmed COVID-19 cases in the Philippines.
deaths Total COVID-19 deaths recorded.
recoveries Total patients who have recovered.
region Name of the Philippine region for regional breakdowns.
date Date of the report in YYYY-MM-DD format.

Implementation Example

const url = "https://github.com/Simperfy/Covid-19-API-Philippines-DOH";
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

API endpoint not reachable Community-hosted servers can go offline if maintainers stop paying for hosting.
Check the project's GitHub issues page for alternative deployment URLs or fork and self-host.
Outdated data Data ingestion relies on volunteers parsing DOH reports which may not happen in real time.
Always display the last_updated timestamp to users so they understand the freshness of the data.
500 Internal Server Error The data source format may have changed and broken the parser.
Report the issue on the GitHub repository and check if a fix is pending; use cached data in the meantime.

Matrix Score Breakdown

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

Fully tested on Apr 5, 2026

Technical Specifications

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

Similar APIs

View All →