{
"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/13378/pregnancy+due+date+-+gestational+age+api/28559/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/13378/pregnancy+due+date+-+gestational+age+api/28560/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/13378/pregnancy+due+date+-+gestational+age+api/28595/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/13378/pregnancy+due+date+-+gestational+age+api/28596/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/13378/pregnancy+due+date+-+gestational+age+api/28597/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/13378/pregnancy+due+date+-+gestational+age+api/28598/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/13378/pregnancy+due+date+-+gestational+age+api/28599/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/13378/pregnancy+due+date+-+gestational+age+api/28600/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/13378/pregnancy+due+date+-+gestational+age+api/28601/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/13378/pregnancy+due+date+-+gestational+age+api/28602/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/13378/pregnancy+due+date+-+gestational+age+api/28603/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/13378/pregnancy+due+date+-+gestational+age+api/28604/list+available+methods+and+parameters' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए गर्भावस्था की अवधि - प्रसव की तारीख API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
गर्भावस्था की नियत तिथि और गर्भावस्था की आयु एपीआई ली के अनुसार नियत तिथि निषेचन आईवीएफ ट्रांसफर का दिन या अल्ट्रासाउंड सीआरएल एसीओजी पुनः दिनांकित करने के नियम तिमाही और अवधि मील के पत्थर निर्धारित आईएसओ 8601 तिथियां
नैजेल का नियम: अपेक्षित तिथि अंतिम मासिक धर्म की अवधि में 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 को एकल cycle_length के बजाय [min, max] के रूप में भेजें प्रतिक्रिया edd_earliest edd_latest स्पष्ट रूप से लेबल किया गया मध्य बिंदु और दिन में सीमा की चौड़ाई लौटाती है न कि एकल दिनांक जो उस सटीकता का सुझाव देती है जिसे इनपुट समर्थन नहीं करता
हां as_of किसी भी तारीख को स्वीकार करता है इसलिए पिछले डिलीवरी की तारीख देने पर डिलीवरी के समय गर्भावस्था की उम्र लौटाता है /v1/milestones यह भी रिपोर्ट करता है कि यह डिलीवरी किस अवधि श्रेणी में आएगी - जल्दी अवधि पूर्ण अवधि देर से अवधि पोस्ट-डेट या चार प्रीटर्म उपश्रेणियों में से एक केवल
नहीं API स्टेटलेस है और कुछ भी नहीं स्टोर करती है अनुरोध लॉग्स केवल एंडपॉइंट स्थिति कोड प्रतिक्रिया समय और किस मार्केटप्लेस से अनुरोध आया है केवल रिकॉर्ड करते हैं कभी भी कोई तारीख कोई मापन कोई चक्र लंबाई या कोई गणना का परिणाम नहीं
नहीं यह प्रकाशित तिथि फ़ार्मुलों और मार्गदर्शिका तालिकाओं का एक संदर्भ कार्यान्वयन है सूचना और सॉफ़्टवेयर-एकीकरण के उपयोग के लिए यह चिकित्सीय सलाह नहीं है निदान के उपयोग के लिए नहीं है और न ही गर्भनिरोधक मार्गदर्शन है प्रत्येक उत्तर में उस कथन को इसके मेटा.अस्वीकृति क्षेत्र में शामिल किया गया है
हाँ एक 7-दिन की परीक्षण अवधि है जिसमें 50 तक अनुरोध हो सकते हैं ताकि आप योजना को अपनाने से पहले अपने संदर्भ मामलों के खिलाफ गणनाओं की पुष्टि कर सकें