← Back to directory

Date Math: Is a date a business day? If not, why (weekend, or which public holid...

https://date-math.datemath.workers.dev/v1/business_day

Overview

Date Math: Is a date a business day? If not, why (weekend, or which public holiday). Also the next and previous business day, and the month's business-day count, first and last business day. Use for office-open checks, shipping cut-offs, settlement dates. Country holidays, custom holidays and custom workweeks (e.g. Sun–Thu, Mon–Sat).

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Date Math
Source bazaar
Indexed 2026-11-07 17:08:20

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "country": "PH", "date": "2026-12-25" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "date": "2026-12-25", "holiday": "Christmas Day", "is_business_day": false, "month": { "business_day_number": null, "business_days": 21, "first_business_day": "2026-12-01", "last_business_day": "2026-12-31" }, "next_business_day": "2026-12-28", "previous_business_day": "2026-12-24", "reason": "holiday", "weekday": "Friday" }, "type": "json" }