/v1/gestation
Foaling due 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/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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}