Skip to content
GET /v1/due-date

Due date from LMP / conception / due

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/pregnancy-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "lmp": "2025-01-01",
        "basis": "last menstrual period",
        "due_date": "2025-10-08",
        "fertile_window": {
            "end": "2025-01-16",
            "start": "2025-01-10"
        },
        "estimated_conception": "2025-01-15"
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:10.473Z",
        "request_id": "a3df4855-198f-436f-b9ec-e49175cb6a26"
    },
    "status": "ok",
    "message": "Due date",
    "success": true
}