/v1/is-business-day
Classify a date
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/businessdays-api/v1/is-business-day" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/businessdays-api/v1/is-business-day", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/businessdays-api/v1/is-business-day");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/businessdays-api/v1/is-business-day",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"date": "2026-06-06",
"weekday": "Saturday",
"is_holiday": false,
"is_weekend": true,
"is_business_day": false
},
"meta": {
"timestamp": "2026-06-02T16:51:55.356Z",
"request_id": "b7645352-8fee-4cd7-8436-6dc248c81c00"
},
"status": "ok",
"message": "Classify a date",
"success": true
}