Loading page…
/api/v1/holidays/nextReturns the next holiday from today.
Open this endpoint in the API Explorer.
Import this API into your tooling.
See real implementation patterns.
This endpoint has no parameters.
curl "https://bdapi4all.vercel.app/api/v1/holidays/next"const response = await fetch("https://bdapi4all.vercel.app/api/v1/holidays/next");
const payload = await response.json();
console.log(payload.data);import requests
response = requests.get("https://bdapi4all.vercel.app/api/v1/holidays/next")
print(response.json()["data"])$response = file_get_contents("https://bdapi4all.vercel.app/api/v1/holidays/next");
$data = json_decode($response, true);
print_r($data["data"]);$response = Http::get("https://bdapi4all.vercel.app/api/v1/holidays/next");
$data = $response->json("data");export default async function Page() {
const res = await fetch("https://bdapi4all.vercel.app/api/v1/holidays/next", { next: { revalidate: 3600 } });
const payload = await res.json();
return <pre>{JSON.stringify(payload.data, null, 2)}</pre>;
}{
"success": true,
"version": "v1",
"timestamp": "2026-06-02T00:00:00.000Z",
"data": {
"date": "2026-12-16T00:00:00.000Z",
"name_en": "Victory Day",
"name_bn": "বিজয় দিবস",
"type": "national"
}
}