# VTE-BLEED Score Calculator (Klok 2016)

> VTE-BLEED Score Calculator (Klok 2016) 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).

Computes the Klok 2016 VTE-BLEED score for major bleeding risk on stable anticoagulation after venous thromboembolism, returning a numeric score and low/high risk classification.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/vte_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/vte-bleed-score-calculator-klok-2016-4ccedc97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vn7ny_C9zyJI98u60vfUr

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 vte-bleed-score-calculator-klok-2016-4ccedc97
```

Example prompt: Calculate the VTE-BLEED score for a 67-year-old male patient with active cancer, no uncontrolled hypertension, anemia present, history of bleeding, and renal dysfunction (eGFR <60) — I need to know if he's at low or high risk for major bleeding on long-term anticoagulation.

## When to prefer this

Use this endpoint when you need to compute the validated Klok 2016 VTE-BLEED score specifically for patients on stable anticoagulation after VTE — not for general pre-treatment bleeding risk (prefer HAS-BLED for atrial fibrillation populations) and not when you need concurrent eGFR or hemoglobin computation (those must be pre-computed by the caller). Prefer this over manual scoring when integrating into automated clinical workflows or EHR enrichment pipelines.

## Known failure modes

- Missing required query parameters (age, sex, or any boolean flag) returns a 400 error
- Age outside valid range (18–120) may return a validation error
- Incorrect data types (e.g., non-integer age, non-boolean flags) cause schema validation failure
- Network or server errors return 5xx responses
- Payment failure via x402 protocol prevents access to the endpoint

## How this service works

Klok 2016 VTE-BLEED for major bleeding on stable anticoagulation after VTE. Six items: active cancer 2; male with uncontrolled hypertension (SBP ≥140) 1; anemia 1.5; history of bleeding 1.5; age ≥60 1.5; renal dysfunction (eGFR/CrCl <60) 1.5; max 9. Low <2, high ≥2. Caller-assigned flags; magent does not assay hemoglobin or eGFR. Not a medical device, not HAS-BLED, and not a treatment-duration order.

## Output

Returns a numeric VTE-BLEED total score (0–9) derived from the six Klok 2016 items, along with a binary risk classification: low risk (<2) or high risk (≥2), plus per-item point contributions. Does not include hemoglobin values, eGFR calculations, or treatment 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",
      "active_cancer",
      "uncontrolled_hypertension",
      "anemia",
      "history_of_bleeding",
      "renal_dysfunction"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Age ≥60 scores 1.5 (Klok 2016). magent does not assign age."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "female or male. Uncontrolled hypertension scores 1 only when sex is male (Klok 2016 / XALIA SBP ≥140 item). Female never scores that item."
      },
      "anemia": {
       "type": "boolean",
       "description": "Anemia as assigned by the caller (Klok 2016: hemoglobin <130 g/L in men or <120 g/L in women). true scores 1.5. magent does not take a hemoglobin number."
      },
      "active_cancer": {
       "type": "boolean",
       "description": "Active cancer as assigned by the caller (Klok 2016). true scores 2. magent does not diagnose cancer."
      },
      "renal_dysfunction": {
       "type": "boolean",
       "description": "Renal dysfunction (eGFR or CrCl <60) as assigned by the caller (Klok 2016). true scores 1.5. magent does not compute eGFR or creatinine clearance."
      },
      "history_of_bleeding": {
       "type": "boolean",
       "description": "History of bleeding as assigned by the caller (Klok 2016). true scores 1.5. magent does not grade bleeding."
      },
      "uncontrolled_hypertension": {
       "type": "boolean",
       "description": "Uncontrolled hypertension (SBP ≥140 mmHg) as assigned by the caller (Klok 2016 / XALIA). true scores 1 only in males; females score 0 even when true. magent does not measure blood pressure."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vte-bleed-score-calculator-klok-2016-4ccedc97/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)
