{
  "x402Version": 2,
  "id": 39422,
  "slug": "39422",
  "resource": "https://api.magentlab.com/api/calc/duval_aml",
  "description": "Duval 2010 AML Table 5 (not ALL): PIF or CR1 >6 mo 0 / CR1 <6 mo 1; ECOG/SWOG cyto good/intermediate 0, poor 1; HLA sibling or well/partially matched unrelated 0, mismatched unrelated 1, related other 2; circulating blasts 1; KPS/Lansky <90 1; max 6. Groups 0, 1, 2, ≥3. Caller assigns categories; magent does not karyotype. Not a transplant listing.",
  "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": [
              {
                "circulating_blasts": false,
                "cytogenetics": "good_or_intermediate",
                "disease_group": "pif_or_cr1_gt_6mo",
                "hla_match": "sibling_or_matched_unrelated",
                "kps_lt_90": false
              },
              {
                "circulating_blasts": false,
                "cytogenetics": "good_or_intermediate",
                "disease_group": "pif_or_cr1_gt_6mo",
                "hla_match": "sibling_or_matched_unrelated",
                "kps_lt_90": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "circulating_blasts": false,
                "citation": {
                  "authors": "Duval M, Klein JP, He W, et al",
                  "doi": "10.1200/JCO.2010.28.8852",
                  "id": "duval-2010",
                  "pmid": "20625126",
                  "source": "J Clin Oncol. 2010;28(23):3730-3738",
                  "title": "Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"
                },
                "components": [
                  {
                    "factor": "disease_group",
                    "points": 0,
                    "present": false,
                    "value": "pif_or_cr1_gt_6mo"
                  },
                  {
                    "factor": "cytogenetics",
                    "points": 0,
                    "present": false,
                    "value": "good_or_intermediate"
                  },
                  {
                    "factor": "hla_match",
                    "points": 0,
                    "present": false,
                    "value": "sibling_or_matched_unrelated"
                  },
                  {
                    "factor": "circulating_blasts",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "kps_lt_90",
                    "points": 0,
                    "present": false
                  }
                ],
                "cytogenetics": "good_or_intermediate",
                "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.",
                "disease_group": "pif_or_cr1_gt_6mo",
                "formula": "duval_aml",
                "formula_expression": "Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3",
                "hla_match": "sibling_or_matched_unrelated",
                "kps_lt_90": false,
                "max_score": 6,
                "risk_group": "0",
                "score": 0
              },
              {
                "circulating_blasts": false,
                "citation": {
                  "authors": "Duval M, Klein JP, He W, et al",
                  "doi": "10.1200/JCO.2010.28.8852",
                  "id": "duval-2010",
                  "pmid": "20625126",
                  "source": "J Clin Oncol. 2010;28(23):3730-3738",
                  "title": "Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"
                },
                "components": [
                  {
                    "factor": "disease_group",
                    "points": 0,
                    "present": false,
                    "value": "pif_or_cr1_gt_6mo"
                  },
                  {
                    "factor": "cytogenetics",
                    "points": 0,
                    "present": false,
                    "value": "good_or_intermediate"
                  },
                  {
                    "factor": "hla_match",
                    "points": 0,
                    "present": false,
                    "value": "sibling_or_matched_unrelated"
                  },
                  {
                    "factor": "circulating_blasts",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "kps_lt_90",
                    "points": 0,
                    "present": false
                  }
                ],
                "cytogenetics": "good_or_intermediate",
                "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.",
                "disease_group": "pif_or_cr1_gt_6mo",
                "formula": "duval_aml",
                "formula_expression": "Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3",
                "hla_match": "sibling_or_matched_unrelated",
                "kps_lt_90": false,
                "max_score": 6,
                "risk_group": "0",
                "score": 0
              }
            ],
            "path": "/api/calc/duval_aml"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "circulating_blasts": {
                          "description": "Circulating blasts present as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not count blasts.",
                          "type": "boolean"
                        },
                        "cytogenetics": {
                          "description": "ECOG/SWOG cytogenetic risk as assigned by the caller (Duval 2010). poor is −5/del(5q), −7/del(7q), inv(3q), abn11q, 20q or 21q, del(9q), t(6;9), t(9;22), abn17p, or complex (≥3 abnormalities) and scores 1. good_or_intermediate is everything else in that classification and scores 0. magent does not read a karyotype string.",
                          "enum": [
                            "good_or_intermediate",
                            "poor"
                          ],
                          "type": "string"
                        },
                        "disease_group": {
                          "description": "Duval 2010 AML Table 5 disease status as assigned by the caller. pif_or_cr1_gt_6mo is primary induction failure or duration of first CR >6 months and scores 0. cr1_lt_6mo is duration of first CR <6 months and scores 1. magent does not date remissions.",
                          "enum": [
                            "pif_or_cr1_gt_6mo",
                            "cr1_lt_6mo"
                          ],
                          "type": "string"
                        },
                        "hla_match": {
                          "description": "Duval 2010 AML Table 5 donor HLA match as assigned by the caller (not a flattened 0/1 donor flag). sibling_or_matched_unrelated is HLA-identical sibling or well matched or partially matched unrelated and scores 0. mismatched_unrelated scores 1. related_other is related other than HLA-identical sibling and scores 2. magent does not HLA-type.",
                          "enum": [
                            "sibling_or_matched_unrelated",
                            "mismatched_unrelated",
                            "related_other"
                          ],
                          "type": "string"
                        },
                        "kps_lt_90": {
                          "description": "Karnofsky or Lansky <90 as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not collect numeric KPS or Lansky.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "disease_group",
                        "cytogenetics",
                        "hla_match",
                        "circulating_blasts",
                        "kps_lt_90"
                      ],
                      "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": [
    "duval-aml",
    "aml",
    "hematology",
    "hct",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:55:14.27Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:55:14.142Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "circulating_blasts": false,
                  "cytogenetics": "good_or_intermediate",
                  "disease_group": "pif_or_cr1_gt_6mo",
                  "hla_match": "sibling_or_matched_unrelated",
                  "kps_lt_90": false
                },
                {
                  "circulating_blasts": false,
                  "cytogenetics": "good_or_intermediate",
                  "disease_group": "pif_or_cr1_gt_6mo",
                  "hla_match": "sibling_or_matched_unrelated",
                  "kps_lt_90": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "circulating_blasts": false,
                  "citation": {
                    "authors": "Duval M, Klein JP, He W, et al",
                    "doi": "10.1200/JCO.2010.28.8852",
                    "id": "duval-2010",
                    "pmid": "20625126",
                    "source": "J Clin Oncol. 2010;28(23):3730-3738",
                    "title": "Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"
                  },
                  "components": [
                    {
                      "factor": "disease_group",
                      "points": 0,
                      "present": false,
                      "value": "pif_or_cr1_gt_6mo"
                    },
                    {
                      "factor": "cytogenetics",
                      "points": 0,
                      "present": false,
                      "value": "good_or_intermediate"
                    },
                    {
                      "factor": "hla_match",
                      "points": 0,
                      "present": false,
                      "value": "sibling_or_matched_unrelated"
                    },
                    {
                      "factor": "circulating_blasts",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "kps_lt_90",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "cytogenetics": "good_or_intermediate",
                  "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.",
                  "disease_group": "pif_or_cr1_gt_6mo",
                  "formula": "duval_aml",
                  "formula_expression": "Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3",
                  "hla_match": "sibling_or_matched_unrelated",
                  "kps_lt_90": false,
                  "max_score": 6,
                  "risk_group": "0",
                  "score": 0
                },
                {
                  "circulating_blasts": false,
                  "citation": {
                    "authors": "Duval M, Klein JP, He W, et al",
                    "doi": "10.1200/JCO.2010.28.8852",
                    "id": "duval-2010",
                    "pmid": "20625126",
                    "source": "J Clin Oncol. 2010;28(23):3730-3738",
                    "title": "Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"
                  },
                  "components": [
                    {
                      "factor": "disease_group",
                      "points": 0,
                      "present": false,
                      "value": "pif_or_cr1_gt_6mo"
                    },
                    {
                      "factor": "cytogenetics",
                      "points": 0,
                      "present": false,
                      "value": "good_or_intermediate"
                    },
                    {
                      "factor": "hla_match",
                      "points": 0,
                      "present": false,
                      "value": "sibling_or_matched_unrelated"
                    },
                    {
                      "factor": "circulating_blasts",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "kps_lt_90",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "cytogenetics": "good_or_intermediate",
                  "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.",
                  "disease_group": "pif_or_cr1_gt_6mo",
                  "formula": "duval_aml",
                  "formula_expression": "Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3",
                  "hla_match": "sibling_or_matched_unrelated",
                  "kps_lt_90": false,
                  "max_score": 6,
                  "risk_group": "0",
                  "score": 0
                }
              ],
              "path": "/api/calc/duval_aml"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "circulating_blasts": {
                            "description": "Circulating blasts present as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not count blasts.",
                            "type": "boolean"
                          },
                          "cytogenetics": {
                            "description": "ECOG/SWOG cytogenetic risk as assigned by the caller (Duval 2010). poor is −5/del(5q), −7/del(7q), inv(3q), abn11q, 20q or 21q, del(9q), t(6;9), t(9;22), abn17p, or complex (≥3 abnormalities) and scores 1. good_or_intermediate is everything else in that classification and scores 0. magent does not read a karyotype string.",
                            "enum": [
                              "good_or_intermediate",
                              "poor"
                            ],
                            "type": "string"
                          },
                          "disease_group": {
                            "description": "Duval 2010 AML Table 5 disease status as assigned by the caller. pif_or_cr1_gt_6mo is primary induction failure or duration of first CR >6 months and scores 0. cr1_lt_6mo is duration of first CR <6 months and scores 1. magent does not date remissions.",
                            "enum": [
                              "pif_or_cr1_gt_6mo",
                              "cr1_lt_6mo"
                            ],
                            "type": "string"
                          },
                          "hla_match": {
                            "description": "Duval 2010 AML Table 5 donor HLA match as assigned by the caller (not a flattened 0/1 donor flag). sibling_or_matched_unrelated is HLA-identical sibling or well matched or partially matched unrelated and scores 0. mismatched_unrelated scores 1. related_other is related other than HLA-identical sibling and scores 2. magent does not HLA-type.",
                            "enum": [
                              "sibling_or_matched_unrelated",
                              "mismatched_unrelated",
                              "related_other"
                            ],
                            "type": "string"
                          },
                          "kps_lt_90": {
                            "description": "Karnofsky or Lansky <90 as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not collect numeric KPS or Lansky.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "disease_group",
                          "cytogenetics",
                          "hla_match",
                          "circulating_blasts",
                          "kps_lt_90"
                        ],
                        "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"
  }
}