{
  "x402Version": 2,
  "id": 39357,
  "slug": "39357",
  "resource": "https://api.magentlab.com/api/calc/neonatal_eos",
  "description": "Puopolo 2011 neonatal early-onset sepsis prior at birth (≥34 weeks) from maternal temperature, gestational age, ROM, GBS, and antibiotic timing, then Escobar 2014 posterior after a caller-assigned well, equivocal, or ill exam. Incidence intercepts 0.3-0.6 per 1000 replace the printed 47.8398 constant. Not a sepsis diagnosis or antibiotic order. magent does not examine the infant.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "broad_spectrum_abx_4h": false,
                "clinical_category": "well",
                "eos_incidence_per_1000": 0.5,
                "gbs": "negative",
                "gbs_or_any_abx_2h": false,
                "gestational_age_weeks": 40,
                "maternal_temp_f": 98.6,
                "rom_hours": 0
              },
              {
                "broad_spectrum_abx_4h": false,
                "clinical_category": "well",
                "eos_incidence_per_1000": 0.5,
                "gbs": "negative",
                "gbs_or_any_abx_2h": false,
                "gestational_age_weeks": 40,
                "maternal_temp_f": 98.6,
                "rom_hours": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "broad_spectrum_abx_4h": false,
                "citation": {
                  "authors": "Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ",
                  "doi": "10.1542/peds.2010-3464",
                  "id": "puopolo-2011",
                  "pmid": "22025590",
                  "source": "Pediatrics. 2011;128(5):e1155-e1163",
                  "title": "Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"
                },
                "clinical_category": "well",
                "clinical_lr": 0.41,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "eos_incidence_per_1000": 0.5,
                "formula": "neonatal_eos",
                "formula_expression": "SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.",
                "gbs": "negative",
                "gbs_or_any_abx_2h": false,
                "gestational_age_weeks": 40,
                "maternal_temp_f": 98.6,
                "posterior_risk_per_1000": 0.0159,
                "prior_risk_per_1000": 0.0388,
                "rom_hours": 0
              },
              {
                "broad_spectrum_abx_4h": false,
                "citation": {
                  "authors": "Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ",
                  "doi": "10.1542/peds.2010-3464",
                  "id": "puopolo-2011",
                  "pmid": "22025590",
                  "source": "Pediatrics. 2011;128(5):e1155-e1163",
                  "title": "Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"
                },
                "clinical_category": "well",
                "clinical_lr": 0.41,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "eos_incidence_per_1000": 0.5,
                "formula": "neonatal_eos",
                "formula_expression": "SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.",
                "gbs": "negative",
                "gbs_or_any_abx_2h": false,
                "gestational_age_weeks": 40,
                "maternal_temp_f": 98.6,
                "posterior_risk_per_1000": 0.0159,
                "prior_risk_per_1000": 0.0388,
                "rom_hours": 0
              }
            ],
            "path": "/api/calc/neonatal_eos"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "broad_spectrum_abx_4h": {
                          "description": "true if broad-spectrum antibiotics ≥4 h before delivery. Caller assigns. true or false.",
                          "type": "boolean"
                        },
                        "clinical_category": {
                          "description": "Caller-assigned Escobar 2014 exam category: well, equivocal, or ill. magent does not examine the infant.",
                          "enum": [
                            "well",
                            "equivocal",
                            "ill"
                          ],
                          "type": "string"
                        },
                        "eos_incidence_per_1000": {
                          "description": "Local EOS incidence per 1000 live births. Only 0.3, 0.4, 0.5, or 0.6 (published intercepts).",
                          "enum": [
                            0.3,
                            0.4,
                            0.5,
                            0.6
                          ],
                          "type": "number"
                        },
                        "gbs": {
                          "description": "Maternal GBS status: negative, positive, or unknown (Puopolo 2011).",
                          "enum": [
                            "negative",
                            "positive",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "gbs_or_any_abx_2h": {
                          "description": "true if GBS-specific antibiotics ≥2 h before delivery or any antibiotics 2-3.9 h before delivery. Caller assigns. true or false.",
                          "type": "boolean"
                        },
                        "gestational_age_weeks": {
                          "description": "Gestational age in weeks (34.0-43.0). Days as fractional weeks (39+4/7 ≈ 39.5714). Infants below 34 weeks are rejected (Puopolo 2011).",
                          "type": "number"
                        },
                        "maternal_temp_f": {
                          "description": "Highest maternal intrapartum temperature in °F (94.0-108.0), used to 0.1°F.",
                          "type": "number"
                        },
                        "rom_hours": {
                          "description": "Duration of rupture of membranes in hours (0-240). Transformed as (hours+0.05)^0.2.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "gestational_age_weeks",
                        "maternal_temp_f",
                        "rom_hours",
                        "gbs",
                        "gbs_or_any_abx_2h",
                        "broad_spectrum_abx_4h",
                        "eos_incidence_per_1000",
                        "clinical_category"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "neonatal-eos",
    "sepsis",
    "newborn",
    "gbs",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T15:05:33.637Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T15:05:33.5Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "broad_spectrum_abx_4h": false,
                  "clinical_category": "well",
                  "eos_incidence_per_1000": 0.5,
                  "gbs": "negative",
                  "gbs_or_any_abx_2h": false,
                  "gestational_age_weeks": 40,
                  "maternal_temp_f": 98.6,
                  "rom_hours": 0
                },
                {
                  "broad_spectrum_abx_4h": false,
                  "clinical_category": "well",
                  "eos_incidence_per_1000": 0.5,
                  "gbs": "negative",
                  "gbs_or_any_abx_2h": false,
                  "gestational_age_weeks": 40,
                  "maternal_temp_f": 98.6,
                  "rom_hours": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "broad_spectrum_abx_4h": false,
                  "citation": {
                    "authors": "Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ",
                    "doi": "10.1542/peds.2010-3464",
                    "id": "puopolo-2011",
                    "pmid": "22025590",
                    "source": "Pediatrics. 2011;128(5):e1155-e1163",
                    "title": "Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"
                  },
                  "clinical_category": "well",
                  "clinical_lr": 0.41,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "eos_incidence_per_1000": 0.5,
                  "formula": "neonatal_eos",
                  "formula_expression": "SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.",
                  "gbs": "negative",
                  "gbs_or_any_abx_2h": false,
                  "gestational_age_weeks": 40,
                  "maternal_temp_f": 98.6,
                  "posterior_risk_per_1000": 0.0159,
                  "prior_risk_per_1000": 0.0388,
                  "rom_hours": 0
                },
                {
                  "broad_spectrum_abx_4h": false,
                  "citation": {
                    "authors": "Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ",
                    "doi": "10.1542/peds.2010-3464",
                    "id": "puopolo-2011",
                    "pmid": "22025590",
                    "source": "Pediatrics. 2011;128(5):e1155-e1163",
                    "title": "Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"
                  },
                  "clinical_category": "well",
                  "clinical_lr": 0.41,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "eos_incidence_per_1000": 0.5,
                  "formula": "neonatal_eos",
                  "formula_expression": "SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.",
                  "gbs": "negative",
                  "gbs_or_any_abx_2h": false,
                  "gestational_age_weeks": 40,
                  "maternal_temp_f": 98.6,
                  "posterior_risk_per_1000": 0.0159,
                  "prior_risk_per_1000": 0.0388,
                  "rom_hours": 0
                }
              ],
              "path": "/api/calc/neonatal_eos"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "broad_spectrum_abx_4h": {
                            "description": "true if broad-spectrum antibiotics ≥4 h before delivery. Caller assigns. true or false.",
                            "type": "boolean"
                          },
                          "clinical_category": {
                            "description": "Caller-assigned Escobar 2014 exam category: well, equivocal, or ill. magent does not examine the infant.",
                            "enum": [
                              "well",
                              "equivocal",
                              "ill"
                            ],
                            "type": "string"
                          },
                          "eos_incidence_per_1000": {
                            "description": "Local EOS incidence per 1000 live births. Only 0.3, 0.4, 0.5, or 0.6 (published intercepts).",
                            "enum": [
                              0.3,
                              0.4,
                              0.5,
                              0.6
                            ],
                            "type": "number"
                          },
                          "gbs": {
                            "description": "Maternal GBS status: negative, positive, or unknown (Puopolo 2011).",
                            "enum": [
                              "negative",
                              "positive",
                              "unknown"
                            ],
                            "type": "string"
                          },
                          "gbs_or_any_abx_2h": {
                            "description": "true if GBS-specific antibiotics ≥2 h before delivery or any antibiotics 2-3.9 h before delivery. Caller assigns. true or false.",
                            "type": "boolean"
                          },
                          "gestational_age_weeks": {
                            "description": "Gestational age in weeks (34.0-43.0). Days as fractional weeks (39+4/7 ≈ 39.5714). Infants below 34 weeks are rejected (Puopolo 2011).",
                            "type": "number"
                          },
                          "maternal_temp_f": {
                            "description": "Highest maternal intrapartum temperature in °F (94.0-108.0), used to 0.1°F.",
                            "type": "number"
                          },
                          "rom_hours": {
                            "description": "Duration of rupture of membranes in hours (0-240). Transformed as (hours+0.05)^0.2.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "gestational_age_weeks",
                          "maternal_temp_f",
                          "rom_hours",
                          "gbs",
                          "gbs_or_any_abx_2h",
                          "broad_spectrum_abx_4h",
                          "eos_incidence_per_1000",
                          "clinical_category"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}