# IMPROVE Bleeding Risk Score (Decousus 2011)

> IMPROVE Bleeding Risk Score (Decousus 2011) 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 IMPROVE bleeding-risk score for hospitalized medical patients based on 13 clinical risk factors to identify those at elevated bleeding risk during VTE prophylaxis decisions.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/improve_bleed
- 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-bleeding-risk-score-decousus-2011-ab0a3116
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aK9hnyGySCvAcpzZoK0SJ

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-bleeding-risk-score-decousus-2011-ab0a3116
```

Example prompt: Calculate the IMPROVE bleeding risk score for a 78-year-old male with moderate renal failure (GFR 30-59), no hepatic failure, no active ulcer, no prior bleeding, platelets above 50, not in the ICU, no central venous catheter, no rheumatic disease, and no current cancer.

## When to prefer this

Use this endpoint when you need a fast, standardized computation of the Decousus 2011 IMPROVE bleeding risk score for hospitalized medical patients — particularly to support VTE prophylaxis decision-making. Prefer it over manual scoring when integrating clinical calculators into an AI agent workflow. It is not a substitute for physician judgment and does not replace clinical examination or lab computation.

## Known failure modes

- Missing required query parameters (age, sex, renal_failure, etc.) returns a validation error
- Invalid enum values for sex or renal_failure return a schema error
- Age outside the integer range (18-120) may produce unexpected scoring
- Caller-assigned clinical variables (e.g. ICU status, cancer) may not reflect true clinical state if provided incorrectly, leading to an inaccurate score
- Payment failure (402) if USDC funds are insufficient

## How this service works

Decousus 2011 IMPROVE admission bleeding-risk score: ulcer 4.5, prior bleeding 4, platelets <50 4, age >=85 3.5, hepatic failure 2.5, severe renal failure 2.5, ICU/CCU 2.5, CVC 2, rheumatic disease 2, current cancer 2, age 40-84 1.5, male 1, moderate renal failure 1. Max 30.5. Increased risk at >=7. Not a VTE-prophylaxis order. magent does not examine the patient.

## Output

Returns a numeric IMPROVE bleeding risk score (maximum 30.5) computed from the 13 Decousus 2011 risk factors. Scores at or above 7 indicate increased bleeding risk. The response reflects only the caller-supplied values; the API does not examine the patient, compute GFR, or make prophylaxis recommendations.

## 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",
      "sex",
      "renal_failure",
      "active_gastroduodenal_ulcer",
      "prior_bleeding",
      "platelet_count_lt_50",
      "hepatic_failure",
      "icu_ccu",
      "central_venous_catheter",
      "rheumatic_disease",
      "current_cancer"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Decousus 2011 bands: <40 scores 0, 40-84 scores 1.5, >=85 scores 3.5. Age 39 scores 0; age 40 scores 1.5; age 84 scores 1.5; age 85 scores 3.5. Bands are mutually exclusive."
      },
      "sex": {
       "type": "string",
       "description": "male or female (Decousus 2011). Male scores 1; female scores 0. magent does not examine the patient."
      },
      "icu_ccu": {
       "type": "boolean",
       "description": "ICU or CCU stay as assigned by the caller (Decousus 2011). true or false. 2.5 points if true. magent does not assign level of care."
      },
      "renal_failure": {
       "type": "string",
       "description": "none, moderate, or severe as assigned by the caller (Decousus 2011). none is GFR >=60 mL/min/m2 (0 points); moderate is GFR 30-59 (1 point); severe is GFR <30 (2.5 points). Bands are mutually exclusive. magent does not compute GFR."
      },
      "current_cancer": {
       "type": "boolean",
       "description": "Current cancer as assigned by the caller (Decousus 2011). true or false. 2 points if true. magent does not diagnose cancer."
      },
      "prior_bleeding": {
       "type": "boolean",
       "description": "Bleeding during the 3 months before admission as assigned by the caller (Decousus 2011). true or false. 4 points if true. magent does not take a bleeding history."
      },
      "hepatic_failure": {
       "type": "boolean",
       "description": "Hepatic failure (INR >1.5) as assigned by the caller (Decousus 2011). true or false. 2.5 points if true. magent does not assay IN
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/improve-bleeding-risk-score-decousus-2011-ab0a3116/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)
