{"uid":"cap_Q86X3sFfoFVJKABaQQSos","slug":"ipi-international-prognostic-index-calculator-shipp-1993-9b617356","name":"IPI (International Prognostic Index) Calculator — Shipp 1993","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/ipi?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","stage_iii_or_iv","extranodal_gt_1","ecog","ldh_gt_uln"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Age >60 scores 1 (Shipp 1993). Age 60 is the ≤60 arm and scores 0."},"ecog":{"type":"integer","description":"ECOG performance status 0-4 as assigned by the caller (Shipp 1993). ≥2 scores 1. magent does not assign ECOG."},"ldh_gt_uln":{"type":"boolean","description":"Serum LDH above the upper limit of normal as assigned by the caller (Shipp 1993). true scores 1. magent does not assay LDH."},"extranodal_gt_1":{"type":"boolean","description":"More than one extranodal site as assigned by the caller (Shipp 1993). true scores 1. magent does not count extranodal sites."},"stage_iii_or_iv":{"type":"boolean","description":"Ann Arbor stage III or IV as assigned by the caller (Shipp 1993). true scores 1. magent does not stage lymphoma."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/ipi","count":2,"items":[{"ecog":0,"score":0,"formula":"ipi","citation":{"id":"shipp-1993","doi":"10.1056/NEJM199309303291402","pmid":"8141877","title":"A predictive model for aggressive non-Hodgkin's lymphoma","source":"N Engl J Med. 1993;329(14):987-994","authors":"The International Non-Hodgkin's Lymphoma Prognostic Factors Project"},"ipi_risk":"low","age_years":50,"max_score":5,"components":[{"value":50,"factor":"age_gt_60","points":0,"present":false},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"value":0,"factor":"ecog_ge_2","points":0,"present":false},{"factor":"ldh_gt_uln","points":0,"present":false}],"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.","formula_expression":"IPI = age_gt_60 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + ecog_ge_2 1 + ldh_gt_uln 1; Shipp 1993; max 5; low 0-1, low_intermediate 2, high_intermediate 3, high 4-5"},{"ecog":0,"score":0,"formula":"ipi","citation":{"id":"shipp-1993","doi":"10.1056/NEJM199309303291402","pmid":"8141877","title":"A predictive model for aggressive non-Hodgkin's lymphoma","source":"N Engl J Med. 1993;329(14):987-994","authors":"The International Non-Hodgkin's Lymphoma Prognostic Factors Project"},"ipi_risk":"low","age_years":50,"max_score":5,"components":[{"value":50,"factor":"age_gt_60","points":0,"present":false},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"value":0,"factor":"ecog_ge_2","points":0,"present":false},{"factor":"ldh_gt_uln","points":0,"present":false}],"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.","formula_expression":"IPI = age_gt_60 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + ecog_ge_2 1 + ldh_gt_uln 1; Shipp 1993; max 5; low 0-1, low_intermediate 2, high_intermediate 3, high 4-5"}]}},"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_kT-4OJIXxEn5QX2njU_0q","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 Shipp 1993 International Prognostic Index (IPI) score and risk group for aggressive non-Hodgkin lymphoma from five caller-supplied clinical flags.","exampleAgentPrompt":"Calculate the Shipp 1993 IPI score for a 67-year-old patient with Ann Arbor stage IV disease, more than one extranodal site, ECOG performance status 2, and LDH above the upper limit of normal.","exampleUseCases":[{"title":"NHL prognosis before chemotherapy","prompt":"My patient is 72 years old, has Ann Arbor stage III aggressive NHL, only one extranodal site, ECOG status 1, and their LDH is elevated above normal — what is their IPI score and risk category?"},{"title":"Comparing risk groups across a patient cohort","prompt":"I have three lymphoma patients and need the Shipp 1993 IPI for each: first a 55-year-old, stage II, no extra extranodal sites, ECOG 0, normal LDH; second a 63-year-old, stage IV, more than one extranodal site, ECOG 3, high LDH; third a 70-year-old, stage III, one extranodal site, ECOG 2, normal LDH. Can you score all three?"},{"title":"Clinical trial eligibility stratification","prompt":"We need to confirm whether a 61-year-old aggressive NHL patient with stage IV disease, more than one extranodal site, ECOG 2, and elevated LDH falls into the high IPI risk group for trial enrollment purposes."}],"resultDescription":"Returns the computed IPI total score (integer 0–5) and the corresponding risk group label: low (0–1 points), low_intermediate (2 points), high_intermediate (3 points), or high (4–5 points), based on the Shipp 1993 publication.","failureModes":["Missing required query parameters (age, stage_iii_or_iv, extranodal_gt_1, ecog, ldh_gt_uln) returns a 400 error","Age outside the 18–120 integer range may be rejected or produce unexpected results","ECOG values outside 0–4 may cause validation errors","Payment not provided or invalid x402 payment results in 402 Payment Required","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, citeable Shipp 1993 IPI computation from structured clinical flags. Prefer it over manual calculation when building oncology decision-support agents, clinical trial enrollment tools, or EHR enrichment pipelines. Do not use it for age-adjusted IPI (AA-IPI), revised IPI (R-IPI), or NCCN-IPI variants — those are distinct instruments. This endpoint does not perform LDH assay, ECOG assessment, or lymphoma staging; all five flags must be pre-determined by the clinical caller.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:30:54.952Z","isFirstParty":false,"canonicalSlug":"ipi-international-prognostic-index-calculator-shipp-1993-9b617356"}