the402 endpoint detail

← All endpoints

api.magentlab.com calc pregnancy_due_dates

https://api.magentlab.com/api/calc/pregnancy_due_dates

answers 402

Pregnancy estimated due date from a certain LMP using ACOG Committee Opinion 700 Naegele: edd_days_from_lmp = 280 + (cycle_length_days - 28). Inputs are numeric days_since_lmp (0-294) and cycle_length_days (21-35); those bands are magent clamps. Reports gestational_age_days and days_until_edd (negative if past EDD). Not a dating ultrasound. magent does not interpret imaging. Not a delivery date or

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.005
Network
base
Pay to
0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
75 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:17:50.652Z (2h ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fpregnancy_due_dates"