{"uid":"cap_QjAoZe00odhL3NqRvz6Ke","slug":"barbour-2019-igan-5-year-risk-model-race-free-26e2391c","name":"Barbour 2019 IgAN 5-Year Risk Model (Race-Free)","description":"Barbour 2019 race-free full IgAN model: 5-year risk of 50% eGFR decline or ESKD from age, eGFR, MAP, proteinuria g/day, Oxford MEST, RAS blockade, and immunosuppression at biopsy. Risk = 1 - S0(60)^exp(LP) with eTable 3 coefficients. Caller supplies eGFR; magent does not compute CKD-EPI or score the biopsy. Not the race/ethnicity model. Not KFRE. Not a diagnosis or treatment order. Not a medical device.","url":"https://api.magentlab.com/api/calc/igan_predict","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_years","egfr_ml_min_1_73m2","map_mm_hg","proteinuria_g_day","mest_m","mest_e","mest_s","mest_t","rasb_at_biopsy","immunosuppression_at_biopsy"],"properties":{"mest_e":{"enum":[0,1],"type":"integer","description":"Oxford MEST endocapillary hypercellularity at biopsy. 0 = E0, 1 = E1. magent does not score the biopsy."},"mest_m":{"enum":[0,1],"type":"integer","description":"Oxford MEST mesangial hypercellularity at biopsy. 0 = M0, 1 = M1. magent does not score the biopsy."},"mest_s":{"enum":[0,1],"type":"integer","description":"Oxford MEST segmental sclerosis at biopsy. 0 = S0, 1 = S1. magent does not score the biopsy."},"mest_t":{"enum":[0,1,2],"type":"integer","description":"Oxford MEST tubular atrophy/interstitial fibrosis at biopsy. 0 = T0, 1 = T1, 2 = T2. T1 and T2 have main-effect and proteinuria-interaction terms. magent does not score the biopsy."},"age_years":{"type":"integer","description":"Age at biopsy in years (integer 18-120). Barbour 2019 derivation was adults 18 years or older. Enters the linear predictor as age_years - 38."},"map_mm_hg":{"type":"number","description":"Mean arterial pressure at biopsy in mm Hg (30-180). Enters centered at 97 and in the proteinuria×MAP interaction."},"rasb_at_biopsy":{"type":"boolean","description":"true if renin-angiotensin system blockade (ACE inhibitor or ARB) was in use at biopsy. Enters as 1 or 0 plus a RASB×proteinuria term. magent does not prescribe RAS blockade."},"proteinuria_g_day":{"type":"number","description":"Proteinuria at biopsy in g/day (0.01-20). Enters as natural log, centered at 0.09, plus interactions with MAP, T, and RASB. magent does not assay urine protein."},"egfr_ml_min_1_73m2":{"type":"number","description":"Caller-supplied eGFR in mL/min/1.73 m2 (5-200). Enters as sqrt(eGFR) centered at 8.8. Derivation used CKD-EPI and excluded ESKD at biopsy. magent does not compute CKD-EPI and does not assay creatinine."},"immunosuppression_at_biopsy":{"type":"boolean","description":"true if immunosuppression was in use at biopsy. Enters as 1 or 0. magent does not prescribe immunosuppression."}}}},"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_WIK1HsWp6KrPBGwG-J7B7","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":"Calculates the 5-year risk of 50% eGFR decline or ESKD in IgA nephropathy patients using the Barbour 2019 race-free Cox model with age, eGFR, MAP, proteinuria, Oxford MEST scores, and treatment variables.","exampleAgentPrompt":"Run the Barbour 2019 race-free IgAN 5-year risk model for a 42-year-old patient with eGFR 55, MAP 102 mmHg, proteinuria 1.8 g/day, Oxford MEST scores M1, E0, S1, T1, on RAS blockade but no immunosuppression at biopsy.","exampleUseCases":[{"title":"Pre-visit IgAN risk stratification","prompt":"My nephrologist wants a 5-year ESKD risk estimate before the clinic visit. The patient is 35 years old, eGFR 68, MAP 95 mmHg, proteinuria 0.6 g/day, biopsy MEST is M0, E1, S0, T0, they're on an ACE inhibitor but not on immunosuppression. Can you run the Barbour 2019 race-free IgAN model?"},{"title":"Comparing risk before and after treatment","prompt":"I want to see how much the Barbour 2019 IgAN risk score changes if we consider the patient as being on RAS blockade versus not. Patient is 50 years old, eGFR 45, MAP 110, proteinuria 2.5 g/day, MEST M1 E0 S1 T2, no immunosuppression. First run with RAS blockade true, then with false."},{"title":"High-risk IgAN workup documentation","prompt":"Help me document the predicted 5-year risk for a 29-year-old IgAN patient with eGFR 38, MAP 118, proteinuria 3.2 g/day, Oxford MEST M1 E1 S1 T2, not on RAS blockade, currently on immunosuppression. Use the Barbour 2019 race-free model."}],"resultDescription":"Returns the computed 5-year risk (probability) of 50% eGFR decline or end-stage kidney disease, derived from the Barbour 2019 race-free Cox proportional hazards model. Output includes the linear predictor (LP) and the final risk estimate: 1 − S0(60)^exp(LP), using the published eTable 3 coefficients. Does not return a diagnosis, treatment recommendation, or biopsy scoring.","failureModes":["Missing required query parameters (age, eGFR, MAP, proteinuria, all four MEST scores, rasb_at_biopsy, immunosuppression_at_biopsy) return a validation error","Out-of-range values (e.g., age < 18, proteinuria > 20, MAP outside 30–180) may trigger rejection or undefined behavior","mest_t values other than 0, 1, or 2 are invalid and will be rejected","mest_m/e/s values other than 0 or 1 are invalid","Boolean fields rasb_at_biopsy or immunosuppression_at_biopsy sent as strings instead of true/false may fail parsing","Network or payment (x402) errors may prevent the call from completing"],"whenToPreferThis":"Use this endpoint when you need the Barbour 2019 race-free Cox model specifically for IgA nephropathy prognosis and have pre-scored Oxford MEST pathology values and a caller-supplied eGFR. Prefer this over KFRE (which is not IgAN-specific and does not use MEST scores) or the Barbour race/ethnicity model variant. Do not use for CKD of other etiologies, diagnosis, or treatment planning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:07:28.905Z","isFirstParty":false}