{"uid":"cap_5_AblrcMhz9K-OEg0evFZ","slug":"magent-ain-risk-calculator-moledina-2022-25b23f38","name":"magent AIN Risk Calculator (Moledina 2022)","description":"Moledina 2022 development-model logistic probability of biopsy-proven acute interstitial nephritis from serum creatinine, BUN:creatinine ratio, urine dipstick specific gravity, and dipstick protein (0 or 1+ versus 2+ or higher, caller-assigned). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, and not a kidney biopsy. Does not include urine IL-9 or TNF-α. Moledina 2022 publishes no named low/high cutoff.","url":"https://api.magentlab.com/api/calc/ain_risk","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":["creatinine_mg_dl","bun_cr_ratio","specific_gravity","protein"],"properties":{"protein":{"enum":["le_1","ge_2"],"type":"string","description":"Moledina 2022 dipstick protein category as assigned by the caller: le_1 (0 or 1+, +0.9360127) or ge_2 (2+ or higher, reference, 0). magent does not interpret the dipstick."},"bun_cr_ratio":{"type":"number","description":"BUN:creatinine ratio (mg/dL : mg/dL, 0.5-200) as computed by the caller. Moledina 2022 Table 4: -0.9181938 per natural log. magent does not compute BUN from other labs."},"creatinine_mg_dl":{"type":"number","description":"Serum creatinine in mg/dL (0.1-20). Moledina 2022 Table 4: +0.8367518 per natural log. µmol/L is not accepted on this tool. magent does not assay creatinine."},"specific_gravity":{"type":"number","description":"Urine dipstick specific gravity (1.000-1.050) as assigned by the caller, e.g. 1.015. Moledina 2022 Table 4: -0.0501203 per 0.001 unit. magent does not read the dipstick."}}}},"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_Z8FSic0-e_x_bRLgZcG54","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 Moledina 2022 logistic probability of biopsy-proven acute interstitial nephritis (AIN) from serum creatinine, BUN:creatinine ratio, urine dipstick specific gravity, and dipstick protein category.","exampleAgentPrompt":"My patient has a serum creatinine of 3.2 mg/dL, a BUN:creatinine ratio of 18, a urine dipstick specific gravity of 1.010, and dipstick protein of 1+ — what does the Moledina 2022 model give as the estimated probability of biopsy-proven acute interstitial nephritis?","exampleUseCases":[{"title":"Nephrology consult AIN triage","prompt":"I'm seeing a patient with acute kidney injury — creatinine is 4.1 mg/dL, BUN:creatinine ratio is 22, dipstick specific gravity 1.008, and protein is 2+. Can you run the Moledina 2022 AIN risk model and tell me the estimated probability of acute interstitial nephritis?"},{"title":"Pre-biopsy decision support","prompt":"Before we put this patient through a kidney biopsy, can you estimate their AIN probability using the Moledina 2022 formula? Their creatinine is 2.7 mg/dL, BUN:creatinine ratio is 15, urine specific gravity on dipstick is 1.012, and protein is 0+ so that's le_1."},{"title":"Retrospective case audit","prompt":"I'm reviewing a case where the patient's creatinine was 5.0 mg/dL, BUN:creatinine ratio was 30, dipstick specific gravity 1.005, and protein was 3+ at the time of biopsy — what would the Moledina 2022 model have estimated for AIN probability back then?"}],"resultDescription":"Returns a JSON object containing the raw logit from the Moledina 2022 Table 4 linear combination and the estimated_probability_percent representing the model's estimated likelihood of biopsy-proven acute interstitial nephritis. No low/high cutoff is defined by Moledina 2022. The result is a research-grade probability estimate, not a diagnosis or medical device output.","failureModes":["Missing required query parameters (creatinine_mg_dl, bun_cr_ratio, specific_gravity, or protein) returns a validation error","Creatinine outside 0.1–20 mg/dL range may be rejected or produce unreliable results","BUN:creatinine ratio outside 0.5–200 range may be rejected","Specific gravity outside 1.000–1.050 range may be rejected","Invalid protein enum value (not 'le_1' or 'ge_2') returns an error","Payment failure (x402) if insufficient USDC balance"],"whenToPreferThis":"Use this endpoint when you need the Moledina 2022 4-variable logistic model specifically — covering serum creatinine, BUN:creatinine ratio, urine dipstick specific gravity, and dipstick protein — to generate a numeric probability of biopsy-proven AIN. Prefer this over other AKI or renal scoring tools (e.g. ADHERE, KFRE) when the clinical question is specifically AIN versus other causes of AKI, and when the caller has already computed or assigned all four input values. Note: does not include urine IL-9 or TNF-α biomarkers from the full Moledina study.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:21:16.726Z","isFirstParty":false}