Alvarez 1999 revised original IAIHG AIH score, not Hennes 2008 simplified
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 autoantibo…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-12
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: aih-original · autoimmune · hepatitis · liver · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-12
{
"items": [
{
"alcohol_intake": "gt_60",
"alp_ratio": "gt_3",
"ama_positive": true,
"autoantibody_titer": "lt_1_40",
"biliary_changes": true,
"globulin_igg": "lt_1x",
"hepatotoxic_drugs": true,
"hla_dr3_or_dr4": false,
"interface_hepatitis": false,
"liver_cell_rosettes": false,
"lymphoplasmacytic_infiltrate": false,
"other_atypical_histology": true,
"other_autoantibodies": false,
"other_autoimmune_disease": false,
"sex": "male",
"treatment_response": "none",
"viral_markers_positive": true
},
{
"alcohol_intake": "gt_60",
"alp_ratio": "gt_3",
"ama_positive": true,
"autoantibody_titer": "lt_1_40",
"biliary_changes": true,
"globulin_igg": "lt_1x",
"hepatotoxic_drugs": true,
"hla_dr3_or_dr4": false,
"interface_hepatitis": false,
"liver_cell_rosettes": false,
"lymphoplasmacytic_infiltrate": false,
"other_atypical_histology": true,
"other_autoantibodies": false,
"other_autoimmune_disease": false,
"sex": "male",
"treatment_response": "none",
"viral_markers_positive": true
}
]
}{
"count": 2,
"items": [
{
"aih_band": "not_aih",
"citation": {
"authors": "Alvarez F, Berg PA, Bianchi FB, et al.",
"doi": "10.1016/s0168-8278(99)80297-9",
"id": "alvarez-1999",
"pmid": "10580593",
"source": "J Hepatol. 1999;31(5):929-938",
"title": "International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"
},
"components": [
{
"factor": "sex",
"points": 0,
"present": false,
"value": "male"
},
{
"factor": "alp_ratio",
"points": -2,
"present": true,
"value": "gt_3"
},
{
"factor": "globulin_igg",
"points": 0,
"present": false,
"value": "lt_1x"
},
{
"factor": "autoantibody_titer",
"points": 0,
"present": false,
"value": "lt_1_40"
},
{
"factor": "ama_positive",
"points": -4,
"present": true
},
{
"factor": "viral_markers_positive",
"points": -3,
"present": true,
"value": true
},
{
"factor": "hepatotoxic_drugs",
"points": -4,
"present": true,
"value": true
},
{
"factor": "alcohol_intake",
"points": -2,
"present": true,
"value": "gt_60"
},
{
"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
},
{
"factor": "treatment_response",
"points": 0,
"present": false,
"value": "none"
}
],
"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": "aih_original",
"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",
"max_score": 26,
"score": -26,
"timing": "pretreatment"
},
{
"aih_band": "not_aih",
"citation": {
"authors": "Alvarez F, Berg PA, Bianchi FB, et al.",
"doi": "10.1016/s0168-8278(99)80297-9",
"id": "alvarez-1999",
"pmid": "10580593",
"source": "J Hepatol. 1999;31(5):929-938",
"title": "International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"
},
"components": [
{
"factor": "sex",
"points": 0,
"present": false,
"value": "male"
},
{
"factor": "alp_ratio",
"points": -2,
"present": true,
"value": "gt_3"
},
{
"factor": "globulin_igg",
"points": 0,
"present": false,
"value": "lt_1x"
},
{
"factor": "autoantibody_titer",
"points": 0,
"present": false,
"value": "lt_1_40"
},
{
"factor": "ama_positive",
"points": -4,
"present": true
},
{
"factor": "viral_markers_positive",
"points": -3,
"present": true,
"value": true
},
{
"factor": "hepatotoxic_drugs",
"points": -4,
"present": true,
"value": true
},
{
"factor": "alcohol_intake",
"points": -2,
"present": true,
"value": "gt_60"
},
{
"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
},
{
"factor": "treatment_response",
"points": 0,
"present": false,
"value": "none"
}
],
"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": "aih_original",
"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",
"max_score": 26,
"score": -26,
"timing": "pretreatment"
}
],
"path": "/api/calc/aih_original"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39574.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/aih_original. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 3 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2 | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://api.magentlab.com/api/calc/aih_original"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.magentlab.com/api/calc/aih_original");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.magentlab.com/api/calc/aih_original")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.magentlab.com
- Endpoint
- https://api.magentlab.com/api/calc/aih_original
- Machine-readable
/resources/39574.json