MA
Agent Service · x402 · early usage

Decousus 2011 IMPROVE admission bleeding-risk score: ulcer 4.5, prior bleeding 4, plate…

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 fa…

by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-13

30d calls5
30d payers2
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: improve-bleed · bleeding · vte · hospital · score · bazaar

Call contract

Method
POST
Input
HTTP request
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "items": [
    {
      "active_gastroduodenal_ulcer": false,
      "age": 35,
      "central_venous_catheter": false,
      "current_cancer": false,
      "hepatic_failure": false,
      "icu_ccu": false,
      "platelet_count_lt_50": false,
      "prior_bleeding": false,
      "renal_failure": "none",
      "rheumatic_disease": false,
      "sex": "female"
    },
    {
      "active_gastroduodenal_ulcer": false,
      "age": 35,
      "central_venous_catheter": false,
      "current_cancer": false,
      "hepatic_failure": false,
      "icu_ccu": false,
      "platelet_count_lt_50": false,
      "prior_bleeding": false,
      "renal_failure": "none",
      "rheumatic_disease": false,
      "sex": "female"
    }
  ]
}
Output example
{
  "count": 2,
  "items": [
    {
      "age_years": 35,
      "bleed_band": "not_increased",
      "citation": {
        "authors": "Decousus H, Tapson VF, Bergmann JF, Chong BH, Froehlich JB, Kakkar AK, et al.",
        "doi": "10.1378/chest.09-3081",
        "id": "decousus-2011",
        "pmid": "20453069",
        "source": "Chest. 2011;139(1):69-79",
        "title": "Factors at admission associated with bleeding risk in medical patients: findings from the IMPROVE investigators"
      },
      "components": [
        {
          "factor": "active_gastroduodenal_ulcer",
          "points": 0,
          "present": false
        },
        {
          "factor": "prior_bleeding",
          "points": 0,
          "present": false
        },
        {
          "factor": "platelet_count_lt_50",
          "points": 0,
          "present": false
        },
        {
          "factor": "age_ge_85",
          "points": 0,
          "present": false,
          "value": 35
        },
        {
          "factor": "hepatic_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "severe_renal_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "icu_ccu",
          "points": 0,
          "present": false
        },
        {
          "factor": "central_venous_catheter",
          "points": 0,
          "present": false
        },
        {
          "factor": "rheumatic_disease",
          "points": 0,
          "present": false
        },
        {
          "factor": "current_cancer",
          "points": 0,
          "present": false
        },
        {
          "factor": "age_40_84",
          "points": 0,
          "present": false,
          "value": 35
        },
        {
          "factor": "male_sex",
          "points": 0,
          "present": false
        },
        {
          "factor": "moderate_renal_failure",
          "points": 0,
          "present": 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": "improve_bleed",
      "formula_expression": "IMPROVE bleed (Decousus 2011 admission) = active_gastroduodenal_ulcer (4.5) + prior_bleeding (4) + platelet_count_lt_50 (4) + age>=85 (3.5) + hepatic_failure INR>1.5 (2.5) + severe_renal_failure GFR<30 (2.5) + icu_ccu (2.5) + central_venous_catheter (2) + rheumatic_disease (2) + current_cancer (2) + age 40-84 (1.5) + male (1) + moderate_renal_failure GFR 30-59 (1); max 30.5; <7 not_increased, >=7 increased; half-points not integer-rounded; not Hostler 2016; not IMPROVE VTE",
      "max_score": 30.5,
      "renal_failure": "none",
      "score": 0,
      "sex": "female"
    },
    {
      "age_years": 35,
      "bleed_band": "not_increased",
      "citation": {
        "authors": "Decousus H, Tapson VF, Bergmann JF, Chong BH, Froehlich JB, Kakkar AK, et al.",
        "doi": "10.1378/chest.09-3081",
        "id": "decousus-2011",
        "pmid": "20453069",
        "source": "Chest. 2011;139(1):69-79",
        "title": "Factors at admission associated with bleeding risk in medical patients: findings from the IMPROVE investigators"
      },
      "components": [
        {
          "factor": "active_gastroduodenal_ulcer",
          "points": 0,
          "present": false
        },
        {
          "factor": "prior_bleeding",
          "points": 0,
          "present": false
        },
        {
          "factor": "platelet_count_lt_50",
          "points": 0,
          "present": false
        },
        {
          "factor": "age_ge_85",
          "points": 0,
          "present": false,
          "value": 35
        },
        {
          "factor": "hepatic_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "severe_renal_failure",
          "points": 0,
          "present": false
        },
        {
          "factor": "icu_ccu",
          "points": 0,
          "present": false
        },
        {
          "factor": "central_venous_catheter",
          "points": 0,
          "present": false
        },
        {
          "factor": "rheumatic_disease",
          "points": 0,
          "present": false
        },
        {
          "factor": "current_cancer",
          "points": 0,
          "present": false
        },
        {
          "factor": "age_40_84",
          "points": 0,
          "present": false,
          "value": 35
        },
        {
          "factor": "male_sex",
          "points": 0,
          "present": false
        },
        {
          "factor": "moderate_renal_failure",
          "points": 0,
          "present": 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": "improve_bleed",
      "formula_expression": "IMPROVE bleed (Decousus 2011 admission) = active_gastroduodenal_ulcer (4.5) + prior_bleeding (4) + platelet_count_lt_50 (4) + age>=85 (3.5) + hepatic_failure INR>1.5 (2.5) + severe_renal_failure GFR<30 (2.5) + icu_ccu (2.5) + central_venous_catheter (2) + rheumatic_disease (2) + current_cancer (2) + age 40-84 (1.5) + male (1) + moderate_renal_failure GFR 30-59 (1); max 30.5; <7 not_increased, >=7 increased; half-points not integer-rounded; not Hostler 2016; not IMPROVE VTE",
      "max_score": 30.5,
      "renal_failure": "none",
      "score": 0,
      "sex": "female"
    }
  ],
  "path": "/api/calc/improve_bleed"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39094.json for the price and payment options.
  3. Pay. Call GET https://api.magentlab.com/api/calc/improve_bleed. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.005 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
5 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050x836Be278f1739fB4308091cD1852F7971Bc19Ee2600s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 600
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://api.magentlab.com/api/calc/improve_bleed"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.magentlab.com/api/calc/improve_bleed");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.magentlab.com/api/calc/improve_bleed")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.magentlab.com
Endpoint
https://api.magentlab.com/api/calc/improve_bleed
Machine-readable
/resources/39094.json