Pregnancy Due Date Calculator API - LMP, conception or IVF transfer milestones
due_date_calculatorCalculate estimated pregnancy due date, current gestational age (weeks + days), trimester dates and key milestone weeks from last menstrual period (with custom cycle length), conception date, or Day 3/5/6 IVF transfer date. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/due-date-calculator.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"date": "2026-06-01",
"method": "lmp",
"asOfDate": "2026-11-20",
"cycleDays": 28
},
"name": "due_date_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Reference date YYYY-MM-DD (first day of LMP, conception or IVF transfer) | |
| method | No | lmp (last period), conc (conception) or ivf (IVF transfer) | lmp |
| asOfDate | No | Optional date YYYY-MM-DD to evaluate gestational week (default today) | |
| cycleDays | No | Average menstrual cycle length in days (method=lmp) | |
| embryoDay | No | Embryo age at transfer for method=ivf: 3, 5 or 6 | 5 |