GET
/api/v1/holidaysPublic Holidays API
Sri Lankan gazetted holidays for a year (public, bank, mercantile and poya days), with English/Sinhala/Tamil names.
Parameters
| Param | In | Required | Description |
|---|---|---|---|
| year | query | no | Year (supported: 2026, 2027). Defaults to current year. |
| type | query | no | Filter to one calendar: public | bank | mercantile. |
Request
curl "https://induwara.lk/api/v1/holidays?year=2026&type=public"JavaScript (SDK):
import { InduwaraLK } from "https://induwara.lk/sdk/induwaralk.js";
const api = new InduwaraLK();
const data = await api.holidays(/* … */);Response
{
"ok": true,
"data": {
"year": 2026,
"type": "public",
"count": 24,
"holidays": [
{ "date": "2026-01-03", "name": "Duruthu Full Moon Poya Day",
"type": "Buddhist", "public": true, "bank": true, "mercantile": true }
],
"source": "Sri Lanka Government Gazette",
"lastVerified": "2026-05-16"
}
}Frequently asked questions
- Is there a Sri Lanka public holidays API?
- Yes. GET /api/v1/holidays?year=2026 returns Sri Lanka's gazetted public, bank, mercantile and poya holidays as JSON, with English, Sinhala and Tamil names. Free, no signup to try.
- How do I get Sri Lanka bank holidays in JSON?
- Add type=bank (or public / mercantile) to filter: /api/v1/holidays?year=2026&type=bank. Each entry includes the date and which calendars observe it.