{"uid":"cap_nKcTfYttNh-CAKIJbDHXZ","slug":"peld-score-calculator-mcdiarmid-2002-64268262","name":"PELD Score Calculator (McDiarmid 2002)","description":"McDiarmid 2002 PELD from bilirubin, INR, albumin, age under 1 year, and growth failure. Deterministic published listing arithmetic with citation; not a transplant listing recommendation.","url":"https://api.magentlab.com/api/calc/peld","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","inr","growth_failure"],"properties":{"inr":{"type":"number","description":"INR (0.8-10). Floored at 1.0 before ln."},"age_years":{"type":"number","description":"Age in years (0-11 inclusive). PELD is for children under 12. Age under 1 adds 0.436 before scaling."},"albumin_g_l":{"type":"number","description":"Albumin in g/L. Converted as g/dL = g/L / 10."},"albumin_g_dl":{"type":"number","description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Floored at 1.0 before ln."},"growth_failure":{"type":"boolean","description":"Growth failure as assigned by the caller. true adds 0.667 before scaling."},"bilirubin_mg_dl":{"type":"number","description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l, not both. Floored at 1.0 before ln."},"bilirubin_umol_l":{"type":"number","description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/peld","count":2,"items":[{"inr":1.5,"peld":8,"formula":"peld","age_lt_1":false,"citation":{"id":"mcdiarmid-2002","doi":"10.1097/00007890-200207270-00006","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation","source":"Transplantation. 2002;74(2):173-181","authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group"},"inr_used":1.5,"age_years":2,"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.","albumin_g_dl":2.5,"growth_failure":false,"bilirubin_mg_dl":4,"albumin_used_g_dl":2.5,"formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age<1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","bilirubin_used_mg_dl":4},{"inr":1.5,"peld":8,"formula":"peld","age_lt_1":false,"citation":{"id":"mcdiarmid-2002","doi":"10.1097/00007890-200207270-00006","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation","source":"Transplantation. 2002;74(2):173-181","authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group"},"inr_used":1.5,"age_years":2,"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.","albumin_g_dl":2.5,"growth_failure":false,"bilirubin_mg_dl":4,"albumin_used_g_dl":2.5,"formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age<1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","bilirubin_used_mg_dl":4}]}},"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_W__d8NdmV6_qR98QMDO_G","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 Pediatric End-Stage Liver Disease (PELD) score from bilirubin, INR, albumin, age under 1 year, and growth failure using the McDiarmid 2002 formula.","exampleAgentPrompt":"Calculate the PELD score for a 9-month-old patient with a bilirubin of 8.2 mg/dL, INR of 1.9, albumin of 2.4 g/dL, and confirmed growth failure.","exampleUseCases":[{"title":"Pediatric liver patient severity assessment","prompt":"I need the PELD score for a 4-year-old with total bilirubin 12 mg/dL, INR 2.1, albumin 2.8 g/dL, and no growth failure — can you run that for me?"},{"title":"Infant PELD with SI unit labs","prompt":"Calculate PELD for an 8-month-old who has bilirubin 95 µmol/L, INR 1.7, albumin 22 g/L, and growth failure documented by the team."},{"title":"Borderline INR floor edge case","prompt":"What's the PELD score for a 3-year-old child with bilirubin 3.5 mg/dL, INR 0.9, albumin 3.1 g/dL, and no growth failure? I want to make sure the formula handles the INR floor correctly."}],"resultDescription":"Returns the numeric PELD score computed from the McDiarmid 2002 formula, along with the formula citation and intermediate calculation values. Does not provide transplant listing recommendations.","failureModes":["Missing required parameters (age_years, inr, growth_failure) returns a validation error","Providing both bilirubin_mg_dl and bilirubin_umol_l simultaneously returns an error","Providing both albumin_g_dl and albumin_g_l simultaneously returns an error","Age outside 0–11 years (PELD is only for children under 12) may return an out-of-range error","INR or bilirubin values at extreme ranges may be floored per formula rules without warning"],"whenToPreferThis":"Use this endpoint when you need to deterministically compute the PELD score for a pediatric patient (under 12 years old) using the published McDiarmid 2002 formula. Prefer this over MELD calculators when the patient is a child. Choose this when you need a citable, formula-exact result rather than a clinical recommendation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:07:27.813Z","isFirstParty":false}