{
  "x402Version": 2,
  "id": 38764,
  "slug": "38764",
  "resource": "https://api.magentlab.com/api/calc/step_by_step",
  "description": "Gomez 2016 Step-by-Step for febrile infants 90 days and younger (derivation Mintegi 2014). High if ill-appearing, age 21 days or younger, leukocyturia, or PCT >=0.5 ng/mL; else intermediate if CRP >20 mg/L or ANC >10000/uL; else low. Returns risk, low_risk, high_risk, and intermediate_risk. magent does not examine the infant or assay UA, PCT, CRP, or ANC. Not Rochester, Boston, Philadelphia, or PECARN febrile. Not a medical device and not a discharge, admission, LP, or antibiotic order.",
  "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": [
              {
                "age_days": 47,
                "anc_per_ul": 4000,
                "crp_mg_l": 5,
                "leukocyturia": false,
                "pct_ng_ml": 0.2,
                "well_appearing": true
              },
              {
                "age_days": 47,
                "anc_per_ul": 4000,
                "crp_mg_l": 5,
                "leukocyturia": false,
                "pct_ng_ml": 0.2,
                "well_appearing": true
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_days": 47,
                "anc_per_ul": 4000,
                "citation": {
                  "authors": "Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L",
                  "doi": "10.1542/peds.2015-4381",
                  "id": "gomez-2016",
                  "pmid": "27382134",
                  "source": "Pediatrics. 2016;138(2):e20154381",
                  "title": "Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"
                },
                "criteria": [
                  {
                    "factor": "well_appearing",
                    "met": true
                  },
                  {
                    "factor": "age_gt_21",
                    "met": true,
                    "value": 47
                  },
                  {
                    "factor": "no_leukocyturia",
                    "met": true
                  },
                  {
                    "factor": "pct_lt_0_5",
                    "met": true,
                    "value": 0.2
                  },
                  {
                    "factor": "crp_le_20",
                    "met": true,
                    "value": 5
                  },
                  {
                    "factor": "anc_le_10000",
                    "met": true,
                    "value": 4000
                  }
                ],
                "crp_mg_l": 5,
                "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.",
                "formula": "step_by_step",
                "formula_expression": "risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)",
                "high_risk": false,
                "intermediate_risk": false,
                "low_risk": true,
                "pct_ng_ml": 0.2,
                "risk": "low"
              },
              {
                "age_days": 47,
                "anc_per_ul": 4000,
                "citation": {
                  "authors": "Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L",
                  "doi": "10.1542/peds.2015-4381",
                  "id": "gomez-2016",
                  "pmid": "27382134",
                  "source": "Pediatrics. 2016;138(2):e20154381",
                  "title": "Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"
                },
                "criteria": [
                  {
                    "factor": "well_appearing",
                    "met": true
                  },
                  {
                    "factor": "age_gt_21",
                    "met": true,
                    "value": 47
                  },
                  {
                    "factor": "no_leukocyturia",
                    "met": true
                  },
                  {
                    "factor": "pct_lt_0_5",
                    "met": true,
                    "value": 0.2
                  },
                  {
                    "factor": "crp_le_20",
                    "met": true,
                    "value": 5
                  },
                  {
                    "factor": "anc_le_10000",
                    "met": true,
                    "value": 4000
                  }
                ],
                "crp_mg_l": 5,
                "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.",
                "formula": "step_by_step",
                "formula_expression": "risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)",
                "high_risk": false,
                "intermediate_risk": false,
                "low_risk": true,
                "pct_ng_ml": 0.2,
                "risk": "low"
              }
            ],
            "path": "/api/calc/step_by_step"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age_days": {
                          "description": "Chronological age in days (integer 0-90). Gomez 2016 studied febrile infants 90 days and younger. Age 21 days or younger is high-risk. Age 22 can be low-risk when remaining low-risk criteria hold.",
                          "type": "integer"
                        },
                        "anc_per_ul": {
                          "description": "Absolute neutrophil count in cells/µL. Range 0-100000. Intermediate (when not already high) if greater than 10000/µL (10000 is not intermediate). magent does not assay ANC.",
                          "type": "number"
                        },
                        "crp_mg_l": {
                          "description": "C-reactive protein in mg/L. Range 0-500. Intermediate (when not already high) if greater than 20 mg/L (20 is not intermediate). magent does not assay CRP.",
                          "type": "number"
                        },
                        "leukocyturia": {
                          "description": "Caller-assigned leukocyturia (urine dipstick / UA leukocytes) as used in Gomez 2016. true means leukocytes are present and is high-risk. true or false. magent does not assay UA.",
                          "type": "boolean"
                        },
                        "pct_ng_ml": {
                          "description": "Serum procalcitonin in ng/mL. Range 0.01-100. High-risk if 0.5 ng/mL or greater (0.5 is high). Low-risk requires less than 0.5. magent does not assay procalcitonin.",
                          "type": "number"
                        },
                        "well_appearing": {
                          "description": "Caller-assigned well-appearing as used in Gomez 2016. true or false. Ill-appearing (well_appearing=false) is high-risk. magent does not examine the infant.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "age_days",
                        "well_appearing",
                        "leukocyturia",
                        "pct_ng_ml",
                        "crp_mg_l",
                        "anc_per_ul"
                      ],
                      "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": [
    "step-by-step",
    "febrile-infant",
    "emergency",
    "ibi",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T08:41:29.01Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T08:41:28.873Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age_days": 47,
                  "anc_per_ul": 4000,
                  "crp_mg_l": 5,
                  "leukocyturia": false,
                  "pct_ng_ml": 0.2,
                  "well_appearing": true
                },
                {
                  "age_days": 47,
                  "anc_per_ul": 4000,
                  "crp_mg_l": 5,
                  "leukocyturia": false,
                  "pct_ng_ml": 0.2,
                  "well_appearing": true
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_days": 47,
                  "anc_per_ul": 4000,
                  "citation": {
                    "authors": "Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L",
                    "doi": "10.1542/peds.2015-4381",
                    "id": "gomez-2016",
                    "pmid": "27382134",
                    "source": "Pediatrics. 2016;138(2):e20154381",
                    "title": "Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"
                  },
                  "criteria": [
                    {
                      "factor": "well_appearing",
                      "met": true
                    },
                    {
                      "factor": "age_gt_21",
                      "met": true,
                      "value": 47
                    },
                    {
                      "factor": "no_leukocyturia",
                      "met": true
                    },
                    {
                      "factor": "pct_lt_0_5",
                      "met": true,
                      "value": 0.2
                    },
                    {
                      "factor": "crp_le_20",
                      "met": true,
                      "value": 5
                    },
                    {
                      "factor": "anc_le_10000",
                      "met": true,
                      "value": 4000
                    }
                  ],
                  "crp_mg_l": 5,
                  "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.",
                  "formula": "step_by_step",
                  "formula_expression": "risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)",
                  "high_risk": false,
                  "intermediate_risk": false,
                  "low_risk": true,
                  "pct_ng_ml": 0.2,
                  "risk": "low"
                },
                {
                  "age_days": 47,
                  "anc_per_ul": 4000,
                  "citation": {
                    "authors": "Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L",
                    "doi": "10.1542/peds.2015-4381",
                    "id": "gomez-2016",
                    "pmid": "27382134",
                    "source": "Pediatrics. 2016;138(2):e20154381",
                    "title": "Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"
                  },
                  "criteria": [
                    {
                      "factor": "well_appearing",
                      "met": true
                    },
                    {
                      "factor": "age_gt_21",
                      "met": true,
                      "value": 47
                    },
                    {
                      "factor": "no_leukocyturia",
                      "met": true
                    },
                    {
                      "factor": "pct_lt_0_5",
                      "met": true,
                      "value": 0.2
                    },
                    {
                      "factor": "crp_le_20",
                      "met": true,
                      "value": 5
                    },
                    {
                      "factor": "anc_le_10000",
                      "met": true,
                      "value": 4000
                    }
                  ],
                  "crp_mg_l": 5,
                  "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.",
                  "formula": "step_by_step",
                  "formula_expression": "risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)",
                  "high_risk": false,
                  "intermediate_risk": false,
                  "low_risk": true,
                  "pct_ng_ml": 0.2,
                  "risk": "low"
                }
              ],
              "path": "/api/calc/step_by_step"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age_days": {
                            "description": "Chronological age in days (integer 0-90). Gomez 2016 studied febrile infants 90 days and younger. Age 21 days or younger is high-risk. Age 22 can be low-risk when remaining low-risk criteria hold.",
                            "type": "integer"
                          },
                          "anc_per_ul": {
                            "description": "Absolute neutrophil count in cells/µL. Range 0-100000. Intermediate (when not already high) if greater than 10000/µL (10000 is not intermediate). magent does not assay ANC.",
                            "type": "number"
                          },
                          "crp_mg_l": {
                            "description": "C-reactive protein in mg/L. Range 0-500. Intermediate (when not already high) if greater than 20 mg/L (20 is not intermediate). magent does not assay CRP.",
                            "type": "number"
                          },
                          "leukocyturia": {
                            "description": "Caller-assigned leukocyturia (urine dipstick / UA leukocytes) as used in Gomez 2016. true means leukocytes are present and is high-risk. true or false. magent does not assay UA.",
                            "type": "boolean"
                          },
                          "pct_ng_ml": {
                            "description": "Serum procalcitonin in ng/mL. Range 0.01-100. High-risk if 0.5 ng/mL or greater (0.5 is high). Low-risk requires less than 0.5. magent does not assay procalcitonin.",
                            "type": "number"
                          },
                          "well_appearing": {
                            "description": "Caller-assigned well-appearing as used in Gomez 2016. true or false. Ill-appearing (well_appearing=false) is high-risk. magent does not examine the infant.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "age_days",
                          "well_appearing",
                          "leukocyturia",
                          "pct_ng_ml",
                          "crp_mg_l",
                          "anc_per_ul"
                        ],
                        "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"
  }
}