COVID-19 Tracker Sri Lanka
APIReal-time COVID-19 data API for Sri Lanka
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)
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
People Also Ask about COVID-19 Tracker Sri Lanka
Tool Info
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