{
  "x402Version": 2,
  "id": 39215,
  "slug": "39215",
  "resource": "https://api.magentlab.com/api/calc/damico",
  "description": "D'Amico 1998 JAMA clinically localized prostate-cancer groups from caller-assigned T (t1c, t2a, t2b, t2c), Gleason 2-10, and PSA ng/mL (0.1-200). Returns low, intermediate, or high. High if T2c or PSA > 20 or Gleason ≥ 8; else intermediate if T2b or Gleason 7 or PSA > 10 and ≤ 20; else low if T1c/T2a and PSA ≤ 10 and Gleason ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason. Not a diagnosis. Not a medical device.",
  "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": [
              {
                "gleason_score": 6,
                "psa_ng_ml": 5,
                "t_stage": "t1c"
              },
              {
                "gleason_score": 6,
                "psa_ng_ml": 5,
                "t_stage": "t1c"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A",
                  "doi": "10.1001/jama.280.11.969",
                  "id": "damico-1998",
                  "pmid": "9749478",
                  "source": "JAMA. 1998;280(11):969-974",
                  "title": "Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"
                },
                "components": [
                  {
                    "factor": "t_stage",
                    "met": true,
                    "value": "t1c"
                  },
                  {
                    "factor": "gleason_score",
                    "met": true,
                    "value": 6
                  },
                  {
                    "factor": "psa_ng_ml",
                    "met": true,
                    "value": 5
                  },
                  {
                    "factor": "low",
                    "met": true
                  },
                  {
                    "factor": "intermediate",
                    "met": false
                  },
                  {
                    "factor": "high",
                    "met": 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": "damico",
                "formula_expression": "D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.",
                "gleason_score": 6,
                "psa_ng_ml": 5,
                "risk": "low",
                "t_stage": "t1c"
              },
              {
                "citation": {
                  "authors": "D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A",
                  "doi": "10.1001/jama.280.11.969",
                  "id": "damico-1998",
                  "pmid": "9749478",
                  "source": "JAMA. 1998;280(11):969-974",
                  "title": "Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"
                },
                "components": [
                  {
                    "factor": "t_stage",
                    "met": true,
                    "value": "t1c"
                  },
                  {
                    "factor": "gleason_score",
                    "met": true,
                    "value": 6
                  },
                  {
                    "factor": "psa_ng_ml",
                    "met": true,
                    "value": 5
                  },
                  {
                    "factor": "low",
                    "met": true
                  },
                  {
                    "factor": "intermediate",
                    "met": false
                  },
                  {
                    "factor": "high",
                    "met": 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": "damico",
                "formula_expression": "D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.",
                "gleason_score": 6,
                "psa_ng_ml": 5,
                "risk": "low",
                "t_stage": "t1c"
              }
            ],
            "path": "/api/calc/damico"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "gleason_score": {
                          "description": "Gleason sum 2-10 as assigned by the caller (D'Amico 1998). Integer 2-10 only; reject 1, 11, and 6.5. Not Grade Group / ISUP 2014. magent does not assign Gleason or read slides.",
                          "type": "integer"
                        },
                        "psa_ng_ml": {
                          "description": "Serum PSA in ng/mL as assayed by the caller (0.1-200). D'Amico 1998 uses ≤10, >10 and ≤20, and >20. magent does not assay PSA.",
                          "type": "number"
                        },
                        "t_stage": {
                          "description": "Clinical T as assigned by the caller (D'Amico 1998 clinically localized groups). t1c, t2a, t2b, or t2c. T1a, T1b, and T3+ are out of scope. magent does not assign TNM or read staging studies.",
                          "enum": [
                            "t1c",
                            "t2a",
                            "t2b",
                            "t2c"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "t_stage",
                        "gleason_score",
                        "psa_ng_ml"
                      ],
                      "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": [
    "damico",
    "prostate",
    "kidney",
    "prognosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T02:31:29.828Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T02:31:29.694Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "gleason_score": 6,
                  "psa_ng_ml": 5,
                  "t_stage": "t1c"
                },
                {
                  "gleason_score": 6,
                  "psa_ng_ml": 5,
                  "t_stage": "t1c"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A",
                    "doi": "10.1001/jama.280.11.969",
                    "id": "damico-1998",
                    "pmid": "9749478",
                    "source": "JAMA. 1998;280(11):969-974",
                    "title": "Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"
                  },
                  "components": [
                    {
                      "factor": "t_stage",
                      "met": true,
                      "value": "t1c"
                    },
                    {
                      "factor": "gleason_score",
                      "met": true,
                      "value": 6
                    },
                    {
                      "factor": "psa_ng_ml",
                      "met": true,
                      "value": 5
                    },
                    {
                      "factor": "low",
                      "met": true
                    },
                    {
                      "factor": "intermediate",
                      "met": false
                    },
                    {
                      "factor": "high",
                      "met": 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": "damico",
                  "formula_expression": "D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.",
                  "gleason_score": 6,
                  "psa_ng_ml": 5,
                  "risk": "low",
                  "t_stage": "t1c"
                },
                {
                  "citation": {
                    "authors": "D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A",
                    "doi": "10.1001/jama.280.11.969",
                    "id": "damico-1998",
                    "pmid": "9749478",
                    "source": "JAMA. 1998;280(11):969-974",
                    "title": "Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"
                  },
                  "components": [
                    {
                      "factor": "t_stage",
                      "met": true,
                      "value": "t1c"
                    },
                    {
                      "factor": "gleason_score",
                      "met": true,
                      "value": 6
                    },
                    {
                      "factor": "psa_ng_ml",
                      "met": true,
                      "value": 5
                    },
                    {
                      "factor": "low",
                      "met": true
                    },
                    {
                      "factor": "intermediate",
                      "met": false
                    },
                    {
                      "factor": "high",
                      "met": 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": "damico",
                  "formula_expression": "D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.",
                  "gleason_score": 6,
                  "psa_ng_ml": 5,
                  "risk": "low",
                  "t_stage": "t1c"
                }
              ],
              "path": "/api/calc/damico"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "gleason_score": {
                            "description": "Gleason sum 2-10 as assigned by the caller (D'Amico 1998). Integer 2-10 only; reject 1, 11, and 6.5. Not Grade Group / ISUP 2014. magent does not assign Gleason or read slides.",
                            "type": "integer"
                          },
                          "psa_ng_ml": {
                            "description": "Serum PSA in ng/mL as assayed by the caller (0.1-200). D'Amico 1998 uses ≤10, >10 and ≤20, and >20. magent does not assay PSA.",
                            "type": "number"
                          },
                          "t_stage": {
                            "description": "Clinical T as assigned by the caller (D'Amico 1998 clinically localized groups). t1c, t2a, t2b, or t2c. T1a, T1b, and T3+ are out of scope. magent does not assign TNM or read staging studies.",
                            "enum": [
                              "t1c",
                              "t2a",
                              "t2b",
                              "t2c"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "t_stage",
                          "gleason_score",
                          "psa_ng_ml"
                        ],
                        "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"
  }
}