{
"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/13388/ovulation+date+and+fertile+window+calculation+api/28677/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/13388/ovulation+date+and+fertile+window+calculation+api/28678/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/13388/ovulation+date+and+fertile+window+calculation+api/28679/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/13388/ovulation+date+and+fertile+window+calculation+api/28680/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/13388/ovulation+date+and+fertile+window+calculation+api/28681/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/13388/ovulation+date+and+fertile+window+calculation+api/28682/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/13388/ovulation+date+and+fertile+window+calculation+api/28683/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/13388/ovulation+date+and+fertile+window+calculation+api/28684/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/13388/ovulation+date+and+fertile+window+calculation+api/28685/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/13388/ovulation+date+and+fertile+window+calculation+api/28686/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/13388/ovulation+date+and+fertile+window+calculation+api/28687/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/13388/ovulation+date+and+fertile+window+calculation+api/28688/list+available+methods+and+parameters' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए Ovulation Date and Fertile Window Calculation API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
Pregnancy due date and gestational age API. EDD from LMP, conception, IVF transfer day, or ultrasound CRL. ACOG redating rules, trimester, and term milestones. Deterministic ISO 8601 dates.
नेगेले का नियम: नियत तिथि अंतिम माहवारी के पहले दिन में 280 दिन जोड़कर निर्धारित की जाती है इसे 28 दिनों से भिन्न चक्र की लंबाई के अनुसार समायोजित किया जाता है आप निषेचन के दिन (+266 दिन) से भी तिथि निर्धारित कर सकते हैं आईवीएफ ट्रांसफर या अल्ट्रासोनोग्राफी मापन से भी हर उत्तर में यह बताया गया है कि किस सूत्र ने उत्तर प्रस्तुत किया
हाँ /v1/redate ACOG समिति की राय 700 (2017, पुनः पुष्टि 2022) की तालिका 1 को पूरी तरह से लागू करता है जिसमें वह विवरण शामिल है जो अधिकांश कार्यान्वयन छोड़ देते हैं: गर्भधारण की आयु की पंक्ति स्कैन के समय LMP द्वारा व्युत्पन्न आयु द्वारा चुनी जाती है तालिका के अपने फुटनोट के अनुसार न कि अल्ट्रासाउंड-व्युत्पन्न आयु से जवाब आपको बताता है कि कौन सा नियम सक्रिय हुआ दिन में भिन्नता और क्या आपने जो माप भेजा है वह उस गर्भधारण की आयु पर ACOG द्वारा अनुशंसित है
वे अलग से गणना किए जाते हैं: निर्धारित तिथि = ट्रांसफर तिथि + (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 में वही अनुरोध अनंत काल तक वही उत्तर लौटाता है जो प्रतिक्रियाओं को कैश करने और परीक्षण करने के लिए सुरक्षित बनाता है
चक्र_लंबाई_की_सीमा को [न्यूनतम, अधिकतम] के रूप में भेजें न कि एकल चक्र_लंबाई के रूप में प्रतिक्रिया edd_earliest edd_latest एक स्पष्ट रूप से चिह्नित मध्य बिंदु और सीमा की चौड़ाई दिनों में लौटाती है न कि एकल दिन जो उस सटीकता का संकेत करता है जिसे इनपुट समर्थन नहीं करता
हां as_of किसी भी दिनांक को स्वीकार करता है इसलिए एक अतीत की डिलीवरी तिथि पास करने से डिलीवरी पर गर्भावस्था की आयु लौटती है /v1/milestones यह भी रिपोर्ट करता है कि वह डिलीवरी किस अवधि श्रेणी में आएगी - प्रारंभिक अवधि पूर्ण अवधि देर से अवधि पोस्ट-टर्म या चार प्रीटर्म उपश्रेणियों में से एक केवल
नहीं API बिना स्थिति के है और कुछ भी नहीं रखता अनुरोध लॉग केवल एंडपॉइंट स्थिति कोड प्रतिक्रिया समय और जिस मार्केटप्लेस से अनुरोध आया है उसे रिकॉर्ड करता है - कभी भी एक तिथि एक माप एक चक्र की लंबाई या एक गणना वाला परिणाम नहीं
नहीं यह प्रकाशित तिथि सूत्रों और दिशानिर्देश तालिकाओं का एक संदर्भ कार्यान्वयन है सूचना और सॉफ्टवेयर-एकीकरण उपयोग के लिए यह चिकित्सा सलाह नहीं है निदान के उपयोग के लिए नहीं है और यह गर्भनिरोधक मार्गदर्शन नहीं है हर प्रतिक्रिया में इसका बयान उसकी मेटा.अस्वीकरण फ़ील्ड में होता है
हाँ, 50 अनुरोधों तक का 7 दिन का परीक्षण है ताकि आप योजनाओं से पहले अपने स्वयं के संदर्भ मामलों के खिलाफ गणनाओं की पुष्टि कर सकें