/v1/gestation
Foaling due date
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/equine-api/v1/gestation" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/equine-api/v1/gestation", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/equine-api/v1/gestation");
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/equine-api/v1/gestation",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Mare gestation averages about 340 days but a healthy range is roughly 320–362 days, so treat the due date as the middle of a window, not a deadline. Watch for waxing, udder fill and softening near term, and have the vet's number ready — most mares foal at night, quickly.",
"inputs": {
"breeding_date": "2026-04-01",
"gestation_days": 340
},
"due_date": "2027-03-07",
"window_late": "2027-03-29",
"window_early": "2027-02-15"
},
"meta": {
"timestamp": "2026-06-06T15:30:46.808Z",
"request_id": "6eb9cd63-914d-4946-b2f1-0e5b73279472"
},
"status": "ok",
"message": "Foaling due date",
"success": true
}