Skip to content
ToolsOnDuty - free online tools
ToolsOnDuty / docs
Browse documentation

Reference / Health

Health API

1 endpoint for health workflows. Every call requires bearer authentication and uses the standard ToolsOnDuty response envelope.

Try it

Runs a real request from your browser to your own ToolsOnDuty account. Your key is only kept in this page and is never stored.

POST/v1/health/due-date1 credit / call

Pregnancy due-date estimate

Estimate due date and trimester milestones from the last menstrual period and cycle length.

ParameterTypeRequiredDescription
lastMenstrualPeriodstringYesFirst day of the last menstrual period, YYYY-MM-DD.
cycleLengthnumberNoTypical cycle length in days. Default: 28.

Request

curl -X POST https://toolsonduty.com/api/v1/health/due-date \
  -H "Authorization: ******" \
  -H "Content-Type: application/json" \
  -d '{"lastMenstrualPeriod":"2026-01-01","cycleLength":28}'

Response

{
  "ok": true,
  "data": {
    "estimatedDueDate": "2026-10-08"
  }
}