Sokal CML Prognostic Index Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).
Computes the Sokal 1984 relative-risk index for newly diagnosed untreated chronic granulocytic leukemia (CML) and classifies patients as low, intermediate, or high risk.
Sokal 1984 relative-risk index for newly diagnosed untreated chronic granulocytic leukemia (CML). sokal_index = exp(0.0116*(age-43.4)+0.0345*(spleen_cm-7.51)+0.188*((platelets_10e9_l/700)^2-0.563)+0.0887*(blasts_percent-2.10)). Low <0.8, intermediate 0.8–1.2, high >1.2. Coefficient 0.188. Does not diagnose CML or choose TKI therapy.
Returns the computed Sokal index value (a continuous number, e.g. 0.94) and the corresponding risk classification: low (<0.8), intermediate (0.8–1.2), or high (>1.2), based on the 1984 Sokal formula applied to the supplied age, spleen size, platelet count, and blast percentage.
GEThttps://api.magentlab.com/api/calc/sokalUse this endpoint when you need to programmatically compute the Sokal 1984 relative-risk index for a newly diagnosed, untreated CML patient given structured clinical values (age, spleen size, platelets, blasts). Prefer it over manual formula evaluation or general LLM arithmetic for reliable, auditable scoring. Do not use for diagnosing CML, selecting TKI therapy, or scoring treated or previously diagnosed patients.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"path": "/api/calc/sokal",
"count": 2,
"items": [
{
"age": 50,
"formula": "sokal",
"citation": {
"id": "sokal-1984",
"doi": "10.1182/blood.V63.4.789.789",
"pmid": "6584184",
"title": "Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia",
"source": "Blood. 1984;63(4):789-799",
"authors": "Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C"
},
"spleen_cm": 10,
"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.",
"sokal_band": "intermediate",
"sokal_index": 1.1,
"blasts_percent": 2,
"platelets_10e9_l": 350,
"formula_expression": "sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))"
},
{
"age": 50,
"formula": "sokal",
"citation": {
"id": "sokal-1984",
"doi": "10.1182/blood.V63.4.789.789",
"pmid": "6584184",
"title": "Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia",
"source": "Blood. 1984;63(4):789-799",
"authors": "Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C"
},
"spleen_cm": 10,
"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.",
"sokal_band": "intermediate",
"sokal_index": 1.1,
"blasts_percent": 2,
"platelets_10e9_l": 350,
"formula_expression": "sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))"
}
]
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"