APImcp
GuidesGeo & Network
ConsoleDocsMCP
Geo & Network ⏱ 1 min read

Business Days Calculator API — Calculate Working Days Between Dates

Calculate the number of business days (excluding weekends) between two dates. Supports configurable work week. Free API.

01

What is Business Days Calculation?

The business days calculator counts the number of working days between two dates, excluding weekends (Saturday and Sunday by default) and optionally excluding holidays. Configurable for different work weeks including Sunday-Thursday for Middle Eastern countries.

02

How to Use It

Call GET /api/v1/business-days?from=2026-01-01&to=2026-01-10. Returns { from: string, to: string, total_days: number, business_days: number, weekend_days: number, holidays: number | null }.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

Can I customize which days count as weekends?
Yes. Pass a weekend_days parameter to specify which days are non-working (e.g., 0,6 for Sunday-Saturday or 5,6 for Friday-Saturday).