{
  "x402Version": 2,
  "id": 39431,
  "slug": "39431",
  "resource": "https://api.magentlab.com/api/calc/ball",
  "description": "Soumerai 2019 BALL score for relapsed or refractory CLL. Four caller-assigned 1-point flags (max 4): beta-2-microglobulin at the paper's published cutoff (>=5 mg/dL), LDH > laboratory ULN, anemia (Hb <110 g/L women or <120 g/L men), and time from initiation of last therapy <24 months. Risk low 0-1, intermediate 2-3, high 4. magent does not assay labs or convert B2M mg/L vs mg/dL. Not a treatment recommendation.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "anemia": false,
                "b2m_ge_5": false,
                "last_therapy_lt_24mo": false,
                "ldh_gt_uln": false
              },
              {
                "anemia": false,
                "b2m_ge_5": false,
                "last_therapy_lt_24mo": false,
                "ldh_gt_uln": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.",
                  "doi": "10.1016/S2352-3026(19)30085-7",
                  "id": "soumerai-2019",
                  "pmid": "31109827",
                  "source": "Lancet Haematol. 2019;6(7):e366-e374",
                  "title": "Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"
                },
                "components": [
                  {
                    "factor": "b2m_ge_5",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ldh_gt_uln",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "anemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "last_therapy_lt_24mo",
                    "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": "ball",
                "formula_expression": "BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4",
                "max_score": 4,
                "risk": "low",
                "score": 0
              },
              {
                "citation": {
                  "authors": "Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.",
                  "doi": "10.1016/S2352-3026(19)30085-7",
                  "id": "soumerai-2019",
                  "pmid": "31109827",
                  "source": "Lancet Haematol. 2019;6(7):e366-e374",
                  "title": "Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"
                },
                "components": [
                  {
                    "factor": "b2m_ge_5",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ldh_gt_uln",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "anemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "last_therapy_lt_24mo",
                    "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": "ball",
                "formula_expression": "BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4",
                "max_score": 4,
                "risk": "low",
                "score": 0
              }
            ],
            "path": "/api/calc/ball"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "anemia": {
                          "description": "Anemia as assigned by the caller using Soumerai 2019 hemoglobin cutoffs (hemoglobin <110 g/L in women or <120 g/L in men). true or false. magent does not take a hemoglobin number or sex and does not assay hemoglobin.",
                          "type": "boolean"
                        },
                        "b2m_ge_5": {
                          "description": "Serum β2-microglobulin at or above the Soumerai 2019 published cutoff (≥5 mg/dL) as assigned by the caller. true or false. magent does not assay B2M and does not convert mg/L versus mg/dL.",
                          "type": "boolean"
                        },
                        "last_therapy_lt_24mo": {
                          "description": "Time from initiation of last therapy <24 months as assigned by the caller (Soumerai 2019). true or false. magent does not read a treatment calendar.",
                          "type": "boolean"
                        },
                        "ldh_gt_uln": {
                          "description": "Serum LDH above the laboratory upper limit of normal as assigned by the caller (Soumerai 2019). true or false. magent does not assay LDH.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "b2m_ge_5",
                        "ldh_gt_uln",
                        "anemia",
                        "last_therapy_lt_24mo"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "ball",
    "cll",
    "hematology",
    "prognosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:54:07.775Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:54:07.648Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "anemia": false,
                  "b2m_ge_5": false,
                  "last_therapy_lt_24mo": false,
                  "ldh_gt_uln": false
                },
                {
                  "anemia": false,
                  "b2m_ge_5": false,
                  "last_therapy_lt_24mo": false,
                  "ldh_gt_uln": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.",
                    "doi": "10.1016/S2352-3026(19)30085-7",
                    "id": "soumerai-2019",
                    "pmid": "31109827",
                    "source": "Lancet Haematol. 2019;6(7):e366-e374",
                    "title": "Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"
                  },
                  "components": [
                    {
                      "factor": "b2m_ge_5",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ldh_gt_uln",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "anemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "last_therapy_lt_24mo",
                      "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": "ball",
                  "formula_expression": "BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4",
                  "max_score": 4,
                  "risk": "low",
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.",
                    "doi": "10.1016/S2352-3026(19)30085-7",
                    "id": "soumerai-2019",
                    "pmid": "31109827",
                    "source": "Lancet Haematol. 2019;6(7):e366-e374",
                    "title": "Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"
                  },
                  "components": [
                    {
                      "factor": "b2m_ge_5",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ldh_gt_uln",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "anemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "last_therapy_lt_24mo",
                      "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": "ball",
                  "formula_expression": "BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4",
                  "max_score": 4,
                  "risk": "low",
                  "score": 0
                }
              ],
              "path": "/api/calc/ball"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "anemia": {
                            "description": "Anemia as assigned by the caller using Soumerai 2019 hemoglobin cutoffs (hemoglobin <110 g/L in women or <120 g/L in men). true or false. magent does not take a hemoglobin number or sex and does not assay hemoglobin.",
                            "type": "boolean"
                          },
                          "b2m_ge_5": {
                            "description": "Serum β2-microglobulin at or above the Soumerai 2019 published cutoff (≥5 mg/dL) as assigned by the caller. true or false. magent does not assay B2M and does not convert mg/L versus mg/dL.",
                            "type": "boolean"
                          },
                          "last_therapy_lt_24mo": {
                            "description": "Time from initiation of last therapy <24 months as assigned by the caller (Soumerai 2019). true or false. magent does not read a treatment calendar.",
                            "type": "boolean"
                          },
                          "ldh_gt_uln": {
                            "description": "Serum LDH above the laboratory upper limit of normal as assigned by the caller (Soumerai 2019). true or false. magent does not assay LDH.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "b2m_ge_5",
                          "ldh_gt_uln",
                          "anemia",
                          "last_therapy_lt_24mo"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}