{
  "x402Version": 2,
  "id": 39512,
  "slug": "39512",
  "resource": "https://api.magentlab.com/api/calc/mars",
  "description": "Jawhar 2019 mutation-adjusted risk score (MARS) for advanced systemic mastocytosis: age >60 (1), hemoglobin <10 g/dL (1), platelets <100×10^9/L (1), exactly one S/A/R mutation among SRSF2, ASXL1, RUNX1 (1) or two or more (2, not both). Max 5. Low 0–1 (training-set median OS not reached), intermediate 2 (3.9 y), high 3–5 (1.9 y). Not WHO SM criteria. magent does not sequence or assay labs.",
  "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": [
              {
                "age": 50,
                "hemoglobin_g_dl": 12,
                "hemoglobin_g_l": 120,
                "platelets_10e9_l": 200,
                "sar_mutation_count": 0
              },
              {
                "age": 50,
                "hemoglobin_g_dl": 12,
                "hemoglobin_g_l": 120,
                "platelets_10e9_l": 200,
                "sar_mutation_count": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age": 50,
                "citation": {
                  "authors": "Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A",
                  "doi": "10.1200/JCO.19.00640",
                  "id": "jawhar-2019",
                  "pmid": "31509472",
                  "source": "J Clin Oncol. 2019;37(31):2846-2856",
                  "title": "MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"
                },
                "components": [
                  {
                    "factor": "age_gt_60",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "hemoglobin_lt_10",
                    "points": 0,
                    "present": false,
                    "value": 12
                  },
                  {
                    "factor": "platelets_lt_100",
                    "points": 0,
                    "present": false,
                    "value": 200
                  },
                  {
                    "factor": "sar_mutations",
                    "points": 0,
                    "present": false,
                    "value": 0
                  }
                ],
                "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": "mars",
                "formula_expression": "MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)",
                "hemoglobin_g_dl": 12,
                "max_score": 5,
                "platelets_10e9_l": 200,
                "risk_band": "low",
                "sar_mutation_count": 0,
                "score": 0
              },
              {
                "age": 50,
                "citation": {
                  "authors": "Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A",
                  "doi": "10.1200/JCO.19.00640",
                  "id": "jawhar-2019",
                  "pmid": "31509472",
                  "source": "J Clin Oncol. 2019;37(31):2846-2856",
                  "title": "MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"
                },
                "components": [
                  {
                    "factor": "age_gt_60",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "hemoglobin_lt_10",
                    "points": 0,
                    "present": false,
                    "value": 12
                  },
                  {
                    "factor": "platelets_lt_100",
                    "points": 0,
                    "present": false,
                    "value": 200
                  },
                  {
                    "factor": "sar_mutations",
                    "points": 0,
                    "present": false,
                    "value": 0
                  }
                ],
                "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": "mars",
                "formula_expression": "MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)",
                "hemoglobin_g_dl": 12,
                "max_score": 5,
                "platelets_10e9_l": 200,
                "risk_band": "low",
                "sar_mutation_count": 0,
                "score": 0
              }
            ],
            "path": "/api/calc/mars"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (integer 18-120). >60 scores 1 (Jawhar 2019). Age 61 scores; age 60 is the ≤60 arm and scores 0.",
                          "type": "integer"
                        },
                        "hemoglobin_g_dl": {
                          "description": "Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 g/dL (<100 g/L) scores 1 (Jawhar 2019). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.",
                          "type": "number"
                        },
                        "hemoglobin_g_l": {
                          "description": "Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. <100 g/L scores 1. 100 is the ≥100 arm and scores 0.",
                          "type": "number"
                        },
                        "platelets_10e9_l": {
                          "description": "Platelet count in 10^9/L (1-2000). <100 scores 1 (Jawhar 2019). 100.0 is the ≥100 arm and scores 0. magent does not assay platelets.",
                          "type": "number"
                        },
                        "sar_mutation_count": {
                          "description": "Caller-assigned count of S/A/R mutations among SRSF2, ASXL1, and RUNX1 (integer 0, 1, or 2; 2 means two or more). Exactly one scores 1. Two or more scores 2 (not 1 plus 2). Count 0 scores 0. magent does not sequence.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "age",
                        "platelets_10e9_l",
                        "sar_mutation_count"
                      ],
                      "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": [
    "mars",
    "mastocytosis",
    "hematology",
    "prognosis",
    "advsm",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:56:56.171Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T14:56:56.047Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 50,
                  "hemoglobin_g_dl": 12,
                  "hemoglobin_g_l": 120,
                  "platelets_10e9_l": 200,
                  "sar_mutation_count": 0
                },
                {
                  "age": 50,
                  "hemoglobin_g_dl": 12,
                  "hemoglobin_g_l": 120,
                  "platelets_10e9_l": 200,
                  "sar_mutation_count": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age": 50,
                  "citation": {
                    "authors": "Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A",
                    "doi": "10.1200/JCO.19.00640",
                    "id": "jawhar-2019",
                    "pmid": "31509472",
                    "source": "J Clin Oncol. 2019;37(31):2846-2856",
                    "title": "MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"
                  },
                  "components": [
                    {
                      "factor": "age_gt_60",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "hemoglobin_lt_10",
                      "points": 0,
                      "present": false,
                      "value": 12
                    },
                    {
                      "factor": "platelets_lt_100",
                      "points": 0,
                      "present": false,
                      "value": 200
                    },
                    {
                      "factor": "sar_mutations",
                      "points": 0,
                      "present": false,
                      "value": 0
                    }
                  ],
                  "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": "mars",
                  "formula_expression": "MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)",
                  "hemoglobin_g_dl": 12,
                  "max_score": 5,
                  "platelets_10e9_l": 200,
                  "risk_band": "low",
                  "sar_mutation_count": 0,
                  "score": 0
                },
                {
                  "age": 50,
                  "citation": {
                    "authors": "Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A",
                    "doi": "10.1200/JCO.19.00640",
                    "id": "jawhar-2019",
                    "pmid": "31509472",
                    "source": "J Clin Oncol. 2019;37(31):2846-2856",
                    "title": "MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"
                  },
                  "components": [
                    {
                      "factor": "age_gt_60",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "hemoglobin_lt_10",
                      "points": 0,
                      "present": false,
                      "value": 12
                    },
                    {
                      "factor": "platelets_lt_100",
                      "points": 0,
                      "present": false,
                      "value": 200
                    },
                    {
                      "factor": "sar_mutations",
                      "points": 0,
                      "present": false,
                      "value": 0
                    }
                  ],
                  "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": "mars",
                  "formula_expression": "MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)",
                  "hemoglobin_g_dl": 12,
                  "max_score": 5,
                  "platelets_10e9_l": 200,
                  "risk_band": "low",
                  "sar_mutation_count": 0,
                  "score": 0
                }
              ],
              "path": "/api/calc/mars"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (integer 18-120). >60 scores 1 (Jawhar 2019). Age 61 scores; age 60 is the ≤60 arm and scores 0.",
                            "type": "integer"
                          },
                          "hemoglobin_g_dl": {
                            "description": "Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 g/dL (<100 g/L) scores 1 (Jawhar 2019). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.",
                            "type": "number"
                          },
                          "hemoglobin_g_l": {
                            "description": "Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. <100 g/L scores 1. 100 is the ≥100 arm and scores 0.",
                            "type": "number"
                          },
                          "platelets_10e9_l": {
                            "description": "Platelet count in 10^9/L (1-2000). <100 scores 1 (Jawhar 2019). 100.0 is the ≥100 arm and scores 0. magent does not assay platelets.",
                            "type": "number"
                          },
                          "sar_mutation_count": {
                            "description": "Caller-assigned count of S/A/R mutations among SRSF2, ASXL1, and RUNX1 (integer 0, 1, or 2; 2 means two or more). Exactly one scores 1. Two or more scores 2 (not 1 plus 2). Count 0 scores 0. magent does not sequence.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "age",
                          "platelets_10e9_l",
                          "sar_mutation_count"
                        ],
                        "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"
  }
}