{"uid":"cap_voFzAM97o6_JJLWV1EVIm","slug":"magent-pfib-c-pediatric-liver-fibrosis-score-6fd3d44b","name":"magent pFIB-c Pediatric Liver Fibrosis Score","description":"Lefere 2025 pFIB-c logistic probability of significant (>=F2) liver fibrosis in pediatric MASLD from sex (boy/girl), hypertension, ALT (U/L), caller-assigned CDC/WHO weight Z-score, HOMA-IR, and caller-assigned Black ethnicity. Table 2 coefficients. Derivation rule-out cutoff 0.226. magent does not assign race or ethnicity and does not compute LMS Z-scores. Not a biopsy, not pFIB-6, and not a diagnosis.","url":"https://api.magentlab.com/api/calc/pfib_c","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":["sex","hypertension","alt_u_l","weight_z_score","homa_ir","black_ethnicity"],"properties":{"sex":{"enum":["boy","girl"],"type":"string","description":"Sex as Lefere 2025 Table 2 (boy or girl). boy adds 1.194 (sex_boy=1); girl adds 0. Paper terms."},"alt_u_l":{"type":"number","description":"Alanine aminotransferase in U/L (5-500). Lefere 2025 Table 2: +0.019 per U/L. magent does not convert other ALT units."},"homa_ir":{"type":"number","description":"Caller-assigned HOMA-IR (0-50). Lefere 2025 Table 2: +0.079 per unit. magent does not compute HOMA-IR from glucose and insulin."},"hypertension":{"type":"boolean","description":"Hypertension as assigned by the caller (true or false). Lefere 2025 Table 2: true adds 1.636."},"weight_z_score":{"type":"number","description":"Caller-assigned CDC or WHO weight-for-age Z-score (-5 to 8). Lefere 2025 Table 2: +0.633 per unit. magent does not compute LMS tables from height, weight, age, or sex."},"black_ethnicity":{"type":"boolean","description":"Caller-assigned Black ethnicity as used in Lefere 2025 (true or false). Table 2: true adds -2.453. magent does not assign race or ethnicity."}}}},"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_WZ1C0f-Sp9iqcSuoy8Mm3","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 Lefere 2025 pFIB-c logistic probability of significant (≥F2) liver fibrosis in pediatric MASLD using sex, hypertension, ALT, weight Z-score, HOMA-IR, and Black ethnicity.","exampleAgentPrompt":"Calculate the Lefere 2025 pFIB-c fibrosis probability for a boy with hypertension, ALT of 85 U/L, weight Z-score of 2.1, HOMA-IR of 4.3, and no Black ethnicity — I need to know his risk of significant liver fibrosis.","exampleUseCases":[{"title":"Pediatric MASLD clinic fibrosis triage","prompt":"I have a 10-year-old girl with MASLD, no hypertension, ALT of 62 U/L, weight Z-score of 1.8, HOMA-IR of 3.5, and she is not Black — can you run the pFIB-c score to see if she's above the 0.226 rule-out cutoff for significant fibrosis?"},{"title":"Research cohort fibrosis risk batch assessment","prompt":"For our study patient — a boy, hypertension present, ALT 120 U/L, weight Z-score 2.7, HOMA-IR 6.1, Black ethnicity true — what does the Lefere 2025 pFIB-c model give as the probability of F2 or worse liver fibrosis?"},{"title":"Avoiding biopsy with low-risk score","prompt":"My patient is a girl, no hypertension, ALT 45 U/L, weight Z-score 1.2, HOMA-IR 2.0, not Black — compute her pFIB-c probability so I can decide whether she falls below the 0.226 rule-out threshold and might not need a liver biopsy."}],"resultDescription":"Returns the pFIB-c logistic probability (0–1) of significant (≥F2) liver fibrosis in a pediatric MASLD patient, derived from Lefere 2025 Table 2 coefficients. A result below 0.226 meets the derivation rule-out cutoff. This is a probability estimate only — not a biopsy result, not pFIB-6, and not a clinical diagnosis.","failureModes":["Missing required query parameters (sex, hypertension, alt_u_l, weight_z_score, homa_ir, black_ethnicity) returns a validation error","ALT outside 5–500 U/L range may return an out-of-range error","HOMA-IR outside 0–50 range may be rejected","weight_z_score outside -5 to 8 may be rejected","Invalid sex value (not 'boy' or 'girl') returns an enum validation error","Payment not provided or insufficient USDC returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need the specific Lefere 2025 pFIB-c logistic model for pediatric MASLD fibrosis risk estimation and already have all six inputs pre-computed (ALT in U/L, caller-assigned weight Z-score, HOMA-IR, hypertension status, sex, and Black ethnicity). Prefer this over pFIB-6 or adult fibrosis scores when the patient is a child and the Lefere 2025 Table 2 formulation is required. Do not use if you need LMS Z-score computation, HOMA-IR calculation from raw glucose/insulin, race assignment, or a diagnostic conclusion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:20.962Z","isFirstParty":false}