{
  "x402Version": 2,
  "id": 39293,
  "slug": "39293",
  "resource": "https://api.magentlab.com/api/calc/bacterial_meningitis",
  "description": "Nigrovic 2002 Bacterial Meningitis Score: CSF Gram stain (2), CSF ANC ≥1000 cells/µL (1), CSF protein ≥80 mg/dL (1), peripheral ANC ≥10 000 cells/µL (1), seizure (1). Max 6. very_low_risk if 0, not_low_risk if ≥1. Children with CSF pleocytosis as in Nigrovic 2002; not a neonatal score. Not a meningitis diagnosis or an antibiotic/LP order. magent does not stain CSF, count neutrophils, assay protein, or witness a seizure.",
  "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": [
              {
                "csf_anc_ge_1000": false,
                "csf_gram_stain": false,
                "csf_protein_ge_80": false,
                "peripheral_anc_ge_10000": false,
                "seizure": false
              },
              {
                "csf_anc_ge_1000": false,
                "csf_gram_stain": false,
                "csf_protein_ge_80": false,
                "peripheral_anc_ge_10000": false,
                "seizure": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "bacterial_meningitis_band": "very_low_risk",
                "citation": {
                  "authors": "Nigrovic LE, Kuppermann N, Malley R",
                  "doi": "10.1542/peds.110.4.712",
                  "id": "nigrovic-2002",
                  "pmid": "12359784",
                  "source": "Pediatrics. 2002;110(4):712-719",
                  "title": "Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"
                },
                "components": [
                  {
                    "factor": "csf_gram_stain",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "csf_anc_ge_1000",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "csf_protein_ge_80",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "peripheral_anc_ge_10000",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "seizure",
                    "points": 0,
                    "present": false
                  }
                ],
                "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": "bacterial_meningitis",
                "formula_expression": "Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1",
                "max_score": 6,
                "score": 0
              },
              {
                "bacterial_meningitis_band": "very_low_risk",
                "citation": {
                  "authors": "Nigrovic LE, Kuppermann N, Malley R",
                  "doi": "10.1542/peds.110.4.712",
                  "id": "nigrovic-2002",
                  "pmid": "12359784",
                  "source": "Pediatrics. 2002;110(4):712-719",
                  "title": "Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"
                },
                "components": [
                  {
                    "factor": "csf_gram_stain",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "csf_anc_ge_1000",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "csf_protein_ge_80",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "peripheral_anc_ge_10000",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "seizure",
                    "points": 0,
                    "present": false
                  }
                ],
                "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": "bacterial_meningitis",
                "formula_expression": "Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1",
                "max_score": 6,
                "score": 0
              }
            ],
            "path": "/api/calc/bacterial_meningitis"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "csf_anc_ge_1000": {
                          "description": "CSF ANC ≥1000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.",
                          "type": "boolean"
                        },
                        "csf_gram_stain": {
                          "description": "Positive CSF Gram stain as assigned by the caller (Nigrovic 2002). true scores 2, not 1. magent does not stain CSF.",
                          "type": "boolean"
                        },
                        "csf_protein_ge_80": {
                          "description": "CSF protein ≥80 mg/dL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not assay protein.",
                          "type": "boolean"
                        },
                        "peripheral_anc_ge_10000": {
                          "description": "Peripheral ANC ≥10 000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.",
                          "type": "boolean"
                        },
                        "seizure": {
                          "description": "Seizure at or before presentation as assigned by the caller (Nigrovic 2002). true scores 1. magent does not witness a seizure.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "csf_gram_stain",
                        "csf_anc_ge_1000",
                        "csf_protein_ge_80",
                        "peripheral_anc_ge_10000",
                        "seizure"
                      ],
                      "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": [
    "meningitis",
    "csf",
    "emergency",
    "pediatric",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T00:16:29.073Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T00:16:28.908Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "csf_anc_ge_1000": false,
                  "csf_gram_stain": false,
                  "csf_protein_ge_80": false,
                  "peripheral_anc_ge_10000": false,
                  "seizure": false
                },
                {
                  "csf_anc_ge_1000": false,
                  "csf_gram_stain": false,
                  "csf_protein_ge_80": false,
                  "peripheral_anc_ge_10000": false,
                  "seizure": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "bacterial_meningitis_band": "very_low_risk",
                  "citation": {
                    "authors": "Nigrovic LE, Kuppermann N, Malley R",
                    "doi": "10.1542/peds.110.4.712",
                    "id": "nigrovic-2002",
                    "pmid": "12359784",
                    "source": "Pediatrics. 2002;110(4):712-719",
                    "title": "Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"
                  },
                  "components": [
                    {
                      "factor": "csf_gram_stain",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "csf_anc_ge_1000",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "csf_protein_ge_80",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "peripheral_anc_ge_10000",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "seizure",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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": "bacterial_meningitis",
                  "formula_expression": "Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1",
                  "max_score": 6,
                  "score": 0
                },
                {
                  "bacterial_meningitis_band": "very_low_risk",
                  "citation": {
                    "authors": "Nigrovic LE, Kuppermann N, Malley R",
                    "doi": "10.1542/peds.110.4.712",
                    "id": "nigrovic-2002",
                    "pmid": "12359784",
                    "source": "Pediatrics. 2002;110(4):712-719",
                    "title": "Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"
                  },
                  "components": [
                    {
                      "factor": "csf_gram_stain",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "csf_anc_ge_1000",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "csf_protein_ge_80",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "peripheral_anc_ge_10000",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "seizure",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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": "bacterial_meningitis",
                  "formula_expression": "Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1",
                  "max_score": 6,
                  "score": 0
                }
              ],
              "path": "/api/calc/bacterial_meningitis"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "csf_anc_ge_1000": {
                            "description": "CSF ANC ≥1000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.",
                            "type": "boolean"
                          },
                          "csf_gram_stain": {
                            "description": "Positive CSF Gram stain as assigned by the caller (Nigrovic 2002). true scores 2, not 1. magent does not stain CSF.",
                            "type": "boolean"
                          },
                          "csf_protein_ge_80": {
                            "description": "CSF protein ≥80 mg/dL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not assay protein.",
                            "type": "boolean"
                          },
                          "peripheral_anc_ge_10000": {
                            "description": "Peripheral ANC ≥10 000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.",
                            "type": "boolean"
                          },
                          "seizure": {
                            "description": "Seizure at or before presentation as assigned by the caller (Nigrovic 2002). true scores 1. magent does not witness a seizure.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "csf_gram_stain",
                          "csf_anc_ge_1000",
                          "csf_protein_ge_80",
                          "peripheral_anc_ge_10000",
                          "seizure"
                        ],
                        "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"
  }
}