# D'Amico 1998 Prostate Cancer Risk Stratification

> D'Amico 1998 Prostate Cancer Risk Stratification is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Classifies clinically localized prostate cancer as low, intermediate, or high risk using the D'Amico 1998 JAMA criteria based on clinical T-stage, Gleason score, and PSA.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/damico
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/d-amico-1998-prostate-cancer-risk-stratification-08f1bc03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hhuCOzNzso51w4J23ifrS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability d-amico-1998-prostate-cancer-risk-stratification-08f1bc03
```

Example prompt: Using the D'Amico 1998 criteria, classify this patient's prostate cancer risk: clinical T-stage is t2b, Gleason score is 7, and PSA is 12 ng/mL.

## When to prefer this

Use this endpoint when you need a fast, deterministic, rule-based D'Amico 1998 JAMA risk group classification for clinically localized prostate cancer (T1c–T2c). Prefer it over CAPRA or NCCN calculators when the clinical workflow specifically calls for D'Amico stratification. It is appropriate for audit pipelines, clinical decision support integrations, and research tools where the caller already has validated PSA, Gleason, and T-stage values and needs only the D'Amico group returned programmatically.

## Known failure modes

- Invalid t_stage value (not one of t1c, t2a, t2b, t2c) — returns validation error
- Gleason score outside integer range 2–10 (e.g. 1, 11, or non-integer 6.5) — returns validation error
- PSA value outside range 0.1–200 ng/mL — returns validation error
- T-stages T1a, T1b, or T3+ are out of scope and will be rejected
- Missing required query parameters — returns schema validation error

## How this service works

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.

## Output

Returns a D'Amico risk group classification — 'low', 'intermediate', or 'high' — derived strictly from the caller-supplied T-stage, Gleason score, and PSA value according to the 1998 JAMA D'Amico algorithm. No diagnosis is issued; the endpoint is not a medical device.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "t_stage",
      "gleason_score",
      "psa_ng_ml"
     ],
     "properties": {
      "t_stage": {
       "enum": [
        "t1c",
        "t2a",
        "t2b",
        "t2c"
       ],
       "type": "string",
       "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."
      },
      "psa_ng_ml": {
       "type": "number",
       "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."
      },
      "gleason_score": {
       "type": "integer",
       "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."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/d-amico-1998-prostate-cancer-risk-stratification-08f1bc03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
