{"api":"v1","generated_at":"2026-10-01T05:40:35.171Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-ain-risk-d4e8c2","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-ain-risk-d4e8c2/at/2026-09-30T22-14Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-30T22:14:11.940Z","snapshot_stamp":"2026-09-30T22-14Z","endpoint":{"slug":"api-magentlab-com-api-calc-ain-risk-d4e8c2","canonical_url":"https://api.magentlab.com/api/calc/ain_risk","resource":"https://api.magentlab.com/api/calc/ain_risk","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"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.","service_name":"magent","declared_category":null,"declared_tags":["ain-risk","kidney","interstitial-nephritis","calculator"],"route_template":null,"registry_updated":"2026-09-28T13:53:14.810Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc ain risk","category":"inference","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-09-30T22:14:11.940Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-09-30T22:14:11.940Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T13:53:14.675Z"},"validation":{"latest":{"observed_at":"2026-09-30T09:00:58.130Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":3,"passed":3,"ratio":1},{"days":30,"observed":3,"passed":3,"ratio":1},{"days":90,"observed":3,"passed":3,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T09:00:58.130Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T21:06:03.493Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:49:24.105Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["ain-risk","kidney","interstitial-nephritis","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/ain_risk","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T13:53:14.675Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/ain_risk","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"protein":"le_1","bun_cr_ratio":15,"creatinine_mg_dl":2.1,"specific_gravity":1.015},{"protein":"le_1","bun_cr_ratio":15,"creatinine_mg_dl":2.1,"specific_gravity":1.015}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/ain_risk","count":2,"items":[{"logit":-0.9111,"formula":"ain_risk","protein":"le_1","citation":{"id":"moledina-2022","doi":"10.1093/ndt/gfab346","pmid":"34865148","title":"Development and external validation of a diagnostic model for biopsy-proven acute interstitial nephritis using electronic health record data","source":"Nephrol Dial Transplant. 2022;37(11):2214-2222","authors":"Moledina DG, Eadon MT, Calderon F, et al."},"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.","bun_cr_ratio":15,"creatinine_mg_dl":2.1,"specific_gravity":1.015,"formula_expression":"L = 0.770398 + 0.8367518*ln(creatinine_mg_dl) - 0.9181938*ln(bun_cr_ratio) - 0.0501203*1000*(specific_gravity - 1) + protein (Moledina 2022 development model; Table 4 aORs / supplement weights); protein le_1 (0 or 1+) 0.9360127, ge_2 (2+ or higher, reference) 0; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","estimated_probability_percent":28.68},{"logit":-0.9111,"formula":"ain_risk","protein":"le_1","citation":{"id":"moledina-2022","doi":"10.1093/ndt/gfab346","pmid":"34865148","title":"Development and external validation of a diagnostic model for biopsy-proven acute interstitial nephritis using electronic health record data","source":"Nephrol Dial Transplant. 2022;37(11):2214-2222","authors":"Moledina DG, Eadon MT, Calderon F, et al."},"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.","bun_cr_ratio":15,"creatinine_mg_dl":2.1,"specific_gravity":1.015,"formula_expression":"L = 0.770398 + 0.8367518*ln(creatinine_mg_dl) - 0.9181938*ln(bun_cr_ratio) - 0.0501203*1000*(specific_gravity - 1) + protein (Moledina 2022 development model; Table 4 aORs / supplement weights); protein le_1 (0 or 1+) 0.9360127, ge_2 (2+ or higher, reference) 0; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","estimated_probability_percent":28.68}]}},"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":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"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."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"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.","lastUpdated":"2026-09-28T13:53:14.81Z","serviceName":"magent","x402Version":2}]}}