Public holidays API logo

Public holidays API

Category:Events

Designed to support developers, businesses, event planners, and travelers, our API delivers accurate, up-to-date information on public holidays in over 200 countries and territories. Whether you’re integrating holiday data into your scheduling app, planning international meetings, or simply curious about global festivities, GlobalHolidays API ensures you have the information you need, right when you need it.

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Path Parameters

stateCode
year

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});