{"id":"60c7de55-5ab5-4718-9292-ce2471f885d1","url":"https://api.magentlab.com/api/calc/gahs?age=40&bilirubin_mg_dl=4.7&bilirubin_umol_l=80&bun_mg_dl=11.2&pt_ratio=1.2&urea_mmol_l=4&wbc_k_ul=8&wbc_ul=8000","method":"GET","fingerprint":"34370f3efbffb084cdb3202696d1d501c1afd87272095f5bc3a7a84ba8a2056b","name":"magent","description":null,"category":"other","docs_url":null,"advertised_price_usd":"0.005000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","scheme":"exact","networks":["eip155:8453"],"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","input_schema":{"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":["age","pt_ratio"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). <50 scores 1; ≥50 scores 2 (Forrest 2005)."},"wbc_ul":{"type":"number","description":"WBC in cells/µL. Converted as K/µL = cells/µL / 1000."},"pt_ratio":{"type":"number","description":"Prothrombin-time ratio (0.8-10). <1.5 scores 1; 1.5-2.0 scores 2; >2.0 scores 3."},"wbc_k_ul":{"type":"number","description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. <15 scores 1; ≥15 scores 2."},"bun_mg_dl":{"type":"number","description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8."},"urea_mmol_l":{"type":"number","description":"Urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <5 scores 1; ≥5 scores 2."},"bilirubin_mg_dl":{"type":"number","description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1."},"bilirubin_umol_l":{"type":"number","description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl. <125 scores 1; 125-250 scores 2; >250 scores 3."}}}},"additionalProperties":false},"output_schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"schema_completeness":0,"status":"degraded","first_seen_at":"2026-08-23 14:06:36.196406+00","last_seen_at":"2026-08-23 14:06:35.897+00","last_success_at":"2026-09-05 10:59:36.994+00","dead_since":null,"probe_backoff_tier":3,"next_probe_at":"2026-09-15 11:09:54.708+00","search_tsv":"'magent':1","catalog_number":"4367","x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/gahs","resource_description":"Forrest 2005 Glasgow alcoholic hepatitis score from age, WBC, urea, PT ratio, and bilirubin (range 5-12) with the published ≥9 band. Deterministic published arithmetic with citation; not a steroid order.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"age":40,"wbc_ul":8000,"pt_ratio":1.2,"wbc_k_ul":8,"bun_mg_dl":11.2,"urea_mmol_l":4,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80}},"output":{"type":"json","example":{"score":5,"formula":"gahs","citation":{"id":"forrest-2005","doi":"10.1136/gut.2004.050781","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score","source":"Gut. 2005;54(8):1174-1179","authors":"Forrest EH, Evans CD, Stewart S, et al."},"pt_ratio":1.2,"wbc_k_ul":8,"age_years":40,"gahs_band":"lt_9","max_score":12,"min_score":5,"components":[{"value":40,"factor":"age","points":1,"present":false},{"value":8,"factor":"wbc","points":1,"present":false},{"value":4,"factor":"urea","points":1,"present":false},{"value":1.2,"factor":"pt_ratio","points":1,"present":false},{"value":80,"factor":"bilirubin","points":1,"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.","urea_mmol_l":4,"bilirubin_umol_l":80,"formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12"}},"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":["age","pt_ratio"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). <50 scores 1; ≥50 scores 2 (Forrest 2005)."},"wbc_ul":{"type":"number","description":"WBC in cells/µL. Converted as K/µL = cells/µL / 1000."},"pt_ratio":{"type":"number","description":"Prothrombin-time ratio (0.8-10). <1.5 scores 1; 1.5-2.0 scores 2; >2.0 scores 3."},"wbc_k_ul":{"type":"number","description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. <15 scores 1; ≥15 scores 2."},"bun_mg_dl":{"type":"number","description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8."},"urea_mmol_l":{"type":"number","description":"Urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <5 scores 1; ≥5 scores 2."},"bilirubin_mg_dl":{"type":"number","description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1."},"bilirubin_umol_l":{"type":"number","description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl. <125 scores 1; 125-250 scores 2; >250 scores 3."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/gahs?age=40&bilirubin_mg_dl=4.7&bilirubin_umol_l=80&bun_mg_dl=11.2&pt_ratio=1.2&urea_mmol_l=4&wbc_k_ul=8&wbc_ul=8000","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact","network":"eip155:8453","amountAtomic":"5000"},{"raw":{"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},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"batch-settlement","network":"eip155:8453","amountAtomic":"5000"}],"bazaar_compatible":false,"bazaar_validated_at":"2026-09-14 11:09:54.708+00","bazaar_validation_error":"timeout","window":"24h","probes_n":1,"handshake_uptime":0,"settle_success_rate":0,"valid_result_rate":null,"latency_p50":10005,"latency_p90":10005,"price_drift_pct":null,"score":0,"computed_at":"2026-09-14 11:10:17.605+00","source_metadata":[{"raw":{"url":"https://api.magentlab.com/api/calc/gahs?age=40&bilirubin_mg_dl=4.7&bilirubin_umol_l=80&bun_mg_dl=11.2&pt_ratio=1.2&urea_mmol_l=4&wbc_k_ul=8&wbc_ul=8000","name":"magent","method":"GET","source":"bazaar:api.cdp.coinbase.com","fingerprint":"34370f3efbffb084cdb3202696d1d501c1afd87272095f5bc3a7a84ba8a2056b","advertisedPriceUsd":0.005},"source_id":1,"external_id":null}],"live_endpoint_metadata":{"x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/gahs","resource_description":"Forrest 2005 Glasgow alcoholic hepatitis score from age, WBC, urea, PT ratio, and bilirubin (range 5-12) with the published ≥9 band. Deterministic published arithmetic with citation; not a steroid order.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"age":40,"wbc_ul":8000,"pt_ratio":1.2,"wbc_k_ul":8,"bun_mg_dl":11.2,"urea_mmol_l":4,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80}},"output":{"type":"json","example":{"score":5,"formula":"gahs","citation":{"id":"forrest-2005","doi":"10.1136/gut.2004.050781","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score","source":"Gut. 2005;54(8):1174-1179","authors":"Forrest EH, Evans CD, Stewart S, et al."},"pt_ratio":1.2,"wbc_k_ul":8,"age_years":40,"gahs_band":"lt_9","max_score":12,"min_score":5,"components":[{"value":40,"factor":"age","points":1,"present":false},{"value":8,"factor":"wbc","points":1,"present":false},{"value":4,"factor":"urea","points":1,"present":false},{"value":1.2,"factor":"pt_ratio","points":1,"present":false},{"value":80,"factor":"bilirubin","points":1,"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.","urea_mmol_l":4,"bilirubin_umol_l":80,"formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12"}},"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":["age","pt_ratio"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). <50 scores 1; ≥50 scores 2 (Forrest 2005)."},"wbc_ul":{"type":"number","description":"WBC in cells/µL. Converted as K/µL = cells/µL / 1000."},"pt_ratio":{"type":"number","description":"Prothrombin-time ratio (0.8-10). <1.5 scores 1; 1.5-2.0 scores 2; >2.0 scores 3."},"wbc_k_ul":{"type":"number","description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. <15 scores 1; ≥15 scores 2."},"bun_mg_dl":{"type":"number","description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8."},"urea_mmol_l":{"type":"number","description":"Urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <5 scores 1; ≥5 scores 2."},"bilirubin_mg_dl":{"type":"number","description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1."},"bilirubin_umol_l":{"type":"number","description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl. <125 scores 1; 125-250 scores 2; >250 scores 3."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/gahs?age=40&bilirubin_mg_dl=4.7&bilirubin_umol_l=80&bun_mg_dl=11.2&pt_ratio=1.2&urea_mmol_l=4&wbc_k_ul=8&wbc_ul=8000","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact","network":"eip155:8453","amountAtomic":"5000"},{"raw":{"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},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"batch-settlement","network":"eip155:8453","amountAtomic":"5000"}],"bazaar_compatible":false,"bazaar_validated_at":"2026-09-14 11:09:54.708+00","bazaar_validation_error":"timeout"},"sonar_metrics":{"score":0,"uptime":0,"paid_success_rate":0,"valid_result_rate":null,"latency_p50":10005,"latency_p90":10005,"price_drift_pct":null},"cdp_indexed":false,"confidence":"low"}