{"uid":"cap_aj4LrJvoIORnGau2zOP9C","slug":"galad-score-calculator-johnson-2014-3c69f049","name":"GALAD Score Calculator (Johnson 2014)","description":"Johnson 2014 GALAD linear predictor from age, sex, AFP ng/mL, AFP-L3 percent, and DCP ng/mL. galad_score = -10.08 + 0.09*age + 1.67*sex + 2.34*log10(AFP) + 0.04*AFP-L3 + 1.33*log10(DCP); sex is 1 if male else 0. Returns galad_score to 2 decimals. Not an HCC diagnosis, listing protocol, probability, or Johnson 2015 ALBI. DCP is ng/mL, not mAU/mL.","url":"https://api.magentlab.com/api/calc/galad","method":"GET","headers":{},"bodySchema":{"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","sex","afp_ng_ml","afp_l3_percent","dcp_ng_ml"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Eighteen is an implementation clamp; Johnson 2014 is adult chronic liver disease."},"sex":{"enum":["female","male"],"type":"string","description":"Sex used in the linear predictor (male = 1, female = 0)."},"afp_ng_ml":{"type":"number","description":"AFP in ng/mL (0.1-100000). Johnson 2014 uses log10 of ng/mL. Not a conversion from other units."},"dcp_ng_ml":{"type":"number","description":"DCP (des-gamma-carboxy prothrombin) in ng/mL (0.1-100000). Johnson 2014 uses log10 of ng/mL. Not mAU/mL; magent does not convert."},"afp_l3_percent":{"type":"number","description":"AFP-L3 as a raw percent of total AFP (0-100). Enters unlogged. Johnson 2014 does not take log10 of AFP-L3."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MVf3LAfNn9ymtit9z4m5a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Johnson 2014 GALAD linear predictor score for hepatocellular carcinoma risk from age, sex, AFP, AFP-L3, and DCP biomarker values.","exampleAgentPrompt":"Calculate the GALAD score for a 58-year-old male with AFP of 45 ng/mL, AFP-L3 of 12 percent, and DCP of 80 ng/mL.","exampleUseCases":[{"title":"HCC surveillance biomarker scoring","prompt":"I have a 63-year-old male patient with chronic hepatitis B — his AFP is 120 ng/mL, AFP-L3 is 22 percent, and DCP is 150 ng/mL. Can you calculate his GALAD score?"},{"title":"Automated lab result enrichment","prompt":"For this female patient aged 51, her latest labs show AFP 8.4 ng/mL, AFP-L3 5 percent, and DCP 2.1 ng/mL — what is her Johnson 2014 GALAD score?"},{"title":"Comparing serial GALAD scores over time","prompt":"Calculate the GALAD score for a 70-year-old male with AFP 300 ng/mL, AFP-L3 35 percent, and DCP 500 ng/mL so I can compare it against his score from last quarter."}],"resultDescription":"Returns a single GALAD score rounded to 2 decimal places, computed as: -10.08 + 0.09×age + 1.67×sex + 2.34×log10(AFP ng/mL) + 0.04×AFP-L3% + 1.33×log10(DCP ng/mL). The score is a continuous linear predictor value — not a probability, diagnosis, or listing protocol recommendation.","failureModes":["Missing required query parameters (age, sex, afp_ng_ml, afp_l3_percent, dcp_ng_ml) returns a validation error","AFP or DCP values outside valid range (0.1–100000 ng/mL) may be rejected or clamped","Age below 18 is clamped to 18 per implementation","DCP provided in mAU/mL instead of ng/mL produces incorrect score without warning (no unit conversion performed)","Payment not included or insufficient USDC results in HTTP 402 response","AFP-L3 outside 0–100 percent range may cause unexpected results"],"whenToPreferThis":"Use this endpoint when you need to compute the exact Johnson 2014 GALAD linear predictor score using AFP (ng/mL), AFP-L3 (%), and DCP (ng/mL) inputs. Prefer this over manual calculation to avoid unit-conversion mistakes and to ensure the correct formula variant (Johnson 2014, not Johnson 2015 ALBI variant) is applied. Not appropriate for obtaining a diagnostic probability, ALBI grade, or listing protocol decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:09.761Z","isFirstParty":false}