# magent Rome IV Infant Colic Calculator

> magent Rome IV Infant Colic 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).

Evaluates three caregiver-assigned clinical flags to determine whether an infant meets the Benninga 2016 Rome IV G4 criteria for infant colic

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_infant_colic
- 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-rome-iv-infant-colic-calculator-81230774
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nFjIrs6KFq_HFQvPLUhBs

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-rome-iv-infant-colic-calculator-81230774
```

Example prompt: Check if this infant meets the Rome IV G4 criteria for infant colic: symptoms started and stopped before 5 months of age (true), caregivers report recurrent prolonged crying without obvious cause they can't resolve (true), and there's no evidence of failure to thrive, fever, or illness (true).

## When to prefer this

Use this endpoint when you need a fast, reproducible computation of the Rome IV G4 infant colic decision rule based on three explicitly assigned boolean flags. Prefer this over general pediatric reference lookups when you need a structured true/false output for clinical documentation, research cohort screening, or decision-support workflows. Not suitable for situations requiring the research 3-hour or diary-based Rome IV criteria.

## Known failure modes

- Missing required query parameters (any of the three boolean flags omitted) will result in a validation error
- Non-boolean values passed for flags will cause a schema validation failure
- Network or payment authorization errors may result in 402 or 5xx responses
- Misclassification risk if caller assigns flags incorrectly since magent does not examine the infant

## How this service works

Benninga 2016 Rome IV G4 infant colic (clinical). rome_iv_infant_colic is true iff the infant is less than 5 months of age when symptoms start and stop, recurrent prolonged crying, fussing, or irritability without obvious cause that caregivers cannot prevent or resolve, and no evidence of failure to thrive, fever, or illness. Research 3-hour/diary criteria are not parsed. Caller assigns three flags. magent does not examine the infant. Not a diagnosis.

## Output

Returns a boolean field rome_iv_infant_colic indicating whether all three Rome IV G4 criteria are met: infant under 5 months when symptoms start and stop, recurrent prolonged crying/fussing/irritability without obvious cause that caregivers cannot prevent or resolve, and no evidence of failure to thrive, fever, or illness. This is a rule-based computation, not a clinical diagnosis.

## 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": [
      "infant_less_than_5_months_when_symptoms_start_and_stop",
      "recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause",
      "no_failure_to_thrive_fever_or_illness"
     ],
     "properties": {
      "no_failure_to_thrive_fever_or_illness": {
       "type": "boolean",
       "description": "No evidence of infant failure to thrive, fever, or illness, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant."
      },
      "infant_less_than_5_months_when_symptoms_start_and_stop": {
       "type": "boolean",
       "description": "An infant who is less than 5 months of age when the symptoms start and stop, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant."
      },
      "recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause": {
       "type": "boolean",
       "description": "Recurrent and prolonged periods of infant crying, fussing, or irritability reported by caregivers that occur without obvious cause and cannot be prevented or resolved by caregivers, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-rome-iv-infant-colic-calculator-81230774/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)
