# Magent Neonatal Early-Onset Sepsis (EOS) Risk Calculator

> Magent Neonatal Early-Onset Sepsis (EOS) Risk Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Calculates neonatal early-onset sepsis risk using Puopolo 2011 prior probability (from maternal/obstetric factors) combined with Escobar 2014 Bayesian posterior update from clinical exam category

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/neonatal_eos
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-neonatal-early-onset-sepsis-eos-risk-calculator-a6439f9f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KMxGIhA0zP_8fTlSzf52z

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magent-neonatal-early-onset-sepsis-eos-risk-calculator-a6439f9f
```

Example prompt: Using the neonatal EOS calculator, estimate the sepsis risk for a 38-week infant — mom's highest temp was 100.8°F, membranes ruptured 18 hours ago, GBS status unknown, no antibiotics given, and the baby's clinical exam looks equivocal; our unit's local EOS incidence is 0.4 per 1000.

## When to prefer this

Use this endpoint when you need a validated, two-stage Bayesian neonatal EOS risk estimate that combines Puopolo 2011 obstetric prior probability with Escobar 2014 clinical exam posterior update. Prefer this over generic sepsis scoring tools when the patient is a late-preterm or term neonate (≥34 weeks) and you have maternal fever, GBS status, ROM duration, antibiotic timing, and a clinical exam category available. Not suitable for infants under 34 weeks gestation or for generating antibiotic orders.

## Known failure modes

- Gestational age below 34 weeks is rejected (Puopolo 2011 scope)
- eos_incidence_per_1000 values other than 0.3, 0.4, 0.5, or 0.6 are rejected (only published intercepts accepted)
- maternal_temp_f outside 94.0–108.0°F range returns an error
- rom_hours outside 0–240 returns an error
- gestational_age_weeks outside 34.0–43.0 returns an error
- Missing required query parameters return a validation error
- Invalid enum values for gbs or clinical_category return an error

## How this service works

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.

## Output

Returns a prior EOS probability (Puopolo 2011 logistic model from gestational age, maternal temperature, ROM duration, GBS status, and antibiotic timing) and a Bayesian posterior probability updated by the Escobar 2014 exam category (well, equivocal, or ill), expressed as a risk per 1000 or similar numeric output. This is a clinical decision-support estimate, not a diagnosis or antibiotic order.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "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"
     ],
     "properties": {
      "gbs": {
       "enum": [
        "negative",
        "positive",
        "unknown"
       ],
       "type": "string",
       "description": "Maternal GBS status: negative, positive, or unknown (Puopolo 2011)."
      },
      "rom_hours": {
       "type": "number",
       "description": "Duration of rupture of membranes in hours (0-240). Transformed as (hours+0.05)^0.2."
      },
      "maternal_temp_f": {
       "type": "number",
       "description": "Highest maternal intrapartum temperature in °F (94.0-108.0), used to 0.1°F."
      },
      "clinical_category": {
       "enum": [
        "well",
        "equivocal",
        "ill"
       ],
       "type": "string",
       "description": "Caller-assigned Escobar 2014 exam category: well, equivocal, or ill. magent does not examine the infant."
      },
      "gbs_or_any_abx_2h": {
       "type": "boolean",
       "description": "true if GBS-specific antibiotics ≥2 h before delivery or any antibiotics 2-3.9 h before delivery. Caller assigns. true or false."
      },
      "broad_spectrum_abx_4h": {
       "type": "boolean",
       "description": "true if broad-spectrum antibiotics ≥4 h before delivery. Caller assigns. true or false."
      },
      "gestational_age_weeks": {
       "type": "number",
       "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)."
      },
      "eos_incidence_per_1000": {
       "enum": [
        0.3,
        0.4,
        0.5,
        0.6
       ],
       "type": "number",
       "description": "Local EOS incidence per 1000 live births. Only 0.3, 0.4, 0.5, or 0.6 (published intercepts
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-neonatal-early-onset-sepsis-eos-risk-calculator-a6439f9f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
