Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/businessdays-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/businessdays-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/businessdays-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/businessdays-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Business Days API",
        "note": "Working-day calculations. /v1/between?start=&end= counts business days (include_end=false to exclude); /v1/add?date=&days=N adds/subtracts N working days (N may be negative); /v1/is-business-day?date= classifies a date. Configure ?weekend=sat,sun (or fri,sat, or 0..6) and pass ?holidays=YYYY-MM-DD,... for custom holidays. UTC, deterministic, instant.",
        "source": "Local working-day math — no key, no upstream",
        "endpoints": 4
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:55.468Z",
        "request_id": "f5d27c5e-166b-4116-8b3d-81292aecc38c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}