{"uid":"cap_WlHjHHCg30Adkg3H4QjF-","slug":"magent-cp-aki-risk-score-gupta-2024-26529b9d","name":"Magent CP-AKI Risk Score (Gupta 2024)","description":"Gupta 2024 Figure 2 simple CP-AKI score after first IV cisplatin: age, hypertension, diabetes, current or former smoking, hemoglobin g/L, WBC, albumin g/L, magnesium mmol/L, and cisplatin dose mg. Max 22.5. Low / moderate / high / very_high. Not a diagnosis or chemo order. magent does not assay labs or dose cisplatin.","url":"https://api.magentlab.com/api/calc/cp_aki","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","hypertension","diabetes","current_or_former_smoker","magnesium_mmol_l","cisplatin_dose_mg"],"properties":{"age":{"type":"integer","description":"Age in years (integer 18-120). Gupta 2024 Figure 2: ≤45 scores 0; 46-60 scores 2.5; 61-70 scores 3.5; >70 scores 4.5."},"wbc_ul":{"type":"number","description":"White blood cell count per µL (10-500000). Converted as wbc_10e9_l = wbc_ul / 1000. Provide this or wbc_k_ul, not both."},"diabetes":{"type":"boolean","description":"Caller-assigned diabetes mellitus (Gupta 2024 Figure 2). true scores 1. magent does not diagnose diabetes."},"wbc_k_ul":{"type":"number","description":"White blood cell count in 10^9/L (0.01-500), same as k/µL. Provide this or wbc_ul, not both. ≤12.0 scores 0; >12.0 scores 1.5 (Gupta 2024 Figure 2). magent does not assay WBC."},"albumin_g_l":{"type":"number","description":"Serum albumin in g/L (10-60), Gupta 2024 units. Provide this or albumin_g_dl, not both. >38 scores 0; 33-38 scores 1; <33 scores 1.5. magent does not assay albumin."},"albumin_g_dl":{"type":"number","description":"Serum albumin in g/dL (1-6). Converted as albumin_g_l = albumin_g_dl × 10. Provide this or albumin_g_l, not both."},"hypertension":{"type":"boolean","description":"Caller-assigned hypertension (Gupta 2024 Figure 2). true scores 1. magent does not diagnose hypertension."},"hemoglobin_g_l":{"type":"number","description":"Hemoglobin in g/L (30-220), Gupta 2024 units. Provide this or hemoglobin_g_dl, not both. ≥120 scores 0; 110-119 scores 1; <110 scores 1.5. magent does not assay hemoglobin."},"hemoglobin_g_dl":{"type":"number","description":"Hemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both."},"magnesium_mmol_l":{"type":"number","description":"Serum magnesium in mmol/L (0.2-2.5), Gupta 2024 units. ≥0.82 scores 0; <0.82 scores 1. magent does not assay magnesium."},"cisplatin_dose_mg":{"type":"number","description":"First intravenous cisplatin dose in mg (1-500), Gupta 2024 Figure 2. ≤50 scores 0; 51-75 scores 2; 76-100 scores 2.5; 101-125 scores 3; 126-150 scores 5; 151-200 scores 7.5; >200 scores 9.5. magent does not dose cisplatin."},"current_or_former_smoker":{"type":"boolean","description":"Caller-assigned current or former smoker (Gupta 2024 Figure 2 simple score; BMJ 2024;385:q1207). true scores 1. magent does not take a smoking history."}}}},"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_kqol_2TVJdNgun8ixYoRM","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 Gupta 2024 Figure 2 CP-AKI (cisplatin-induced acute kidney injury) risk score and risk category from clinical parameters before first IV cisplatin administration.","exampleAgentPrompt":"Calculate the Gupta 2024 CP-AKI score for a 63-year-old patient with hypertension but no diabetes, who is a former smoker, with hemoglobin 105 g/L, WBC 9.5 k/µL, albumin 35 g/L, magnesium 0.75 mmol/L, and a planned cisplatin dose of 75 mg.","exampleUseCases":[{"title":"Pre-chemotherapy renal risk stratification","prompt":"My oncology patient is 58 years old, has hypertension and diabetes, is a current smoker, hemoglobin is 115 g/L, WBC 13.5 k/µL, albumin 30 g/L, magnesium 0.65 mmol/L, and the planned cisplatin dose is 80 mg — what is their CP-AKI risk score and category?"},{"title":"Low-risk cisplatin candidate assessment","prompt":"Before we start cisplatin, can you run the Gupta 2024 CP-AKI score for a 42-year-old non-hypertensive, non-diabetic, never-smoker with hemoglobin 135 g/L, WBC 7.2 k/µL, albumin 42 g/L, magnesium 0.9 mmol/L, and cisplatin dose 60 mg?"},{"title":"Elderly patient nephrotoxicity risk check","prompt":"Our 74-year-old patient has hypertension but no diabetes, is a former smoker, hemoglobin 108 g/L, WBC 11.0 k/µL, albumin 31 g/L, magnesium 0.55 mmol/L, and will receive 70 mg cisplatin — please calculate the CP-AKI risk score."}],"resultDescription":"Returns a numeric CP-AKI score (maximum 22.5) computed by summing weighted points for each clinical variable per the Gupta 2024 Figure 2 model, plus a categorical risk label: low, moderate, high, or very_high. Does not constitute a clinical diagnosis or chemotherapy dosing recommendation.","failureModes":["Missing required parameters (age, hypertension, diabetes, smoking status, magnesium, cisplatin dose) returns a validation error","Age outside 18-120 range rejected","Providing both wbc_ul and wbc_k_ul simultaneously returns an error","Providing both albumin_g_l and albumin_g_dl simultaneously returns an error","Hemoglobin or magnesium values outside physiologically plausible ranges may be rejected","HTTP 402 if payment header is absent or insufficient for $0.005 USDC fee"],"whenToPreferThis":"Use this endpoint when you need a standardized, validated pre-cisplatin AKI risk score based specifically on the Gupta 2024 Figure 2 model, returning both a numeric score and a four-level risk category. Prefer it over generic renal function calculators when the clinical context is IV cisplatin chemotherapy and the inputs are readily available lab values and patient history flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:20:39.767Z","isFirstParty":false}