{"uid":"cap_icx5YOqdp5jlUhn_PW4XR","slug":"ckd-epi-2021-race-free-egfr-calculator-aeb442e8","name":"CKD-EPI 2021 Race-Free eGFR Calculator","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/egfr_ckd_epi?utm_source=zero.xyz","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"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). CKD-EPI 2021 is validated in adults."},"sex":{"enum":["female","male"],"type":"string","description":"Sex used by the published equation. female or male."},"creatinine_mg_dl":{"type":"number","description":"Serum creatinine in mg/dL. Provide this or creatinine_umol_l."},"creatinine_umol_l":{"type":"number","description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/egfr_ckd_epi","count":2,"items":[{"sex":"female","units":"mL/min/1.73m2","formula":"ckd_epi_2021_creatinine","citation":{"id":"inker-2021","doi":"10.1056/NEJMoa2102953","title":"New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race","source":"N Engl J Med. 2021;385(19):1737-1749","authors":"Inker LA, Eneanya ND, Coresh J, et al."},"age_years":65,"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.","creatinine_mg_dl":1.1,"egfr_ml_min_1_73m2":55.8,"formula_expression":"142 * min(Scr/κ,1)^α * max(Scr/κ,1)^(-1.200) * 0.9938^age * (1.012 if female)"},{"sex":"female","units":"mL/min/1.73m2","formula":"ckd_epi_2021_creatinine","citation":{"id":"inker-2021","doi":"10.1056/NEJMoa2102953","title":"New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race","source":"N Engl J Med. 2021;385(19):1737-1749","authors":"Inker LA, Eneanya ND, Coresh J, et al."},"age_years":65,"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.","creatinine_mg_dl":1.1,"egfr_ml_min_1_73m2":55.8,"formula_expression":"142 * min(Scr/κ,1)^α * max(Scr/κ,1)^(-1.200) * 0.9938^age * (1.012 if female)"}]}},"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_fQGC-QGlor5BEeS8J2CUE","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 estimated glomerular filtration rate (eGFR) using the race-free CKD-EPI 2021 creatinine equation from age, sex, and serum creatinine","exampleAgentPrompt":"Calculate the eGFR for a 58-year-old male with a serum creatinine of 1.8 mg/dL using the race-free CKD-EPI 2021 formula.","exampleUseCases":[{"title":"Pre-medication renal dosing check","prompt":"My patient is a 72-year-old female with a creatinine of 1.6 mg/dL — what is her eGFR so I can confirm whether metformin is safe to prescribe?"},{"title":"CKD staging for prior authorization","prompt":"I need to stage kidney disease for a 45-year-old male with a serum creatinine of 2.3 mg/dL — can you run the CKD-EPI 2021 calculation and tell me what CKD stage that corresponds to?"},{"title":"Convert µmol/L creatinine to eGFR","prompt":"A lab report shows creatinine of 142 µmol/L for a 63-year-old female — use the race-free CKD-EPI 2021 equation to get her eGFR."}],"resultDescription":"Returns a deterministic eGFR value in mL/min/1.73m² computed from the published CKD-EPI 2021 race-free creatinine equation, along with the corresponding CKD stage or kidney function category and a citation to the source formula.","failureModes":["Missing required parameters (age or sex) returns a validation error","Age outside 18–120 range may return an out-of-range error as CKD-EPI 2021 is validated only in adults","Neither creatinine_mg_dl nor creatinine_umol_l provided returns an error requiring at least one","Negative or physiologically implausible creatinine values may be rejected","Payment not included or insufficient USDC results in HTTP 402 Payment Required"],"whenToPreferThis":"Use this endpoint whenever an AI agent must not rely on a language model's internal approximation of kidney function — this endpoint applies the exact, deterministic published CKD-EPI 2021 race-free creatinine formula with a citation, making it appropriate for clinical decision support, prior authorization workflows, drug dosing checks, and any context requiring auditable, reproducible eGFR estimates without racial adjustment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:41:53.878Z","isFirstParty":false,"canonicalSlug":"ckd-epi-2021-race-free-egfr-calculator-aeb442e8"}