{
  "x402Version": 2,
  "id": 39469,
  "slug": "39469",
  "resource": "https://api.magentlab.com/api/calc/abc2",
  "description": "Kothari 1996 ABC/2 ellipsoid ICH volume: (a_cm × b_cm × c_cm) / 2, rounded to one decimal milliliter. A is the largest diameter, B the perpendicular diameter, and C slice count times thickness; the caller supplies all three in cm. Volume estimate only; not the ICH Score. magent does not read imaging or choose A/B/C on the scan. Not a diagnosis.",
  "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": [
              {
                "a_cm": 2,
                "b_cm": 2,
                "c_cm": 2
              },
              {
                "a_cm": 2,
                "b_cm": 2,
                "c_cm": 2
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "a_cm": 2,
                "b_cm": 2,
                "c_cm": 2,
                "citation": {
                  "authors": "Kothari RU, Brott T, Broderick JP, et al.",
                  "doi": "10.1161/01.STR.27.8.1304",
                  "id": "kothari-1996",
                  "source": "Stroke. 1996;27(8):1304-1305",
                  "title": "The ABCs of measuring intracerebral hemorrhage volumes"
                },
                "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": "abc2",
                "formula_expression": "volume_ml = (a_cm * b_cm * c_cm) / 2",
                "volume_ml": 4
              },
              {
                "a_cm": 2,
                "b_cm": 2,
                "c_cm": 2,
                "citation": {
                  "authors": "Kothari RU, Brott T, Broderick JP, et al.",
                  "doi": "10.1161/01.STR.27.8.1304",
                  "id": "kothari-1996",
                  "source": "Stroke. 1996;27(8):1304-1305",
                  "title": "The ABCs of measuring intracerebral hemorrhage volumes"
                },
                "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": "abc2",
                "formula_expression": "volume_ml = (a_cm * b_cm * c_cm) / 2",
                "volume_ml": 4
              }
            ],
            "path": "/api/calc/abc2"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "a_cm": {
                          "description": "Largest diameter A in cm (0.1-20). Caller-assigned; magent does not read a scan.",
                          "type": "number"
                        },
                        "b_cm": {
                          "description": "Largest diameter B perpendicular to A, in cm (0.1-20). Caller-assigned.",
                          "type": "number"
                        },
                        "c_cm": {
                          "description": "C in cm (0.1-20): number of slices times slice thickness. Caller-assigned.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "a_cm",
                        "b_cm",
                        "c_cm"
                      ],
                      "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": [
    "abc2",
    "ich-volume",
    "neurology",
    "hemorrhage",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:48:32.155Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:48:32.026Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "a_cm": 2,
                  "b_cm": 2,
                  "c_cm": 2
                },
                {
                  "a_cm": 2,
                  "b_cm": 2,
                  "c_cm": 2
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "a_cm": 2,
                  "b_cm": 2,
                  "c_cm": 2,
                  "citation": {
                    "authors": "Kothari RU, Brott T, Broderick JP, et al.",
                    "doi": "10.1161/01.STR.27.8.1304",
                    "id": "kothari-1996",
                    "source": "Stroke. 1996;27(8):1304-1305",
                    "title": "The ABCs of measuring intracerebral hemorrhage volumes"
                  },
                  "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": "abc2",
                  "formula_expression": "volume_ml = (a_cm * b_cm * c_cm) / 2",
                  "volume_ml": 4
                },
                {
                  "a_cm": 2,
                  "b_cm": 2,
                  "c_cm": 2,
                  "citation": {
                    "authors": "Kothari RU, Brott T, Broderick JP, et al.",
                    "doi": "10.1161/01.STR.27.8.1304",
                    "id": "kothari-1996",
                    "source": "Stroke. 1996;27(8):1304-1305",
                    "title": "The ABCs of measuring intracerebral hemorrhage volumes"
                  },
                  "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": "abc2",
                  "formula_expression": "volume_ml = (a_cm * b_cm * c_cm) / 2",
                  "volume_ml": 4
                }
              ],
              "path": "/api/calc/abc2"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "a_cm": {
                            "description": "Largest diameter A in cm (0.1-20). Caller-assigned; magent does not read a scan.",
                            "type": "number"
                          },
                          "b_cm": {
                            "description": "Largest diameter B perpendicular to A, in cm (0.1-20). Caller-assigned.",
                            "type": "number"
                          },
                          "c_cm": {
                            "description": "C in cm (0.1-20): number of slices times slice thickness. Caller-assigned.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "a_cm",
                          "b_cm",
                          "c_cm"
                        ],
                        "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"
  }
}