{
  "x402Version": 2,
  "id": 38875,
  "slug": "38875",
  "resource": "https://api.magentlab.com/api/calc/wpss",
  "description": "Malcovati 2007 WPSS for MDS: WHO category (RA/RARS/5q- 0, RCMD/RCMD-RS 1, RAEB-1 2, RAEB-2 3), IPSS karyotype (good 0, intermediate 1, poor 2; caller assigns the three-group class), regular RBC transfusion 1 (at least one every 8 weeks over 4 months); max 6. very_low 0 through very_high 5–6. Not IPSS-R, not IPSS 1997, not DIPSS. magent does not karyotype or assign WHO category.",
  "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": [
              {
                "cytogenetics": "good",
                "regular_transfusion": false,
                "who_mds": "ra_rars_5q"
              },
              {
                "cytogenetics": "good",
                "regular_transfusion": false,
                "who_mds": "ra_rars_5q"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Malcovati L, Germing U, Kuendgen A, et al.",
                  "doi": "10.1200/JCO.2006.08.5696",
                  "id": "malcovati-2007",
                  "pmid": "17687155",
                  "source": "J Clin Oncol. 2007;25(23):3503-3510",
                  "title": "Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"
                },
                "components": [
                  {
                    "factor": "who_mds",
                    "points": 0,
                    "present": false,
                    "value": "ra_rars_5q"
                  },
                  {
                    "factor": "cytogenetics",
                    "points": 0,
                    "present": false,
                    "value": "good"
                  },
                  {
                    "factor": "regular_transfusion",
                    "points": 0,
                    "present": false
                  }
                ],
                "cytogenetics": "good",
                "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": "wpss",
                "formula_expression": "WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6",
                "max_score": 6,
                "regular_transfusion": false,
                "risk_group": "very_low",
                "score": 0,
                "who_mds": "ra_rars_5q"
              },
              {
                "citation": {
                  "authors": "Malcovati L, Germing U, Kuendgen A, et al.",
                  "doi": "10.1200/JCO.2006.08.5696",
                  "id": "malcovati-2007",
                  "pmid": "17687155",
                  "source": "J Clin Oncol. 2007;25(23):3503-3510",
                  "title": "Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"
                },
                "components": [
                  {
                    "factor": "who_mds",
                    "points": 0,
                    "present": false,
                    "value": "ra_rars_5q"
                  },
                  {
                    "factor": "cytogenetics",
                    "points": 0,
                    "present": false,
                    "value": "good"
                  },
                  {
                    "factor": "regular_transfusion",
                    "points": 0,
                    "present": false
                  }
                ],
                "cytogenetics": "good",
                "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": "wpss",
                "formula_expression": "WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6",
                "max_score": 6,
                "regular_transfusion": false,
                "risk_group": "very_low",
                "score": 0,
                "who_mds": "ra_rars_5q"
              }
            ],
            "path": "/api/calc/wpss"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "cytogenetics": {
                          "description": "IPSS (Greenberg 1997) cytogenetic group as assigned by the caller (good 0, intermediate 1, poor 2). Not the IPSS-R five-group scale (very_good and very_poor are invalid). magent does not karyotype.",
                          "enum": [
                            "good",
                            "intermediate",
                            "poor"
                          ],
                          "type": "string"
                        },
                        "regular_transfusion": {
                          "description": "Regular RBC transfusion requirement as assigned by the caller (Malcovati 2007: at least one RBC transfusion every 8 weeks over 4 months). true scores 1. magent does not count units.",
                          "type": "boolean"
                        },
                        "who_mds": {
                          "description": "Malcovati 2007 Table 2 WHO 2001 group as assigned by the caller. ra_rars_5q is RA, RARS, or MDS with isolated del(5q) and scores 0. rcmd is RCMD or RCMD-RS and scores 1. raeb1 is RAEB-1 and scores 2. raeb2 is RAEB-2 and scores 3. magent does not assign WHO category.",
                          "enum": [
                            "ra_rars_5q",
                            "rcmd",
                            "raeb1",
                            "raeb2"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "who_mds",
                        "cytogenetics",
                        "regular_transfusion"
                      ],
                      "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": [
    "wpss",
    "mds",
    "hematology",
    "prognosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T15:01:43.826Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-12T15:01:43.7Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "cytogenetics": "good",
                  "regular_transfusion": false,
                  "who_mds": "ra_rars_5q"
                },
                {
                  "cytogenetics": "good",
                  "regular_transfusion": false,
                  "who_mds": "ra_rars_5q"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Malcovati L, Germing U, Kuendgen A, et al.",
                    "doi": "10.1200/JCO.2006.08.5696",
                    "id": "malcovati-2007",
                    "pmid": "17687155",
                    "source": "J Clin Oncol. 2007;25(23):3503-3510",
                    "title": "Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"
                  },
                  "components": [
                    {
                      "factor": "who_mds",
                      "points": 0,
                      "present": false,
                      "value": "ra_rars_5q"
                    },
                    {
                      "factor": "cytogenetics",
                      "points": 0,
                      "present": false,
                      "value": "good"
                    },
                    {
                      "factor": "regular_transfusion",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "cytogenetics": "good",
                  "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": "wpss",
                  "formula_expression": "WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6",
                  "max_score": 6,
                  "regular_transfusion": false,
                  "risk_group": "very_low",
                  "score": 0,
                  "who_mds": "ra_rars_5q"
                },
                {
                  "citation": {
                    "authors": "Malcovati L, Germing U, Kuendgen A, et al.",
                    "doi": "10.1200/JCO.2006.08.5696",
                    "id": "malcovati-2007",
                    "pmid": "17687155",
                    "source": "J Clin Oncol. 2007;25(23):3503-3510",
                    "title": "Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"
                  },
                  "components": [
                    {
                      "factor": "who_mds",
                      "points": 0,
                      "present": false,
                      "value": "ra_rars_5q"
                    },
                    {
                      "factor": "cytogenetics",
                      "points": 0,
                      "present": false,
                      "value": "good"
                    },
                    {
                      "factor": "regular_transfusion",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "cytogenetics": "good",
                  "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": "wpss",
                  "formula_expression": "WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6",
                  "max_score": 6,
                  "regular_transfusion": false,
                  "risk_group": "very_low",
                  "score": 0,
                  "who_mds": "ra_rars_5q"
                }
              ],
              "path": "/api/calc/wpss"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "cytogenetics": {
                            "description": "IPSS (Greenberg 1997) cytogenetic group as assigned by the caller (good 0, intermediate 1, poor 2). Not the IPSS-R five-group scale (very_good and very_poor are invalid). magent does not karyotype.",
                            "enum": [
                              "good",
                              "intermediate",
                              "poor"
                            ],
                            "type": "string"
                          },
                          "regular_transfusion": {
                            "description": "Regular RBC transfusion requirement as assigned by the caller (Malcovati 2007: at least one RBC transfusion every 8 weeks over 4 months). true scores 1. magent does not count units.",
                            "type": "boolean"
                          },
                          "who_mds": {
                            "description": "Malcovati 2007 Table 2 WHO 2001 group as assigned by the caller. ra_rars_5q is RA, RARS, or MDS with isolated del(5q) and scores 0. rcmd is RCMD or RCMD-RS and scores 1. raeb1 is RAEB-1 and scores 2. raeb2 is RAEB-2 and scores 3. magent does not assign WHO category.",
                            "enum": [
                              "ra_rars_5q",
                              "rcmd",
                              "raeb1",
                              "raeb2"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "who_mds",
                          "cytogenetics",
                          "regular_transfusion"
                        ],
                        "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"
  }
}