{
  "x402Version": 2,
  "id": 72388,
  "slug": "saylorinnovations-api-health-due-date",
  "resource": "https://saylorinnovations.com/api/health/due-date",
  "description": "Pregnancy due date by Naegele's rule from last period or conception with cycle adjustment, gestational age today, trimester and key milestone dates",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "estimated_due_date": {
        "type": "string",
        "description": "Estimated due date"
      },
      "conception_estimate": {
        "type": "string",
        "description": "Conception estimate"
      },
      "gestational_age_today": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "weeks": {
            "description": "Completed gestational weeks today",
            "type": [
              "number",
              "null"
            ]
          },
          "days": {
            "type": [
              "number",
              "null"
            ],
            "description": "Number of days"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "Text content"
          }
        },
        "description": "Gestational age today"
      },
      "trimester_today": {
        "type": "number",
        "description": "Trimester today"
      },
      "days_until_due": {
        "type": "number",
        "description": "Days until due"
      },
      "percent_complete": {
        "type": "number",
        "description": "Percent complete"
      },
      "milestones": {
        "type": "array",
        "description": "Pregnancy milestones with week, date and what typically happens",
        "items": {
          "type": "object",
          "properties": {
            "week": {
              "description": "Gestational week",
              "type": [
                "number",
                "null"
              ]
            },
            "what": {
              "description": "What typically happens",
              "type": [
                "string",
                "null"
              ]
            },
            "date": {
              "description": "Date (YYYY-MM-DD)"
            }
          }
        }
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      },
      "cycle_adjustment_days": {
        "type": [
          "number",
          "null"
        ],
        "description": "Cycle adjustment days"
      }
    },
    "required": [
      "estimated_due_date",
      "milestones"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "lmp": "2026-06-01",
            "today": "2026-10-17"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "estimated_due_date": "2027-03-08",
            "cycle_adjustment_days": 0,
            "conception_estimate": "2026-06-15",
            "gestational_age_today": {
              "weeks": 19,
              "days": 5,
              "text": "19 weeks 5 days"
            },
            "trimester_today": 2,
            "days_until_due": 142,
            "percent_complete": 49.3,
            "milestones": [
              {
                "week": 6,
                "date": "2026-07-13",
                "what": "heartbeat usually detectable by ultrasound"
              },
              {
                "week": 12,
                "date": "2026-08-24",
                "what": "end of first trimester; nuchal scan window 11-14 weeks"
              },
              {
                "week": 20,
                "date": "2026-10-19",
                "what": "anatomy scan window (18-22 weeks); halfway point"
              },
              {
                "week": 24,
                "date": "2026-11-16",
                "what": "viability threshold; glucose screening 24-28 weeks"
              },
              {
                "week": 28,
                "date": "2026-12-14",
                "what": "start of third trimester"
              },
              {
                "week": 37,
                "date": "2027-02-15",
                "what": "early term begins"
              },
              {
                "week": 39,
                "date": "2027-03-01",
                "what": "full term begins"
              },
              {
                "week": 41,
                "date": "2027-03-15",
                "what": "late term; induction is often discussed from here"
              }
            ],
            "note": "Naegele's rule (LMP + 280 days) adjusted for cycle length; only about 4% of babies arrive on the due date and an early ultrasound dating can differ. This is general information, not medical advice.",
            "source": "Naegele's rule"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "lmp": {
                    "type": "string",
                    "description": "First day of last menstrual period YYYY-MM-DD"
                  },
                  "today": {
                    "type": "string",
                    "description": "optional reference date, default today"
                  }
                },
                "required": [
                  "lmp"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "estimated_due_date": {
                    "type": "string",
                    "description": "Estimated due date"
                  },
                  "conception_estimate": {
                    "type": "string",
                    "description": "Conception estimate"
                  },
                  "gestational_age_today": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "weeks": {
                        "description": "Completed gestational weeks today",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "days": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Number of days"
                      },
                      "text": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Text content"
                      }
                    },
                    "description": "Gestational age today"
                  },
                  "trimester_today": {
                    "type": "number",
                    "description": "Trimester today"
                  },
                  "days_until_due": {
                    "type": "number",
                    "description": "Days until due"
                  },
                  "percent_complete": {
                    "type": "number",
                    "description": "Percent complete"
                  },
                  "milestones": {
                    "type": "array",
                    "description": "Pregnancy milestones with week, date and what typically happens",
                    "items": {
                      "type": "object",
                      "properties": {
                        "week": {
                          "description": "Gestational week",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "what": {
                          "description": "What typically happens",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "date": {
                          "description": "Date (YYYY-MM-DD)"
                        }
                      }
                    }
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  },
                  "cycle_adjustment_days": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Cycle adjustment days"
                  }
                },
                "required": [
                  "estimated_due_date",
                  "milestones"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "pregnancy due date calculator",
    "how many weeks pregnant am i",
    "due date from last period",
    "trimester dates and milestones",
    "estimated delivery date"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.940Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "lmp": {
          "type": "string",
          "description": "First day of last menstrual period YYYY-MM-DD"
        },
        "today": {
          "type": "string",
          "description": "optional reference date, default today"
        }
      },
      "required": [
        "lmp"
      ]
    },
    "exampleResponse": {
      "estimated_due_date": "2027-03-08",
      "cycle_adjustment_days": 0,
      "conception_estimate": "2026-06-15",
      "gestational_age_today": {
        "weeks": 19,
        "days": 5,
        "text": "19 weeks 5 days"
      },
      "trimester_today": 2,
      "days_until_due": 142,
      "percent_complete": 49.3,
      "milestones": [
        {
          "week": 6,
          "date": "2026-07-13",
          "what": "heartbeat usually detectable by ultrasound"
        },
        {
          "week": 12,
          "date": "2026-08-24",
          "what": "end of first trimester; nuchal scan window 11-14 weeks"
        },
        {
          "week": 20,
          "date": "2026-10-19",
          "what": "anatomy scan window (18-22 weeks); halfway point"
        },
        {
          "week": 24,
          "date": "2026-11-16",
          "what": "viability threshold; glucose screening 24-28 weeks"
        },
        {
          "week": 28,
          "date": "2026-12-14",
          "what": "start of third trimester"
        },
        {
          "week": 37,
          "date": "2027-02-15",
          "what": "early term begins"
        },
        {
          "week": 39,
          "date": "2027-03-01",
          "what": "full term begins"
        },
        {
          "week": 41,
          "date": "2027-03-15",
          "what": "late term; induction is often discussed from here"
        }
      ],
      "note": "Naegele's rule (LMP + 280 days) adjusted for cycle length; only about 4% of babies arrive on the due date and an early ultrasound dating can differ. This is general information, not medical advice.",
      "source": "Naegele's rule"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "lmp": "2026-06-01",
              "today": "2026-10-17"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "estimated_due_date": "2027-03-08",
              "cycle_adjustment_days": 0,
              "conception_estimate": "2026-06-15",
              "gestational_age_today": {
                "weeks": 19,
                "days": 5,
                "text": "19 weeks 5 days"
              },
              "trimester_today": 2,
              "days_until_due": 142,
              "percent_complete": 49.3,
              "milestones": [
                {
                  "week": 6,
                  "date": "2026-07-13",
                  "what": "heartbeat usually detectable by ultrasound"
                },
                {
                  "week": 12,
                  "date": "2026-08-24",
                  "what": "end of first trimester; nuchal scan window 11-14 weeks"
                },
                {
                  "week": 20,
                  "date": "2026-10-19",
                  "what": "anatomy scan window (18-22 weeks); halfway point"
                },
                {
                  "week": 24,
                  "date": "2026-11-16",
                  "what": "viability threshold; glucose screening 24-28 weeks"
                },
                {
                  "week": 28,
                  "date": "2026-12-14",
                  "what": "start of third trimester"
                },
                {
                  "week": 37,
                  "date": "2027-02-15",
                  "what": "early term begins"
                },
                {
                  "week": 39,
                  "date": "2027-03-01",
                  "what": "full term begins"
                },
                {
                  "week": 41,
                  "date": "2027-03-15",
                  "what": "late term; induction is often discussed from here"
                }
              ],
              "note": "Naegele's rule (LMP + 280 days) adjusted for cycle length; only about 4% of babies arrive on the due date and an early ultrasound dating can differ. This is general information, not medical advice.",
              "source": "Naegele's rule"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "lmp": {
                      "type": "string",
                      "description": "First day of last menstrual period YYYY-MM-DD"
                    },
                    "today": {
                      "type": "string",
                      "description": "optional reference date, default today"
                    }
                  },
                  "required": [
                    "lmp"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "estimated_due_date": {
                      "type": "string",
                      "description": "Estimated due date"
                    },
                    "conception_estimate": {
                      "type": "string",
                      "description": "Conception estimate"
                    },
                    "gestational_age_today": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "weeks": {
                          "description": "Completed gestational weeks today",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "days": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Number of days"
                        },
                        "text": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Text content"
                        }
                      },
                      "description": "Gestational age today"
                    },
                    "trimester_today": {
                      "type": "number",
                      "description": "Trimester today"
                    },
                    "days_until_due": {
                      "type": "number",
                      "description": "Days until due"
                    },
                    "percent_complete": {
                      "type": "number",
                      "description": "Percent complete"
                    },
                    "milestones": {
                      "type": "array",
                      "description": "Pregnancy milestones with week, date and what typically happens",
                      "items": {
                        "type": "object",
                        "properties": {
                          "week": {
                            "description": "Gestational week",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "what": {
                            "description": "What typically happens",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "date": {
                            "description": "Date (YYYY-MM-DD)"
                          }
                        }
                      }
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    },
                    "cycle_adjustment_days": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Cycle adjustment days"
                    }
                  },
                  "required": [
                    "estimated_due_date",
                    "milestones"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/health/due-date?lmp=2026-06-01&today=2026-10-17",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "estimated_due_date": "string",
    "conception_estimate": "string",
    "gestational_age_today": {
      "weeks": 0,
      "days": 0,
      "text": "string"
    },
    "trimester_today": 0,
    "days_until_due": 0,
    "percent_complete": 0,
    "milestones": [
      {
        "week": 0,
        "what": "string",
        "date": null
      }
    ],
    "note": "string",
    "source": "string",
    "cycle_adjustment_days": 0
  }
}