/v1/is-business-day
Classify a date
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}