{
  "x402Version": 2,
  "id": 39154,
  "slug": "39154",
  "resource": "https://api.magentlab.com/api/calc/ich_score",
  "description": "Hemphill 2001 ICH Score from caller-assigned GCS, age, infratentorial origin, ICH volume (mL), and IVH; max 6. GCS 3-4 scores 2, 5-12 scores 1, 13-15 scores 0; age ≥80, volume ≥30 mL, infratentorial origin, and IVH score 1 each. Deterministic published score with citation; not a diagnosis or withdrawal-of-care protocol. magent does not read CT. Not FUNC and not ICH-GS.",
  "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": 70,
                "gcs": 15,
                "ich_volume_ml": 10,
                "infratentorial_origin": false,
                "ivh": false
              },
              {
                "age": 70,
                "gcs": 15,
                "ich_volume_ml": 10,
                "infratentorial_origin": false,
                "ivh": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 70,
                "citation": {
                  "authors": "Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC",
                  "doi": "10.1161/01.STR.32.4.891",
                  "id": "hemphill-2001",
                  "source": "Stroke. 2001;32(4):891-897",
                  "title": "The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"
                },
                "components": [
                  {
                    "factor": "gcs",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "infratentorial_origin",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ich_volume_ml",
                    "points": 0,
                    "present": false,
                    "value": 10
                  },
                  {
                    "factor": "ivh",
                    "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": "ich_score",
                "formula_expression": "ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6",
                "gcs": 15,
                "ich_volume_ml": 10,
                "max_score": 6,
                "score": 0
              },
              {
                "age_years": 70,
                "citation": {
                  "authors": "Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC",
                  "doi": "10.1161/01.STR.32.4.891",
                  "id": "hemphill-2001",
                  "source": "Stroke. 2001;32(4):891-897",
                  "title": "The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"
                },
                "components": [
                  {
                    "factor": "gcs",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "infratentorial_origin",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ich_volume_ml",
                    "points": 0,
                    "present": false,
                    "value": 10
                  },
                  {
                    "factor": "ivh",
                    "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": "ich_score",
                "formula_expression": "ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6",
                "gcs": 15,
                "ich_volume_ml": 10,
                "max_score": 6,
                "score": 0
              }
            ],
            "path": "/api/calc/ich_score"
          },
          "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": {
                          "description": "Age in years (18-120). ≥80 scores 1; 79 does not.",
                          "type": "integer"
                        },
                        "gcs": {
                          "description": "Caller-assigned GCS total (integer 3-15). 3-4 scores 2; 5-12 scores 1; 13-15 scores 0. magent does not compute GCS from eye, verbal, and motor here.",
                          "type": "integer"
                        },
                        "ich_volume_ml": {
                          "description": "ICH volume in mL (cm^3 in Hemphill 2001). Number from 0.1 to 300. ≥30 scores 1; 29.9 does not. magent does not measure volume from imaging.",
                          "type": "number"
                        },
                        "infratentorial_origin": {
                          "description": "Infratentorial origin of the hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.",
                          "type": "boolean"
                        },
                        "ivh": {
                          "description": "Intraventricular hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "gcs",
                        "age",
                        "infratentorial_origin",
                        "ich_volume_ml",
                        "ivh"
                      ],
                      "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": [
    "ich-score",
    "ich",
    "neurology",
    "hemorrhage",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T04:46:46.669Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T04:46:46.497Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 70,
                  "gcs": 15,
                  "ich_volume_ml": 10,
                  "infratentorial_origin": false,
                  "ivh": false
                },
                {
                  "age": 70,
                  "gcs": 15,
                  "ich_volume_ml": 10,
                  "infratentorial_origin": false,
                  "ivh": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 70,
                  "citation": {
                    "authors": "Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC",
                    "doi": "10.1161/01.STR.32.4.891",
                    "id": "hemphill-2001",
                    "source": "Stroke. 2001;32(4):891-897",
                    "title": "The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"
                  },
                  "components": [
                    {
                      "factor": "gcs",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "infratentorial_origin",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ich_volume_ml",
                      "points": 0,
                      "present": false,
                      "value": 10
                    },
                    {
                      "factor": "ivh",
                      "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": "ich_score",
                  "formula_expression": "ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6",
                  "gcs": 15,
                  "ich_volume_ml": 10,
                  "max_score": 6,
                  "score": 0
                },
                {
                  "age_years": 70,
                  "citation": {
                    "authors": "Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC",
                    "doi": "10.1161/01.STR.32.4.891",
                    "id": "hemphill-2001",
                    "source": "Stroke. 2001;32(4):891-897",
                    "title": "The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"
                  },
                  "components": [
                    {
                      "factor": "gcs",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "infratentorial_origin",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ich_volume_ml",
                      "points": 0,
                      "present": false,
                      "value": 10
                    },
                    {
                      "factor": "ivh",
                      "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": "ich_score",
                  "formula_expression": "ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6",
                  "gcs": 15,
                  "ich_volume_ml": 10,
                  "max_score": 6,
                  "score": 0
                }
              ],
              "path": "/api/calc/ich_score"
            },
            "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": {
                            "description": "Age in years (18-120). ≥80 scores 1; 79 does not.",
                            "type": "integer"
                          },
                          "gcs": {
                            "description": "Caller-assigned GCS total (integer 3-15). 3-4 scores 2; 5-12 scores 1; 13-15 scores 0. magent does not compute GCS from eye, verbal, and motor here.",
                            "type": "integer"
                          },
                          "ich_volume_ml": {
                            "description": "ICH volume in mL (cm^3 in Hemphill 2001). Number from 0.1 to 300. ≥30 scores 1; 29.9 does not. magent does not measure volume from imaging.",
                            "type": "number"
                          },
                          "infratentorial_origin": {
                            "description": "Infratentorial origin of the hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.",
                            "type": "boolean"
                          },
                          "ivh": {
                            "description": "Intraventricular hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "gcs",
                          "age",
                          "infratentorial_origin",
                          "ich_volume_ml",
                          "ivh"
                        ],
                        "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"
  }
}