Covid-19 Philippines API

Health / No Auth Required Beginner HTTPS CORS
Free to Use 2000 per window (1999 remaining at test time)
65 C
Measured Score 0 50 100 Speed 6/30 Consistency 20/20 Security 18/20 Browser access 10/15 Transparency 11/15 TESTED 2026-08-10

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.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://covid-api.com/api/reports?iso=PHL
Result
HTTP 200 · application/json · 336 bytes
Response time
527 ms (median of 3) · fastest 515 ms
Transport
TLSv1.2 · ECDHE-RSA-AES256-GCM-SHA384 · certificate issued by Let's Encrypt
Browser CORS
Allowed — Access-Control-Allow-Origin: https://apisscore.com
Rate limit
2000 per window (1999 remaining at test time)
Served by
nginx/1.14.0 (Ubuntu)
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
date string (date) 2023-03-09
confirmed integer 4077452
deaths integer 66188
recovered integer 0
confirmed_diff integer 150
deaths_diff integer 12
recovered_diff integer 0
last_update string (date) 2023-03-10 04:21:03
active integer 4011264
active_diff integer 138
fatality_rate number 0.0162
region object {1 fields}

Captured Response

Captured from a real request to https://covid-api.com/api/reports?iso=PHL on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "data": [
    {
      "date": "2023-03-09",
      "confirmed": 4077452,
      "deaths": 66188,
      "recovered": 0,
      "confirmed_diff": 150,
      "deaths_diff": 12,
      "recovered_diff": 0,
      "last_update": "2023-03-10 04:21:03",
      "active": 4011264,
      "active_diff": 138,
      "fatality_rate": 0.0162,
      "region": {
        "…": "(6 more fields)"
      }
    }
  ]
}

Field Reference

deaths Total COVID-19 deaths recorded.
region Name of the Philippine region for regional breakdowns.
date Date of the report in YYYY-MM-DD format.

Implementation Example

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

Request
const url = "https://covid-api.com/api/reports?iso=PHL";
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.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist application/json
{
  "message": ""
}

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.

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.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 6/30
Consistency 20/20
Security 18/20
Browser access 10/15
Transparency 11/15
Endpoint Response Time 527ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS YES
Category Health
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Similar APIs

View All →