COVID-19 Tracker Sri Lanka

API

Real-time COVID-19 data API for Sri Lanka

Visit Website

Overview

This API provides official real-time and historical COVID-19 data from Sri Lanka’s Health Promotion Bureau (HPB), including daily case counts, recovery rates, deaths, vaccination statistics, and district-wise breakdowns. Endpoints support queries for national summaries, time-series trends, and patient demographics. Responses are formatted in JSON for seamless integration. Ideal for developers building public health dashboards, news platforms, or mobile apps to display up-to-date COVID-19 situation reports for Sri Lanka.

Example Integration (JavaScript)

script.js JS

fetch('https://www.hpb.health.gov.lk/en/api-documentation')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful API
  • JSON responses
  • Real-time updates
  • District-wise data
  • Vaccination stats
  • Historical trends

Frequently Asked Questions

? Is the COVID-19 Tracker Sri Lanka API free to use?

Yes, the API is provided free of charge by Sri Lanka's Health Promotion Bureau for public and developer use.

? Does the API require an API key?

No, the API does not require an API key for basic access, as per the official documentation.

? What format are the API responses in?

All responses from the API are in JSON format, which is widely supported for easy integration into applications.

Top Alternatives

Johns Hopkins COVID-19 Data API Search Google
Google COVID-19 Open Data API Search Google

People Also Ask about COVID-19 Tracker Sri Lanka

COVID-19 Tracker Sri Lanka vs Johns Hopkins COVID-19 Data APICOVID-19 Tracker Sri Lanka vs Google COVID-19 Open Data API COVID-19 Tracker Sri Lanka 2025 review

Tool Info

Pricing Free
Category Health
Platform Public API

Pros

  • Free access
  • Official HPB data source
  • Comprehensive coverage
  • No API key required

Cons

  • Rate-limited access
  • Limited to Sri Lanka data
  • No formal SLA

More Health Tools