{
"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/13386/pregnancy+trimester+and+term+milestones+api/28689/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/13386/pregnancy+trimester+and+term+milestones+api/28690/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/13386/pregnancy+trimester+and+term+milestones+api/28691/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/13386/pregnancy+trimester+and+term+milestones+api/28692/get+acog+redating+decision?bpd_mm=86&hc_mm=300&ac_mm=280&fl_mm=65&lmp=2025-10-01&scan_date=2026-05-01' --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/13386/pregnancy+trimester+and+term+milestones+api/28693/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/13386/pregnancy+trimester+and+term+milestones+api/28694/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/13386/pregnancy+trimester+and+term+milestones+api/28695/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/13386/pregnancy+trimester+and+term+milestones+api/28696/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/13386/pregnancy+trimester+and+term+milestones+api/28697/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/13386/pregnancy+trimester+and+term+milestones+api/28698/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/13386/pregnancy+trimester+and+term+milestones+api/28699/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/13386/pregnancy+trimester+and+term+milestones+api/28700/list+available+methods+and+parameters' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए Pregnancy Trimester and Term Milestones API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
Trimester boundaries, 24w0d viability, and four preterm and four term classes with their dates.
नेगले का नियम: नियत तारीख अंतिम मासिक धर्म की तारीख में 280 दिन जोड़कर निर्धारित की जाती है और जब यह 28 दिनों से भिन्न होती है तो चक्र की लंबाई के अनुसार समायोजित किया जाता है आप एक गर्भाधारण की तारीख (+266 दिन) आईवीएफ ट्रांसफर या अल्ट्रासाउंड माप से भी तारीख निर्धारित कर सकते हैं प्रत्येक प्रतिक्रिया यह बताती है कि किस फॉर्मूले ने उत्तर उत्पन्न किया
हाँ /v1/redate ACOG समिति की राय 700 (2017, 2022 में पुष्टि) के टेबल 1 को पूरी तरह से लागू करता है जिसमें वह विवरण शामिल है जिसे अधिकांश कार्यान्वयन छोड़ देते हैं: गर्भकालीन आयु की पंक्ति को स्कैन पर LMP-व्युत्पन्न आयु द्वारा चुना जाता है जो तालिका के अपने फुटनोट के अनुसार है न कि अल्ट्रासाउंड-व्युत्पन्न आयु द्वारा प्रतिक्रिया आपको बताती है कि कौन सा नियम लागू हुआ discrepency in days और क्या आप द्वारा भेजा गया माप वही है जो 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 के भीतर अनिश्चितकाल के लिए वही उत्तर लौटाता है जिससे प्रतिक्रियाएँ कैश करने और परीक्षण करने के लिए सुरक्षित होती हैं
चक्र_length_range को [न्यूनतम, अधिकतम] के रूप में भेजें बजाय एकल चक्र_length के केवल प्रतिक्रिया edd_earliest edd_latest एक स्पष्ट रूप से लेबल किया गया मध्य बिंदु और दिन में सीमा चौड़ाई लौटाता है बजाय एकल तिथि जो उस सटीकता का संकेत देती है जिसे इनपुट समर्थन नहीं करता
हाँ as_of किसी भी तारीख को स्वीकार करता है इसलिए एक पुरानी डिलीवरी तारीख पास करने से डिलीवरी के समय गर्भावस्था की आयु दिये गएगी /v1/milestones यह भी बताता है कि वह डिलीवरी किस अवधि की श्रेणी में आएगी - प्रारंभिक अवधि पूर्ण अवधि लेट टर्म पोस्ट टर्म या चार पूर्वकाल श्रेणियों में से एक
नहीं API स्टेटलेस है और कुछ भी संचित नहीं करती अनुरोध लॉग केवल एंडपॉइंट स्टेटस कोड प्रतिक्रिया समय और किस मार्केटप्लेस से अनुरोध आया है यह रिकॉर्ड करते हैं कभी भी कोई तारीख माप चक्र की लंबाई या गणना किया गया परिणाम नहीं
नहीं यह प्रकाशित तिथि सूत्रों और दिशानिर्देश तालिकाओं का एक संदर्भ कार्यान्वयन है सूचना और सॉफ़्टवेयर-एकीकरण उपयोग के लिए यह नैदानिक सलाह नहीं है निदान उपयोग के लिए नहीं है और न ही गर्भनिरोधक मार्गदर्शन है हर प्रतिक्रिया में उस बयान को इसके मेटा.अस्वीकृति क्षेत्र में शामिल किया गया है
हाँ, 50 अनुरोधों तक के साथ 7 दिनों का परीक्षण है, ताकि आप योजना में शामिल होने से पहले अपनी संदर्भ मामलों के खिलाफ गणनाओं की पुष्टि कर सकें