Skip to content
GET /v1/gestational-age

Gestational age + progress

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/gestational-age" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pregnancy-api/v1/gestational-age", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pregnancy-api/v1/gestational-age");
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/gestational-age",
    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",
        "as_of": "2025-04-02",
        "basis": "last menstrual period",
        "overdue": false,
        "due_date": "2025-10-08",
        "trimester": "second",
        "days_remaining": 189,
        "gestational_age": "13w 0d",
        "progress_percent": 32.5,
        "gestational_weeks": 13,
        "gestational_total_days": 91,
        "gestational_days_into_week": 0
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:10.558Z",
        "request_id": "b16c4084-e0c0-4d4a-aefa-9c39b6bc28b0"
    },
    "status": "ok",
    "message": "Gestational age",
    "success": true
}