Skip to content

About

Free, open API of cancer care resources in Davao City, Philippines: financial help, hospitals, specialists, support groups and news, as JSON with a schema for every file.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

2 stars

Watchers

0 watching

Forks

🎗️ Cancer Open Data

Cancer care resources in Davao City, Philippines, in one free and open API.
Financial help, hospitals, specialists, support groups and news, as JSON with a schema for every file.

Validate and deploy data API Status: beta OpenAPI 3.1 JSON Schema Cloudflare Workers

API · Docs · API guide · Milestones · Changelog


📦 What's inside

Dataset Endpoint Records key
📰 Feeds: news, blogs and articles /Feeds/FeedsData.json Feed
💰 Financial institutions and their programs /FinancialInstitution/FinancialInstiData.json Financial_Insti
🏥 Health institutions and their services /HealthInstitution/HealthInstiData.json Health_Insti
🩺 Medical specialists and their clinics /MedicalSpecialist/MedicalSpecialistData.json Medical_Specialist
🤝 Support groups and how to reach them /SupportGroups/SupportGroupsData.json Support_Group

Base URL: https://cancer-open-data.capillanesjohnfritz.workers.dev · read-only, no keys, open to any website. Also: / lists every dataset, each file has a schema next to it (…Data.schema.json), /docs/ is Swagger UI and /openapi.json is the OpenAPI 3.1 spec.

Note

Scope: Davao City. Every record has at least one office, clinic or group in Davao City, or an online clinic for Davao City patients. National programs (like PhilHealth) are listed with their Davao City office. A doctor's other clinics outside the city (for example in Tagum or Panabo) may also be listed.

This data helps people find care and help. It is not medical advice. Values are copied as written from their sources; check with the institution before you go.

🚀 Quick start

const BASE = "https://cancer-open-data.capillanesjohnfritz.workers.dev";

// One dataset
const { Medical_Specialist } = await fetch(`${BASE}/MedicalSpecialist/MedicalSpecialistData.json`).then(r => r.json());

// Everything, using the list at "/"
const { datasets } = await fetch(`${BASE}/`).then(r => r.json());
const all = await Promise.all(datasets.map(d => fetch(d.data).then(r => r.json())));

Important

Use a plain GET with no custom request headers. Cloudflare's static files don't answer CORS preflight, so a header like Authorization makes browsers block the request.

Warning

Use the paths exactly as written. The short names FinancialInsti and HealthInsti are on purpose.

🧾 Fields

Every record has an integer id. Each schema file has the full rules.

Records key Fields
Feed id, title, bgImageURL, category (News, Blog or Article), content, author, publishDate, source
Financial_Insti id, name, bgImageURL, source, description, type, location, latitude, longitude, schedule {isWholeWeek, days[]}, contacts[], programs[] (with source, benefits, requirements, procedure)
Health_Insti Same as Financial_Insti up to contacts, then services[] (with service_schedule, requirements, procedure)
Medical_Specialist id, firstname, lastname, specialty, description, imageURL, source, clinics[] {clinicName, location, isWalkIns, canDoBoth, contacts, schedule}
Support_Group id, name, description, type, socmedURL, bgImageURL, location, latitude, longitude, founder, contacts[]

Tip

A null, an empty text or an empty list means "not available yet". Show "Not available", and don't add limits on text length or require true/false beyond what the schema says.

  • Time keys: specialist clinics use timeIN/timeOUT; everywhere else it's timeIn/timeOut.
  • Dates and times are display text, not ISO (8:00 am, 21 November 2025).
  • Walk-in or appointment: check with === true / === false, because null is falsy:
const bookingMode = c =>
  c.canDoBoth === true ? "Walk-in and appointment"
  : c.canDoBoth === false && c.isWalkIns === true ? "Walk-in only"
  : c.canDoBoth === false && c.isWalkIns === false ? "Appointment only"
  : "Not available";

📚 More

Read For
API-GUIDE.md Images, responses and status codes, errors, and error handling with retry and offline copy
ACCESSIBILITY.md What the API does for accessibility, a checklist for app builders, known limits, and how to report a problem
MAINTAINING.md How it's served, how a change goes live, rollback, changing the data, deploy setup
MILESTONES.md Where the project is going: v1 is live, v2 is being built
CHANGELOG.md What changed in each version (GET / shows the live one in version)
CONTRIBUTING.md How to help: issue forms, data rules, and how to make a pull request
SECURITY.md How to report a security problem privately
CODE_OF_CONDUCT.md How we treat each other (Contributor Covenant 2.1)

Found wrong data, a missing resource or an API problem? Open an issue: there is a form for each, including privacy and removal requests.

License: the code is under the MIT License; the data is in the public domain under CC0 1.0. Logos and photos in images/ belong to their owners.


Made for patients, caregivers and the apps that serve them. Data from official and trusted sources, linked in each record.

About

Free, open API of cancer care resources in Davao City, Philippines: financial help, hospitals, specialists, support groups and news, as JSON with a schema for every file.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages