API Reference
Complete reference for all JDay REST API endpoints.
Base URL
https://jday-api.jday.workers.devAll endpoints require authentication via Authorization: Bearer <api_key>.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /v1/is-business-day | Check if a date is a business day |
| GET | /v1/add-business-days | Add or subtract business days from a date |
| GET | /v1/count-business-days | Count business days between two dates |
| GET | /v1/holidays | List holidays for a country and year |
| GET | /v1/countries | List supported countries and metadata |
Common Features
- All responses include
X-Request-Idheader. - All error responses use the standard error envelope.
- Date parameters use
YYYY-MM-DDformat. - Country codes are ISO 3166-1 alpha-2 (case-insensitive input, uppercase output).
- Supported date range:
2025-01-01through2027-12-31.
OpenAPI Spec
Download the machine-readable API specification: openapi.yaml