MA
Agent Service · x402 · early usage

Benza 2019 REVEAL 2.0: start at 6; add published points for etiology (CTD +1, PoPH +3,…

Benza 2019 REVEAL 2.0: start at 6; add published points for etiology (CTD +1, PoPH +3, heritable +2), male >60, renal insufficiency, WHO FC, 6-month hospitalization, SBP <110, HR >96, 6MWD, BNP/NT-proBNP, pericardial effusion, DLCO <40%, mRAP >20, and PVR <5.…

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

30d calls6
30d payers3
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

Benza 2019 REVEAL 2.0: start at 6; add published points for etiology (CTD +1, PoPH +3, heritable +2), male >60, renal insufficiency, WHO FC, 6-month hospitalization, SBP <110, HR >96, 6MWD, BNP/NT-proBNP, pericardial effusion, DLCO <40%, mRAP >20, and PVR <5. Returns low (0-6), intermediate (7-8), or high (>=9) 12-month mortality. Caller-assigned; not a PAH diagnosis or dose. Not REVEAL 1.0 or Lite 2.

Tags: reveal-2 · pah · respiratory · calculator · bazaar

Call contract

Method
POST
Input
HTTP request
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "items": [
    {
      "age": 40,
      "bnp_pg_ml": 40,
      "dlco_lt_40": false,
      "etiology": "other",
      "hospitalization_6mo": false,
      "hr_gt_96": false,
      "male": false,
      "mrap_gt_20": false,
      "nt_probnp_pg_ml": 200,
      "pericardial_effusion": false,
      "pvr_lt_5": true,
      "renal_insufficiency": false,
      "sbp_lt_110": false,
      "six_minute_walk_m": 480,
      "who_fc": 1
    },
    {
      "age": 40,
      "bnp_pg_ml": 40,
      "dlco_lt_40": false,
      "etiology": "other",
      "hospitalization_6mo": false,
      "hr_gt_96": false,
      "male": false,
      "mrap_gt_20": false,
      "nt_probnp_pg_ml": 200,
      "pericardial_effusion": false,
      "pvr_lt_5": true,
      "renal_insufficiency": false,
      "sbp_lt_110": false,
      "six_minute_walk_m": 480,
      "who_fc": 1
    }
  ]
}
Output example
{
  "count": 2,
  "items": [
    {
      "age_years": 40,
      "bnp_pg_ml": 40,
      "citation": {
        "authors": "Benza RL, Gomberg-Maitland M, Elliott CG, et al.",
        "doi": "10.1016/j.chest.2018.11.030",
        "id": "benza-2019",
        "pmid": "30772387",
        "source": "Chest. 2019;156(2):323-337",
        "title": "Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"
      },
      "components": [
        {
          "factor": "reveal_2_0_start",
          "points": 6,
          "present": true
        },
        {
          "factor": "etiology",
          "points": 0,
          "present": false,
          "value": "other"
        },
        {
          "factor": "male_gt_60",
          "points": 0,
          "present": false,
          "value": 40
        },
        {
          "factor": "renal_insufficiency",
          "points": 0,
          "present": false
        },
        {
          "factor": "who_fc",
          "points": -1,
          "present": true,
          "value": 1
        },
        {
          "factor": "hospitalization_6mo",
          "points": 0,
          "present": false
        },
        {
          "factor": "sbp_lt_110",
          "points": 0,
          "present": false
        },
        {
          "factor": "hr_gt_96",
          "points": 0,
          "present": false
        },
        {
          "factor": "six_minute_walk",
          "points": -2,
          "present": true,
          "value": 480
        },
        {
          "factor": "bnp_or_nt_probnp",
          "points": -2,
          "present": true,
          "value": 40
        },
        {
          "factor": "pericardial_effusion",
          "points": 0,
          "present": false
        },
        {
          "factor": "dlco_lt_40",
          "points": 0,
          "present": false
        },
        {
          "factor": "mrap_gt_20",
          "points": 0,
          "present": false
        },
        {
          "factor": "pvr_lt_5",
          "points": -1,
          "present": true
        }
      ],
      "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.",
      "dlco_lt_40": false,
      "etiology": "other",
      "formula": "reveal_pah",
      "formula_expression": "REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23",
      "hospitalization_6mo": false,
      "hr_gt_96": false,
      "male": false,
      "max_score": 23,
      "mrap_gt_20": false,
      "pericardial_effusion": false,
      "pvr_lt_5": true,
      "renal_insufficiency": false,
      "risk": "low",
      "sbp_lt_110": false,
      "score": 0,
      "six_minute_walk_m": 480,
      "who_fc": 1
    },
    {
      "age_years": 40,
      "bnp_pg_ml": 40,
      "citation": {
        "authors": "Benza RL, Gomberg-Maitland M, Elliott CG, et al.",
        "doi": "10.1016/j.chest.2018.11.030",
        "id": "benza-2019",
        "pmid": "30772387",
        "source": "Chest. 2019;156(2):323-337",
        "title": "Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"
      },
      "components": [
        {
          "factor": "reveal_2_0_start",
          "points": 6,
          "present": true
        },
        {
          "factor": "etiology",
          "points": 0,
          "present": false,
          "value": "other"
        },
        {
          "factor": "male_gt_60",
          "points": 0,
          "present": false,
          "value": 40
        },
        {
          "factor": "renal_insufficiency",
          "points": 0,
          "present": false
        },
        {
          "factor": "who_fc",
          "points": -1,
          "present": true,
          "value": 1
        },
        {
          "factor": "hospitalization_6mo",
          "points": 0,
          "present": false
        },
        {
          "factor": "sbp_lt_110",
          "points": 0,
          "present": false
        },
        {
          "factor": "hr_gt_96",
          "points": 0,
          "present": false
        },
        {
          "factor": "six_minute_walk",
          "points": -2,
          "present": true,
          "value": 480
        },
        {
          "factor": "bnp_or_nt_probnp",
          "points": -2,
          "present": true,
          "value": 40
        },
        {
          "factor": "pericardial_effusion",
          "points": 0,
          "present": false
        },
        {
          "factor": "dlco_lt_40",
          "points": 0,
          "present": false
        },
        {
          "factor": "mrap_gt_20",
          "points": 0,
          "present": false
        },
        {
          "factor": "pvr_lt_5",
          "points": -1,
          "present": true
        }
      ],
      "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.",
      "dlco_lt_40": false,
      "etiology": "other",
      "formula": "reveal_pah",
      "formula_expression": "REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23",
      "hospitalization_6mo": false,
      "hr_gt_96": false,
      "male": false,
      "max_score": 23,
      "mrap_gt_20": false,
      "pericardial_effusion": false,
      "pvr_lt_5": true,
      "renal_insufficiency": false,
      "risk": "low",
      "sbp_lt_110": false,
      "score": 0,
      "six_minute_walk_m": 480,
      "who_fc": 1
    }
  ],
  "path": "/api/calc/reveal_pah"
}

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/38868.json for the price and payment options.
  3. Pay. Call GET https://api.magentlab.com/api/calc/reveal_pah. 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
6 calls · 3 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/reveal_pah"
# -> 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/reveal_pah");
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/reveal_pah")
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/reveal_pah
Machine-readable
/resources/38868.json