Finance

Business Days Calculator API

Calculate business days across the GCC with country-specific weekends and holidays. Supports three modes: single date check, counting business days between dates, and adding business days to a start date.

Endpoint:/v1/business-days
Method:GET
Latency:~10ms

Try it out

GET/v1/business-days

Parameters

Code

curl
curl -X GET "https://khaleejiapi.dev/api/v1/business-days?country=AE&from=2025-01-01&to=2025-12-31" \
-H "X-API-Key: your_api_key"

Parameters

ParameterTypeRequiredDescription
countrystringOptionalGCC country code (AE, SA, KW, BH, OM, QA)
datestringOptionalYYYY-MM-DD — check if a single date is a business day
fromstringOptionalYYYY-MM-DD — start date for counting or adding modes
tostringOptionalYYYY-MM-DD — end date for counting mode (max 2 years)
addnumberOptionalNumber of business days to add from 'from' date (1–365)
weekendstringOptionalOverride weekend days, e.g. 'fri,sat' or 'sat,sun'

Calculation Modes

Single Date Check — ?date=2025-06-05

Check if a specific date is a business day. Returns isBusinessDay, isWeekend, isHoliday flags, day of week in English and Arabic, and holiday details if applicable.

Counting Mode — ?from=2025-01-01&to=2025-12-31

Count business days between two dates (max 2-year range). Returns businessDays, totalDays, weekendDays, holidayDays, and lists all holidays in the range.

Adding Mode — ?from=2025-01-01&add=30

Add a specified number of business days (1–365) to a start date. Returns the resulting date after skipping weekends and holidays.

Weekend Configuration

Each GCC country has its own weekend schedule. The UAE switched to Sat–Sun in January 2022, while most other GCC countries observe Fri–Sat. You can override weekends using the weekend parameter.

AE: Sat–SunSA: Fri–SatKW: Fri–SatBH: Fri–SatOM: Fri–SatQA: Fri–Sat

Rate Limits

PlanRequests/MonthRate Limit
Free1,00010 req/min
Starter10,00060 req/min
Professional100,000300 req/min
Business500,0001,000 req/min