{
  "x402Version": 2,
  "id": 38800,
  "slug": "38800",
  "resource": "https://api.magentlab.com/api/calc/simplified_aih",
  "description": "Hennes 2008 simplified AIH (Table 2): caller-assigned autoantibody points 0-2 (max 2 across ANA/SMA/LKM/SLA), IgG points 0-2 (≤ULN / >ULN / >1.10×ULN), histology none 0 / compatible 1 / typical 2, viral hepatitis absent true 2. Max 8. Score <6 not_aih, 6 probable, ≥7 definite. Not a diagnosis and not the original 1999 IAHG score. magent does not titer autoantibodies, assay IgG vs ULN, or read liver histology.",
  "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": [
              {
                "autoantibody_points": 2,
                "histology": "typical",
                "igg_points": 2,
                "viral_hepatitis_absent": true
              },
              {
                "autoantibody_points": 2,
                "histology": "typical",
                "igg_points": 2,
                "viral_hepatitis_absent": true
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "aih_band": "definite",
                "citation": {
                  "authors": "Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group",
                  "doi": "10.1002/hep.22322",
                  "id": "hennes-2008",
                  "pmid": "18537184",
                  "source": "Hepatology. 2008;48(1):169-176",
                  "title": "Simplified criteria for the diagnosis of autoimmune hepatitis"
                },
                "components": [
                  {
                    "factor": "autoantibody_points",
                    "points": 2,
                    "present": true,
                    "value": 2
                  },
                  {
                    "factor": "igg_points",
                    "points": 2,
                    "present": true,
                    "value": 2
                  },
                  {
                    "factor": "histology",
                    "points": 2,
                    "present": true,
                    "value": "typical"
                  },
                  {
                    "factor": "viral_hepatitis_absent",
                    "points": 2,
                    "present": true
                  }
                ],
                "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": "simplified_aih",
                "formula_expression": "simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite",
                "max_score": 8,
                "score": 8
              },
              {
                "aih_band": "definite",
                "citation": {
                  "authors": "Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group",
                  "doi": "10.1002/hep.22322",
                  "id": "hennes-2008",
                  "pmid": "18537184",
                  "source": "Hepatology. 2008;48(1):169-176",
                  "title": "Simplified criteria for the diagnosis of autoimmune hepatitis"
                },
                "components": [
                  {
                    "factor": "autoantibody_points",
                    "points": 2,
                    "present": true,
                    "value": 2
                  },
                  {
                    "factor": "igg_points",
                    "points": 2,
                    "present": true,
                    "value": 2
                  },
                  {
                    "factor": "histology",
                    "points": 2,
                    "present": true,
                    "value": "typical"
                  },
                  {
                    "factor": "viral_hepatitis_absent",
                    "points": 2,
                    "present": true
                  }
                ],
                "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": "simplified_aih",
                "formula_expression": "simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite",
                "max_score": 8,
                "score": 8
              }
            ],
            "path": "/api/calc/simplified_aih"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "autoantibody_points": {
                          "description": "Caller-assigned Hennes 2008 Table 2 autoantibody points (0, 1, or 2; max 2 across ANA/SMA/LKM/SLA). 0: not scoring. 1: ANA or SMA ≥1:40. 2: ANA or SMA ≥1:80 or LKM ≥1:40 or SLA positive. magent does not titer autoantibodies.",
                          "enum": [
                            0,
                            1,
                            2
                          ],
                          "type": "integer"
                        },
                        "histology": {
                          "description": "Caller-assigned Hennes 2008 Table 2 liver histology. none scores 0 (hepatitis is required for histology points). compatible scores 1. typical scores 2. magent does not read liver histology.",
                          "enum": [
                            "none",
                            "compatible",
                            "typical"
                          ],
                          "type": "string"
                        },
                        "igg_points": {
                          "description": "Caller-assigned Hennes 2008 Table 2 IgG points (0, 1, or 2). 0: IgG ≤ULN. 1: IgG >ULN. 2: IgG >1.10×ULN. magent does not assay IgG vs ULN.",
                          "enum": [
                            0,
                            1,
                            2
                          ],
                          "type": "integer"
                        },
                        "viral_hepatitis_absent": {
                          "description": "Caller-assigned Hennes 2008 Table 2 viral hepatitis absence. true scores 2; false scores 0. magent does not interpret viral serology.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "autoantibody_points",
                        "igg_points",
                        "histology",
                        "viral_hepatitis_absent"
                      ],
                      "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": [
    "simplified-aih",
    "autoimmune",
    "hepatitis",
    "liver",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T15:07:16.266Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T15:07:16.11Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "autoantibody_points": 2,
                  "histology": "typical",
                  "igg_points": 2,
                  "viral_hepatitis_absent": true
                },
                {
                  "autoantibody_points": 2,
                  "histology": "typical",
                  "igg_points": 2,
                  "viral_hepatitis_absent": true
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "aih_band": "definite",
                  "citation": {
                    "authors": "Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group",
                    "doi": "10.1002/hep.22322",
                    "id": "hennes-2008",
                    "pmid": "18537184",
                    "source": "Hepatology. 2008;48(1):169-176",
                    "title": "Simplified criteria for the diagnosis of autoimmune hepatitis"
                  },
                  "components": [
                    {
                      "factor": "autoantibody_points",
                      "points": 2,
                      "present": true,
                      "value": 2
                    },
                    {
                      "factor": "igg_points",
                      "points": 2,
                      "present": true,
                      "value": 2
                    },
                    {
                      "factor": "histology",
                      "points": 2,
                      "present": true,
                      "value": "typical"
                    },
                    {
                      "factor": "viral_hepatitis_absent",
                      "points": 2,
                      "present": true
                    }
                  ],
                  "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": "simplified_aih",
                  "formula_expression": "simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite",
                  "max_score": 8,
                  "score": 8
                },
                {
                  "aih_band": "definite",
                  "citation": {
                    "authors": "Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group",
                    "doi": "10.1002/hep.22322",
                    "id": "hennes-2008",
                    "pmid": "18537184",
                    "source": "Hepatology. 2008;48(1):169-176",
                    "title": "Simplified criteria for the diagnosis of autoimmune hepatitis"
                  },
                  "components": [
                    {
                      "factor": "autoantibody_points",
                      "points": 2,
                      "present": true,
                      "value": 2
                    },
                    {
                      "factor": "igg_points",
                      "points": 2,
                      "present": true,
                      "value": 2
                    },
                    {
                      "factor": "histology",
                      "points": 2,
                      "present": true,
                      "value": "typical"
                    },
                    {
                      "factor": "viral_hepatitis_absent",
                      "points": 2,
                      "present": true
                    }
                  ],
                  "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": "simplified_aih",
                  "formula_expression": "simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite",
                  "max_score": 8,
                  "score": 8
                }
              ],
              "path": "/api/calc/simplified_aih"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "autoantibody_points": {
                            "description": "Caller-assigned Hennes 2008 Table 2 autoantibody points (0, 1, or 2; max 2 across ANA/SMA/LKM/SLA). 0: not scoring. 1: ANA or SMA ≥1:40. 2: ANA or SMA ≥1:80 or LKM ≥1:40 or SLA positive. magent does not titer autoantibodies.",
                            "enum": [
                              0,
                              1,
                              2
                            ],
                            "type": "integer"
                          },
                          "histology": {
                            "description": "Caller-assigned Hennes 2008 Table 2 liver histology. none scores 0 (hepatitis is required for histology points). compatible scores 1. typical scores 2. magent does not read liver histology.",
                            "enum": [
                              "none",
                              "compatible",
                              "typical"
                            ],
                            "type": "string"
                          },
                          "igg_points": {
                            "description": "Caller-assigned Hennes 2008 Table 2 IgG points (0, 1, or 2). 0: IgG ≤ULN. 1: IgG >ULN. 2: IgG >1.10×ULN. magent does not assay IgG vs ULN.",
                            "enum": [
                              0,
                              1,
                              2
                            ],
                            "type": "integer"
                          },
                          "viral_hepatitis_absent": {
                            "description": "Caller-assigned Hennes 2008 Table 2 viral hepatitis absence. true scores 2; false scores 0. magent does not interpret viral serology.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "autoantibody_points",
                          "igg_points",
                          "histology",
                          "viral_hepatitis_absent"
                        ],
                        "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"
  }
}