magent

Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.

MediaLiveeip155:8453Exactvia cdp
Aih-originalAutoimmuneHepatitisLiverCalculator
Calls · 30d
1→ 0%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 9 snapshots so far.
$13.75
Verified settled volume
2,750 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0050
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-08-31 13:05Z
Upstream on-chain volume
Reported by the source catalog.
Paid to
0x836Be278f1739fB4308091cD1852F7971Bc19Ee2

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "PAYMENT-SIGNATURE header is required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "paymentFlow": "upfront",
        "resourceUrl": "https://api.magentlab.com/api/calc/aih_original",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    },
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "withdrawDelay": 86400,
        "receiverAuthorizer": "0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    }
  ],
  "resource": {
    "url": "https://api.magentlab.com/api/calc/aih_original",
    "tags": [
      "aih-original",
      "autoimmune",
      "hepatitis",
      "liver",
      "calculator"
    ],
    "mimeType": "application/json",
    "description": "Alvarez 1999 revised original IAIHG AIH score, not Hennes 2008 simplified. Caller-assigned sex, ALP:AST/ALT ratio, globulin/IgG, ANA/SMA/LKM titer, AMA, viral markers, drugs, alcohol, additive histology, other autoimmune disease; optional HLA/other autoantibodies if seronegative and treatment response. Pretreatment definite >15 / probable 10-15; posttreatment definite >17 / probable 12-17. magent does not read histology. Not a diagnosis or immunosuppression order.",
    "serviceName": "magent"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "sex": "male",
            "alp_ratio": "gt_3",
            "ama_positive": true,
            "globulin_igg": "lt_1x",
            "alcohol_intake": "gt_60",
            "hla_dr3_or_dr4": false,
            "biliary_changes": true,
            "hepatotoxic_drugs": true,
            "autoantibody_titer": "lt_1_40",
            "treatment_response": "none",
            "interface_hepatitis": false,
            "liver_cell_rosettes": false,
            "other_autoantibodies": false,
            "viral_markers_positive": true,
            "other_atypical_histology": true,
            "other_autoimmune_disease": false,
            "lymphoplasmacytic_infiltrate": false
          }
        },
        "output": {
          "type": "json",
          "example": {
            "score": -26,
            "timing": "pretreatment",
            "formula": "aih_original",
            "aih_band": "not_aih",
            "citation": {
              "id": "alvarez-1999",
              "doi": "10.1016/s0168-8278(99)80297-9",
              "pmid": "10580593",
              "title": "International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis",
              "source": "J Hepatol. 1999;31(5):929-938",
              "authors": "Alvarez F, Berg PA, Bianchi FB, et al."
            },
            "max_score": 26,
            "components": [
              {
                "value": "male",
                "factor": "sex",
                "points": 0,
                "present": false
              },
              {
                "value": "gt_3",
                "factor": "alp_ratio",
                "points": -2,
                "present": true
              },
              {
                "value": "lt_1x",
                "factor": "globulin_igg",
                "points": 0,
                "present": false
              },
              {
                "value": "lt_1_40",
                "factor": "autoantibody_titer",
                "points": 0,
                "present": false
              },
              {
                "factor": "ama_positive",
                "points": -4,
                "present": true
              },
              {
                "value": true,
                "factor": "viral_markers_positive",
                "points": -3,
                "present": true
              },
              {
                "value": true,
                "factor": "hepatotoxic_drugs",
                "points": -4,
                "present": true
              },
              {
                "value": "gt_60",
                "factor": "alcohol_intake",
                "points": -2,
                "present": true
              },
              {
                "factor": "interface_hepatitis",
                "points": 0,
                "present": false
              },
              {
                "factor": "lymphoplasmacytic_infiltrate",
                "points": 0,
                "present": false
              },
              {
                "factor": "liver_cell_rosettes",
                "points": 0,
                "present": false
              },
              {
                "factor": "typical_histology_absent",
                "points": -5,
                "present": true
              },
              {
                "factor": "biliary_changes",
                "points": -3,
                "present": true
              },
              {
                "factor": "other_atypical_histology",
                "points": -3,
                "present": true
              },
              {
                "factor": "other_autoimmune_disease",
                "points": 0,
                "present": false
              },
              {
                "factor": "other_autoantibodies",
                "points": 0,
                "present": false
              },
              {
                "factor": "hla_dr3_or_dr4",
                "points": 0,
                "present": false
              },
              {
                "value": "none",
                "factor": "treatment_response",
                "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_expression": "revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite >15, probable 10-15; posttreatment definite >17, probable 12-17"
          }
        },
        "iconUrl": "https://api.magentlab.com/favicon.ico"
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "required": [
              "type",
              "method"
            ],
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "queryParams": {
                "type": "object",
                "required": [
                  "sex",
                  "alp_ratio",
                  "globulin_igg",
                  "autoantibody_titer",
                  "ama_positive",
                  "viral_markers_positive",
                  "hepatotoxic_drugs",
                  "alcohol_intake",
                  "interface_hepatitis",
                  "lymphoplasmacytic_infiltrate",
                  "liver_cell_rosettes",
                  "biliary_changes",
                  "other_atypical_histology",
                  "other_autoimmune_disease"
                ],
                "properties": {
                  "sex": {
                    "enum": [
                      "female",
                      "male"
                    ],
                    "type": "string",
                    "description": "Caller-assigned sex (Alvarez 1999). female scores 2; male scores 0. magent does not examine the patient."
                  },
                  "alp_ratio": {
                    "enum": [
                      "lt_1_5",
                      "1_5_to_3",
                      "gt_3"
                    ],
                    "type": "string",
                    "description": "Caller-assigned ALP:(AST or ALT) ratio as multiples of ULN (Alvarez 1999 note 1). lt_1_5 (<1.5) scores 2; 1_5_to_3 (1.5–3.0) scores 0; gt_3 (>3) scores -2. magent does not take raw enzymes."
                  },
                  "ama_positive": {
                    "type": "boolean",
                    "description": "Caller-assigned antimitochondrial antibody. true scores -4; false scores 0 (Alvarez 1999). magent does not assay AMA."
                  },
                  "globulin_igg": {
                    "enum": [
                      "lt_1x",
                      "1_to_1_5x",
                      "1_5_to_2x",
                      "gt_2x"
                    ],
                    "type": "string",
                    "description": "Caller-assigned serum globulin or IgG as multiples of ULN (Alvarez 1999). lt_1x scores 0; 1_to_1_5x scores 1; 1_5_to_2x scores 2; gt_2x scores 3. magent does not assay globulin or IgG."
                  },
                  "alcohol_intake": {
                    "enum": [
                      "lt_25",
                      "25_to_60",
                      "gt_60"
                    ],
                    "type": "string",
                    "description": "Caller-assigned average alcohol intake (Alvarez 1999). lt_25 (<25 g/day) scores 2; 25_to_60 scores 0 (gap between the tabulated <25 and >60 cells); gt_60 (>60 g/day) scores -2."
                  },
                  "hla_dr3_or_dr4": {
                    "type": "boolean",
                    "description": "Optional. HLA DR3 or DR4 (Alvarez 1999 note 9). true scores 1 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0."
                  },
                  "biliary_changes": {
                    "type": "boolean",
                    "description": "Caller-assigned biliary changes typical of PBC or PSC (Alvarez 1999 note 5). true scores -3; additive with other histology items. magent does not read histology."
                  },
                  "hepatotoxic_drugs": {
                    "type": "boolean",
                    "description": "Recent or current known or suspected hepatotoxic drugs (Alvarez 1999 note 4). true scores -4; false scores 1."
                  },
                  "autoantibody_titer": {
                    "enum": [
                      "lt_1_40",
                      "1_40",
                      "1_80",
                      "gt_1_80"
                    ],
                    "type": "string",
                    "description": "Caller-assigned highest ANA, SMA, or LKM-1 immunofluorescence titer (Alvarez 1999). lt_1_40 scores 0; 1_40 scores 1; 1_80 scores 2; gt_1_80 scores 3. magent does not titer autoantibodies."
                  },
                  "treatment_response": {
                    "enum": [
                      "none",
                      "complete",
                      "relapse"
                    ],
                    "type": "string",
                    "description": "Optional. Alvarez 1999 response to therapy, added to presentation points. none or omit: pretreatment bands (definite >15, probable 10-15). complete scores 2; relapse scores 3; both use posttreatment bands (definite >17, probable 12-17). Not an immunosuppression order."
                  },
                  "interface_hepatitis": {
                    "type": "boolean",
                    "description": "Caller-assigned interface hepatitis on liver histology. true scores 3 (Alvarez 1999; additive). magent does not read histology."
                  },
                  "liver_cell_rosettes": {
                    "type": "boolean",
                    "description": "Caller-assigned liver-cell rosettes. true scores 1 (Alvarez 1999; additive). magent does not read histology."
                  },
                  "other_autoantibodies": {
                    "type": "boolean",
                    "description": "Optional. Seropositivity for other defined autoantibodies (pANCA, anti-LC1, anti-SLA, anti-ASGPR, anti-LP, anti-sulfatide; Alvarez 1999 note 8). true scores 2 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0."
                  },
                  "viral_markers_positive": {
                    "type": "boolean",
                    "description": "Caller-assigned hepatitis A/B/C viral markers (Alvarez 1999 note 3). true scores -3; false (negative) scores 3. magent does not interpret viral serology."
                  },
                  "other_atypical_histology": {
                    "type": "boolean",
                    "description": "Caller-assigned other prominent histologic features suggesting a different etiology (Alvarez 1999 note 6). true scores -3; additive. magent does not read histology."
                  },
                  "other_autoimmune_disease": {
                    "type": "boolean",
                    "description": "Any other autoimmune disorder in the patient or first-degree relatives (Alvarez 1999 note 7). true scores 2; false scores 0."
                  },
                  "lymphoplasmacytic_infiltrate": {
                    "type": "boolean",
                    "description": "Caller-assigned predominantly lymphoplasmacytic infiltrate. true scores 1 (Alvarez 1999; additive). magent does not read histology."
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.005USDC≈ $0.005 USD
on Base · exact scheme

Pay 0.005 USDC on Base to 0x836B…19Ee2. The signed payment is good for 10 minutes.

USD Coin contract
0x8335…02913
Payment window
10 minutes
As published
5000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2",
      "paymentFlow": "upfront",
      "resourceUrl": "https://api.magentlab.com/api/calc/aih_original",
      "assetTransferMethod": "eip3009"
    },
    "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
    "amount": "5000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 600
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "items": [
            {
              "sex": "male",
              "alp_ratio": "gt_3",
              "ama_positive": true,
              "globulin_igg": "lt_1x",
              "alcohol_intake": "gt_60",
              "hla_dr3_or_dr4": false,
              "biliary_changes": true,
              "hepatotoxic_drugs": true,
              "autoantibody_titer": "lt_1_40",
              "treatment_response": "none",
              "interface_hepatitis": false,
              "liver_cell_rosettes": false,
              "other_autoantibodies": false,
              "viral_markers_positive": true,
              "other_atypical_histology": true,
              "other_autoimmune_disease": false,
              "lymphoplasmacytic_infiltrate": false
            },
            {
              "sex": "male",
              "alp_ratio": "gt_3",
              "ama_positive": true,
              "globulin_igg": "lt_1x",
              "alcohol_intake": "gt_60",
              "hla_dr3_or_dr4": false,
              "biliary_changes": true,
              "hepatotoxic_drugs": true,
              "autoantibody_titer": "lt_1_40",
              "treatment_response": "none",
              "interface_hepatitis": false,
              "liver_cell_rosettes": false,
              "other_autoantibodies": false,
              "viral_markers_positive": true,
              "other_atypical_histology": true,
              "other_autoimmune_disease": false,
              "lymphoplasmacytic_infiltrate": false
            }
          ]
        },
        "type": "http",
        "method": "POST"
      },
      "output": {
        "type": "json",
        "example": {
          "path": "/api/calc/aih_original",
          "count": 2,
          "items": [
            {
              "score": -26,
              "timing": "pretreatment",
              "formula": "aih_original",
              "aih_band": "not_aih",
              "citation": {
                "id": "alvarez-1999",
                "doi": "10.1016/s0168-8278(99)80297-9",
                "pmid": "10580593",
                "title": "International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis",
                "source": "J Hepatol. 1999;31(5):929-938",
                "authors": "Alvarez F, Berg PA, Bianchi FB, et al."
              },
              "max_score": 26,
              "components": [
                {
                  "value": "male",
                  "factor": "sex",
                  "points": 0,
                  "present": false
                },
                {
                  "value": "gt_3",
                  "factor": "alp_ratio",
                  "points": -2,
                  "present": true
                },
                {
                  "value": "lt_1x",
                  "factor": "globulin_igg",
                  "points": 0,
                  "present": false
                },
                {
                  "value": "lt_1_40",
                  "factor": "autoantibody_titer",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "ama_positive",
                  "points": -4,
                  "present": true
                },
                {
                  "value": true,
                  "factor": "viral_markers_positive",
                  "points": -3,
                  "present": true
                },
                {
                  "value": true,
                  "factor": "hepatotoxic_drugs",
                  "points": -4,
                  "present": true
                },
                {
                  "value": "gt_60",
                  "factor": "alcohol_intake",
                  "points": -2,
                  "present": true
                },
                {
                  "factor": "interface_hepatitis",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "lymphoplasmacytic_infiltrate",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "liver_cell_rosettes",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "typical_histology_absent",
                  "points": -5,
                  "present": true
                },
                {
                  "factor": "biliary_changes",
                  "points": -3,
                  "present": true
                },
                {
                  "factor": "other_atypical_histology",
                  "points": -3,
                  "present": true
                },
                {
                  "factor": "other_autoimmune_disease",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "other_autoantibodies",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "hla_dr3_or_dr4",
                  "points": 0,
                  "present": false
                },
                {
                  "value": "none",
                  "factor": "treatment_response",
                  "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_expression": "revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite >15, probable 10-15; posttreatment definite >17, probable 12-17"
            },
            {
              "score": -26,
              "timing": "pretreatment",
              "formula": "aih_original",
              "aih_band": "not_aih",
              "citation": {
                "id": "alvarez-1999",
                "doi": "10.1016/s0168-8278(99)80297-9",
                "pmid": "10580593",
                "title": "International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis",
                "source": "J Hepatol. 1999;31(5):929-938",
                "authors": "Alvarez F, Berg PA, Bianchi FB, et al."
              },
              "max_score": 26,
              "components": [
                {
                  "value": "male",
                  "factor": "sex",
                  "points": 0,
                  "present": false
                },
                {
                  "value": "gt_3",
                  "factor": "alp_ratio",
                  "points": -2,
                  "present": true
                },
                {
                  "value": "lt_1x",
                  "factor": "globulin_igg",
                  "points": 0,
                  "present": false
                },
                {
                  "value": "lt_1_40",
                  "factor": "autoantibody_titer",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "ama_positive",
                  "points": -4,
                  "present": true
                },
                {
                  "value": true,
                  "factor": "viral_markers_positive",
                  "points": -3,
                  "present": true
                },
                {
                  "value": true,
                  "factor": "hepatotoxic_drugs",
                  "points": -4,
                  "present": true
                },
                {
                  "value": "gt_60",
                  "factor": "alcohol_intake",
                  "points": -2,
                  "present": true
                },
                {
                  "factor": "interface_hepatitis",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "lymphoplasmacytic_infiltrate",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "liver_cell_rosettes",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "typical_histology_absent",
                  "points": -5,
                  "present": true
                },
                {
                  "factor": "biliary_changes",
                  "points": -3,
                  "present": true
                },
                {
                  "factor": "other_atypical_histology",
                  "points": -3,
                  "present": true
                },
                {
                  "factor": "other_autoimmune_disease",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "other_autoantibodies",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "hla_dr3_or_dr4",
                  "points": 0,
                  "present": false
                },
                {
                  "value": "none",
                  "factor": "treatment_response",
                  "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_expression": "revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite >15, probable 10-15; posttreatment definite >17, probable 12-17"
            }
          ]
        }
      },
      "iconUrl": "https://api.magentlab.com/favicon.ico"
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method"
          ],
          "properties": {
            "body": {
              "type": "object",
              "required": [
                "items"
              ],
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "sex",
                      "alp_ratio",
                      "globulin_igg",
                      "autoantibody_titer",
                      "ama_positive",
                      "viral_markers_positive",
                      "hepatotoxic_drugs",
                      "alcohol_intake",
                      "interface_hepatitis",
                      "lymphoplasmacytic_infiltrate",
                      "liver_cell_rosettes",
                      "biliary_changes",
                      "other_atypical_histology",
                      "other_autoimmune_disease"
                    ],
                    "properties": {
                      "sex": {
                        "enum": [
                          "female",
                          "male"
                        ],
                        "type": "string",
                        "description": "Caller-assigned sex (Alvarez 1999). female scores 2; male scores 0. magent does not examine the patient."
                      },
                      "alp_ratio": {
                        "enum": [
                          "lt_1_5",
                          "1_5_to_3",
                          "gt_3"
                        ],
                        "type": "string",
                        "description": "Caller-assigned ALP:(AST or ALT) ratio as multiples of ULN (Alvarez 1999 note 1). lt_1_5 (<1.5) scores 2; 1_5_to_3 (1.5–3.0) scores 0; gt_3 (>3) scores -2. magent does not take raw enzymes."
                      },
                      "ama_positive": {
                        "type": "boolean",
                        "description": "Caller-assigned antimitochondrial antibody. true scores -4; false scores 0 (Alvarez 1999). magent does not assay AMA."
                      },
                      "globulin_igg": {
                        "enum": [
                          "lt_1x",
                          "1_to_1_5x",
                          "1_5_to_2x",
                          "gt_2x"
                        ],
                        "type": "string",
                        "description": "Caller-assigned serum globulin or IgG as multiples of ULN (Alvarez 1999). lt_1x scores 0; 1_to_1_5x scores 1; 1_5_to_2x scores 2; gt_2x scores 3. magent does not assay globulin or IgG."
                      },
                      "alcohol_intake": {
                        "enum": [
                          "lt_25",
                          "25_to_60",
                          "gt_60"
                        ],
                        "type": "string",
                        "description": "Caller-assigned average alcohol intake (Alvarez 1999). lt_25 (<25 g/day) scores 2; 25_to_60 scores 0 (gap between the tabulated <25 and >60 cells); gt_60 (>60 g/day) scores -2."
                      },
                      "hla_dr3_or_dr4": {
                        "type": "boolean",
                        "description": "Optional. HLA DR3 or DR4 (Alvarez 1999 note 9). true scores 1 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0."
                      },
                      "biliary_changes": {
                        "type": "boolean",
                        "description": "Caller-assigned biliary changes typical of PBC or PSC (Alvarez 1999 note 5). true scores -3; additive with other histology items. magent does not read histology."
                      },
                      "hepatotoxic_drugs": {
                        "type": "boolean",
                        "description": "Recent or current known or suspected hepatotoxic drugs (Alvarez 1999 note 4). true scores -4; false scores 1."
                      },
                      "autoantibody_titer": {
                        "enum": [
                          "lt_1_40",
                          "1_40",
                          "1_80",
                          "gt_1_80"
                        ],
                        "type": "string",
                        "description": "Caller-assigned highest ANA, SMA, or LKM-1 immunofluorescence titer (Alvarez 1999). lt_1_40 scores 0; 1_40 scores 1; 1_80 scores 2; gt_1_80 scores 3. magent does not titer autoantibodies."
                      },
                      "treatment_response": {
                        "enum": [
                          "none",
                          "complete",
                          "relapse"
                        ],
                        "type": "string",
                        "description": "Optional. Alvarez 1999 response to therapy, added to presentation points. none or omit: pretreatment bands (definite >15, probable 10-15). complete scores 2; relapse scores 3; both use posttreatment bands (definite >17, probable 12-17). Not an immunosuppression order."
                      },
                      "interface_hepatitis": {
                        "type": "boolean",
                        "description": "Caller-assigned interface hepatitis on liver histology. true scores 3 (Alvarez 1999; additive). magent does not read histology."
                      },
                      "liver_cell_rosettes": {
                        "type": "boolean",
                        "description": "Caller-assigned liver-cell rosettes. true scores 1 (Alvarez 1999; additive). magent does not read histology."
                      },
                      "other_autoantibodies": {
                        "type": "boolean",
                        "description": "Optional. Seropositivity for other defined autoantibodies (pANCA, anti-LC1, anti-SLA, anti-ASGPR, anti-LP, anti-sulfatide; Alvarez 1999 note 8). true scores 2 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0."
                      },
                      "viral_markers_positive": {
                        "type": "boolean",
                        "description": "Caller-assigned hepatitis A/B/C viral markers (Alvarez 1999 note 3). true scores -3; false (negative) scores 3. magent does not interpret viral serology."
                      },
                      "other_atypical_histology": {
                        "type": "boolean",
                        "description": "Caller-assigned other prominent histologic features suggesting a different etiology (Alvarez 1999 note 6). true scores -3; additive. magent does not read histology."
                      },
                      "other_autoimmune_disease": {
                        "type": "boolean",
                        "description": "Any other autoimmune disorder in the patient or first-degree relatives (Alvarez 1999 note 7). true scores 2; false scores 0."
                      },
                      "lymphoplasmacytic_infiltrate": {
                        "type": "boolean",
                        "description": "Caller-assigned predominantly lymphoplasmacytic infiltrate. true scores 1 (Alvarez 1999; additive). magent does not read histology."
                      }
                    }
                  },
                  "maxItems": 25,
                  "minItems": 1
                }
              },
              "additionalProperties": false
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "type": "string",
              "const": "POST"
            },
            "headers": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object"
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-08-31 13:05Z
Last indexed by Roundhouse
2026-09-07 06:20Z
Last enriched (probe, favicon, geo)
2026-09-22 18:45Z
x402 version
2
Max timeout
600s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 9 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service magent and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=magent'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://api.magentlab.com/api/calc/aih_original, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.