{
"method": "lmp",
"edd": "2026-10-15",
"conception_date": "2026-01-22",
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance."
}
}
curl --location --request POST 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28641/calculate+estimated+due+date' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"method": "lmp", "lmp": "2026-01-04", "cycle_length": 32}'
{
"method": "ivf",
"edd": "2026-11-17",
"conception_date": "2026-02-24",
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance."
}
}
curl --location --request GET 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28642/get+estimated+due+date?method=ivf&transfer_date=2026-03-01&embryo_age_days=5' --header 'Authorization: Bearer YOUR_API_KEY'
{
"edd_lmp": "2026-10-08",
"edd_ultrasound": "2026-10-21",
"edd_used": "2026-10-21",
"ga_lmp_at_scan": "10w3d",
"ga_ultrasound_at_scan": "8w4d",
"discrepancy_days": 13,
"redated": true,
"rule_applied": "9w0d-13w6d: redate if discrepancy > 7 days (ACOG CO 700 Table 1)",
"within_acog_guideline": true,
"guideline_note": null,
"suboptimally_dated": false,
"formula": "robinson_fleming_1975",
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance.",
"as_of": "2026-03-15",
"citation": "ACOG Committee Opinion 700 (2017, reaffirmed 2022), Table 1."
}
}
curl --location --request POST 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28643/apply+acog+ultrasound+redating+rules' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"lmp": "2026-01-01", "scan_date": "2026-03-15", "crl_mm": 20}'
{
"edd_lmp": "2026-07-08",
"edd_ultrasound": "2026-06-19",
"edd_used": "2026-07-08",
"ga_lmp_at_scan": "30w2d",
"ga_ultrasound_at_scan": "33w0d",
"discrepancy_days": 19,
"redated": false,
"rule_applied": ">=28w0d: redate if discrepancy > 21 days (ACOG CO 700 Table 1)",
"within_acog_guideline": true,
"guideline_note": null,
"suboptimally_dated": true,
"formula": "hadlock_1984_composite",
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance.",
"as_of": "2026-05-01",
"citation": "ACOG Committee Opinion 700 (2017, reaffirmed 2022), Table 1."
}
}
curl --location --request GET 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28644/get+acog+redating+decision?lmp=2025-10-01&scan_date=2026-05-01&bpd_mm=86&hc_mm=300&ac_mm=280&fl_mm=65' --header 'Authorization: Bearer YOUR_API_KEY'
{
"edd": "2026-10-11",
"gestational_age": {
"label": "29w2d",
"total_days": 205
},
"warnings": [],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance.",
"as_of": "2026-07-28"
}
}
curl --location --request POST 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28645/calculate+gestational+age' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"as_of": "2026-07-28", "edd": "2026-10-11"}'
{
"edd": "2026-10-11",
"gestational_age": {
"label": "29w2d",
"total_days": 205
},
"warnings": [],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance.",
"as_of": "2026-07-28"
}
}
curl --location --request GET 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28646/get+gestational+age?as_of=2026-07-28&lmp=2026-01-04' --header 'Authorization: Bearer YOUR_API_KEY'
{
"edd": "2026-10-11",
"gestational_age": {
"label": "29w2d",
"total_days": 205
},
"trimester": 3,
"is_viable": true,
"term_class_if_delivered_today": "very_preterm",
"milestones": {
"trimester_2_start": "2026-04-12",
"trimester_3_start": "2026-07-19",
"viability": "2026-06-21",
"very_preterm_start": "2026-07-19",
"moderate_preterm_start": "2026-08-16",
"late_preterm_start": "2026-08-30",
"early_term_start": "2026-09-20",
"full_term_start": "2026-10-04",
"late_term_start": "2026-10-18",
"post_term_start": "2026-10-25"
},
"visit_schedule": {
"schedule": "who_2016",
"parity": null,
"visits": [
{
"week": 12,
"date": "2026-03-29"
},
{
"week": 20,
"date": "2026-05-24"
},
{
"week": 26,
"date": "2026-07-05"
},
{
"week": 30,
"date": "2026-08-02"
},
{
"week": 34,
"date": "2026-08-30"
},
{
"week": 36,
"date": "2026-09-13"
},
{
"week": 38,
"date": "2026-09-27"
},
{
"week": 40,
"date": "2026-10-11"
}
]
},
"postpartum": {
"projected_six_week_check": "2026-11-22"
},
"warnings": [],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance.",
"as_of": "2026-07-28"
}
}
curl --location --request POST 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28647/get+pregnancy+milestones+and+visit+schedule' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"as_of": "2026-07-28", "edd": "2026-10-11"}'
{
"edd": "2026-10-11",
"gestational_age": {
"label": "29w2d",
"total_days": 205
},
"trimester": 3,
"is_viable": true,
"term_class_if_delivered_today": "very_preterm",
"milestones": {
"trimester_2_start": "2026-04-12",
"trimester_3_start": "2026-07-19",
"viability": "2026-06-21",
"very_preterm_start": "2026-07-19",
"moderate_preterm_start": "2026-08-16",
"late_preterm_start": "2026-08-30",
"early_term_start": "2026-09-20",
"full_term_start": "2026-10-04",
"late_term_start": "2026-10-18",
"post_term_start": "2026-10-25"
},
"visit_schedule": {
"schedule": "who_2016",
"parity": null,
"visits": [
{
"week": 12,
"date": "2026-03-29"
},
{
"week": 20,
"date": "2026-05-24"
},
{
"week": 26,
"date": "2026-07-05"
},
{
"week": 30,
"date": "2026-08-02"
},
{
"week": 34,
"date": "2026-08-30"
},
{
"week": 36,
"date": "2026-09-13"
},
{
"week": 38,
"date": "2026-09-27"
},
{
"week": 40,
"date": "2026-10-11"
}
]
},
"postpartum": {
"projected_six_week_check": "2026-11-22"
},
"warnings": [],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance.",
"as_of": "2026-07-28"
}
}
curl --location --request GET 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28649/list+pregnancy+milestones?as_of=2026-07-28&edd=2026-10-11&schedule=who_2016' --header 'Authorization: Bearer YOUR_API_KEY'
{
"lmp": "2026-01-01",
"ovulation_estimate": "2026-01-17",
"fertile_window": {
"start": "2026-01-12",
"end": "2026-01-18"
},
"next_periods": [
"2026-01-31",
"2026-03-02",
"2026-04-01"
],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance."
}
}
curl --location --request POST 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28651/calculate+ovulation+and+fertile+window' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"lmp": "2026-01-01", "cycle_length": 30, "n": 3}'
{
"lmp": "2026-01-01",
"ovulation_estimate": "2026-01-17",
"fertile_window": {
"start": "2026-01-12",
"end": "2026-01-18"
},
"next_periods": [
"2026-01-31",
"2026-03-02",
"2026-04-01"
],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance."
}
}
curl --location --request GET 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28652/get+ovulation+and+fertile+window?lmp=2026-01-01&cycle_length=30&n=3' --header 'Authorization: Bearer YOUR_API_KEY'
{
"results": [
{
"index": 0,
"status": 200,
"body": {
"method": "lmp",
"edd": "2026-10-08",
"conception_date": "2026-01-15",
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance."
}
}
},
{
"index": 1,
"status": 200,
"body": {
"edd": "2026-10-11",
"gestational_age": {
"label": "29w2d",
"total_days": 205
},
"warnings": [],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance.",
"as_of": "2026-07-28"
}
}
}
],
"meta": {
"disclaimer": "Reference implementation. Informational only -- not clinical advice, not for diagnostic use, not contraceptive guidance."
}
}
curl --location --request POST 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28655/batch+multiple+pregnancy+calculations' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"items": [
{"endpoint": "edd", "params": {"method": "lmp", "lmp": "2026-01-01"}},
{"endpoint": "gestational_age", "params": {"as_of": "2026-07-28", "edd": "2026-10-11"}}
]}'
{
"endpoints": [
{
"path": "/v1/edd",
"methods": [
"conception",
"ivf",
"lmp",
"reverse",
"ultrasound_biometry",
"ultrasound_crl"
]
},
{
"path": "/v1/gestational-age",
"input": [
"edd",
"lmp"
]
},
{
"path": "/v1/redate",
"input": [
"crl_mm",
"bpd_mm/hc_mm/ac_mm/fl_mm"
]
},
{
"path": "/v1/milestones",
"schedules": [
"who_2016",
"acog",
"nice"
]
},
{
"path": "/v1/cycle",
"input": [
"lmp",
"cycle_length",
"luteal_phase_length",
"n"
]
},
{
"path": "/v1/batch",
"max_items": 25,
"endpoints": [
"cycle",
"edd",
"gestational_age",
"milestones",
"redate"
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/13381/lmp+based+due+date+calculation+api/28656/list+available+methods+and+parameters' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए LMP Based Due Date Calculation API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
अग्रणी कंपनियों का भरोसा
Due date from last menstrual period using Naegele's rule, with 21-45 day cycle length correction.
नैगेले का नियम: नियत तिथि आखिरी मासिक धर्म की अवधि में 280 दिन जोड़कर निर्धारित की जाती है इसे 28 दिनों से भिन्न होने पर चक्र की लंबाई के लिए समायोजित किया जाता है आप एक निषेचन तिथि (+266 दिन) आईवीएफ ट्रांसफर या अल्ट्रासाउंड माप से भी तारीख निर्धारित कर सकते हैं हर उत्तर बताता है कि किस सूत्र ने उत्तर उत्पन्न किया
हाँ /v1/redate एसीओजी समिति की राय 700 (2017, 2022 में पुष्टि की गई) के तालिका 1 को पूरी तरह से लागू करता है जिसमें वह विवरण शामिल है जो अधिकांश कार्यान्वयन चूक जाते हैं: गर्भावस्था की आयु पंक्ति को स्कैन में एलएमपी-व्युत्पन्न आयु द्वारा चुना जाता है तालिका के अपने फुटनोट के अनुसार न कि अल्ट्रासाउंड-व्युत्पन्न आयु द्वारा प्रतिक्रिया आपको बताती है कि कौन सा नियम लागू हुआ दिनो में असमानता और क्या माप जो आपने भेजा है वह है जो एसीओजी उस गर्भावस्था की आयु पर अनुशंसा करता है
वे अलग-अलग गणना की जाती हैं: नियत तिथि = ट्रांसफर तिथि + (266 − भ्रूण आयु दिनों में) दिन-3 का ट्रांसफर ट्रांसफर + 263 दिन देता है दिन-5 का ब्लास्टोसिस्ट ट्रांसफर + 261 देता है दिन-6 ट्रांसफर + 260 देता है और अंडा निकासी निकासी + 266 देती है दिन-3 और दिन-5 के ट्रांसफर एक ही तिथि पर दो दिन अलग होते हैं - एक अंतर जिसे सामान्य गणक आमतौर पर समाहित करते हैं
क्राउन-रंप लंबाई रॉबिन्सन-फ्लेमिंग 1975 (ब्रिटिश जर्नल ऑफ ऑब्स्टेट्रिक्स एंड गायनेकोलॉजी 1975;82:702-710) का उपयोग करती है जो पहले त्रैमासिक मानक के रूप में NICE, RCOG और ISUOG द्वारा उद्धृत किया गया है BPD, HC, AC और FL हैडलॉक 1984 (रेडियोलॉजी 1984;152:497-501) का उपयोग करते हैं और सभी चारों का उपयोग करते हुए हैडलॉक की अपनी बहु-परामेटर समुच्चय रिग्रेशन प्रदान करती है हर प्रतिक्रिया सटीक सूत्र का नाम लेती है
हां कोई एंडपॉइंट सर्वर घड़ी को नहीं पढ़ता कोई भी गणना जो "आज" पर निर्भर करती है उसे एक स्पष्ट as_of तिथि की आवश्यकता होती है और इसे छोड़ने पर एक विशिष्ट त्रुटि वापस आती है न कि एक मौन अनुमान वही अनुरोध /v1 के भीतर अनंत काल तक वही उत्तर लौटाता है जो प्रतिक्रिया को कैश करने और परीक्षण करने के लिए सुरक्षित बनाता है
साइकिल_length_range को [मिन, मैक्स] के रूप में भेजें न कि एकल साइकिल_length के रूप में प्रतिक्रिया में edd_earliest, edd_latest, स्पष्ट रूप से लेबल किया गया मध्य बिंदु और दिनों में रेंज चौड़ाई लौटाई जाती है न कि एकल तिथि जो सटीकता का संकेत देती है जिसे इनपुट समर्थन नहीं करता
हाँ। as_of किसी भी तिथि को स्वीकार करता है इसलिए एक पिछली डिलीवरी तिथि भेजने से डिलीवरी के समय की गर्भावधि उम्र लौटती है /v1/milestones यह भी रिपोर्ट करता है कि वह डिलीवरी किस अवधि की श्रेणी में आएगी - प्रारंभिक अवधि पूर्ण अवधि देर से अवधि बाद की अवधि या चार पूर्व जन्म उपश्रेणियों में से एक।
नहीं API स्टेटलेस है और कुछ भी संग्रहित नहीं करती अनुरोध लॉग केवल एंडपॉइंट स्थिति कोड प्रतिक्रिया समय और कौन से मार्केटप्लेस से अनुरोध आया है यह रिकॉर्ड करते हैं कभी भी कोई तारीख माप चक्र की लंबाई या गणना परिणाम नहीं होता
नहीं यह प्रकाशित तिथि फॉर्मूला और दिशा-निर्देश तालिकाओं का एक संदर्भ कार्यान्वयन है जो सूचना और सॉफ़्टवेयर-एकीकरण उपयोग के लिए है यह नैदानिक सलाह नहीं है निदान के उपयोग के लिए नहीं है और न ही गर्भनिरोधक मार्गदर्शन है हर प्रतिक्रिया में उस कथन को उसके मेटा.डिस्क्लेमर फ़ील्ड में शामिल किया गया है
हाँ, एक 7-दिन की परीक्षण अवधि जिसमें 50 अनुरोध तक शामिल हैं ताकि आप अपने संदर्भ के मामलों के खिलाफ गणनाओं को सत्यापित कर सकें इससे पहले कि आप एक योजना पर प्रतिबद्ध हों