We use essential cookies

We use strictly necessary cookies for authentication and, with your consent, optional analytics cookies to improve the product.

APIs/Holiday & Business Day API
Utilitiesoperational

Holiday & Business Day API

Get accurate public holiday data and compute business days across time zones. Perfect for logistics, scheduling, HR, and SLAs.

Use cases

SLA & response-time calculations
Shipping & fulfilment ETA
Payroll and HR scheduling
Financial settlement dates

Endpoints

Base: /api/v1/holidays
MethodPathDescriptionCredits
GET/public/{country}/{year}Public holidays for a country/year1
GET/is-holidayCheck if a date is a holiday1
GET/add-business-daysAdd business days to a date1
GET/count-business-daysCount business days in a range1
GET/next-business-dayGet the next business day1

Code examples

curl
curl -H "X-API-Key: $LOFTPRESS_KEY" \
  "https://loftpress.shop/api/v1/holidays/public/2026/2026"

Sample response

json
{
  "date": "2026-01-01",
  "country": "US",
  "is_holiday": true,
  "is_weekend": false,
  "holiday": {
    "name": "New Year's Day",
    "localName": "New Year's Day"
  }
}

Live playground

No API key required. Rate-limited to 30 req/min per IP.

// Click Run to try the API

Pricing plans

Pro
100,000 req · 50 req/s
$200/mo
+ applicable taxes
Enterprise
2,000,000 req · 250 req/s
$500/mo
+ applicable taxes

VAT, GST or other applicable sales tax is calculated and collected by Creem at checkout based on the customer's location.

Changelog / Status
All systems operational
Live status →