# IMPROVE-DD VTE Risk Score Calculator

> IMPROVE-DD VTE Risk Score Calculator 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-14).

Calculates the Gibson 2017 IMPROVE-DD venous thromboembolism (VTE) risk score for hospitalized medical patients using 7 Spyropoulos 2011 IMPROVE factors plus D-dimer elevation

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/improvedd
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/improve-dd-vte-risk-score-calculator-7c74f72b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jO6et9yVO_JgZJ8Ox724S

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 improve-dd-vte-risk-score-calculator-7c74f72b
```

Example prompt: Calculate the IMPROVE-DD VTE risk score for a 67-year-old patient who has a history of previous VTE, is currently in the ICU, has active cancer, and has a D-dimer that is ≥2× the upper limit of normal — no thrombophilia, no lower-limb paralysis, and not immobilized for 7 or more days.

## When to prefer this

Use this endpoint when you need the Gibson 2017 IMPROVE-DD 8-factor model specifically (the 7 original Spyropoulos 2011 IMPROVE items plus D-dimer). Prefer it over the original 4-factor IMPROVE admission model when D-dimer data is available and a 77-day risk window is relevant. Do not use if you need the Padua, Caprini, or Khorana models — those are distinct risk stratification tools. This endpoint does not diagnose VTE, order prophylaxis, or assay D-dimer; it only scores a set of caller-supplied binary flags.

## Known failure modes

- Missing required query parameters (age, any of the 7 boolean flags, or d_dimer_ge_2x_uln) returns a 400 error
- Age outside the accepted range (18–120) returns a validation error
- Non-boolean values for boolean fields cause a schema validation failure
- Payment failure (insufficient USDC balance or x402 protocol error) prevents the call from completing

## How this service works

Gibson 2017 IMPROVEDD VTE score: Spyropoulos 2011 7-factor IMPROVE items (previous VTE 3, known thrombophilia 2, lower-limb paralysis 2, current cancer 2, immobilized >=7 days 1, ICU/CCU 1, age >60 1) plus 2 if caller-assigned D-dimer >=2x ULN. Max 14. low 0-1 vs high >=2 (heightened VTE through 77 days when >=2). Not a VTE diagnosis or prophylaxis order. Not the 4-factor admission model. Not Padua or Caprini. magent does not assay D-dimer.

## Output

Returns the IMPROVE-DD total score (integer, 0–14) and the risk category: low (score 0–1) or high (score ≥2), indicating heightened 77-day VTE risk when high. Does not include a clinical recommendation, prophylaxis order, or VTE diagnosis.

## 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": [
      "age",
      "previous_vte",
      "known_thrombophilia",
      "lower_limb_paralysis",
      "current_cancer",
      "immobilized_ge_7_days",
      "icu_ccu_stay",
      "d_dimer_ge_2x_uln"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Scores 1 when age >60 (Spyropoulos 2011 / Gibson 2017). Age 60 scores 0; age 61 scores 1."
      },
      "icu_ccu_stay": {
       "type": "boolean",
       "description": "ICU or CCU stay as assigned by the caller (Spyropoulos 2011 / Gibson 2017, during hospitalization). true or false. 1 point if true. magent does not assign level of care."
      },
      "previous_vte": {
       "type": "boolean",
       "description": "Previous VTE as assigned by the caller (Spyropoulos 2011 7-factor associative items in Gibson 2017 IMPROVEDD). true or false. 3 points if true. magent does not diagnose VTE."
      },
      "current_cancer": {
       "type": "boolean",
       "description": "Current cancer as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not diagnose cancer."
      },
      "d_dimer_ge_2x_uln": {
       "type": "boolean",
       "description": "D-dimer >=2x the local upper limit of normal as assigned by the caller (Gibson 2017). true or false. 2 points if true. magent does not assay D-dimer."
      },
      "known_thrombophilia": {
       "type": "boolean",
       "description": "Known thrombophilia as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not interpret a thrombophilia panel."
      },
      "lower_limb_paralysis": {
       "type": "boolean",
       "description": "Lower-limb paralysis as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not examine the patient."
      },
      "immobilized_ge_7_days": {
       "type
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/improve-dd-vte-risk-score-calculator-7c74f72b/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)
