Peterson 2010 GWTG-HF Figure 2 integer points for in-hospital mortality in hospitalized…
Peterson 2010 GWTG-HF Figure 2 integer points for in-hospital mortality in hospitalized heart failure: age 0-28, systolic BP 0-28, BUN 0-28, sodium 0-4, heart rate 0-8, COPD +2, caller-assigned nonblack (black=false) +3. Total 0-100. magent does not assign ra…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-13
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
Peterson 2010 GWTG-HF Figure 2 integer points for in-hospital mortality in hospitalized heart failure: age 0-28, systolic BP 0-28, BUN 0-28, sodium 0-4, heart rate 0-8, COPD +2, caller-assigned nonblack (black=false) +3. Total 0-100. magent does not assign race. Not a diagnosis.
Tags: gwtg-hf · heart-failure · mortality · hemodynamics · score · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"age": 70,
"black": true,
"bun_mg_dl": 20,
"copd": false,
"heart_rate_bpm": 80,
"sbp_mm_hg": 130,
"sodium_mmol_l": 138
},
{
"age": 70,
"black": true,
"bun_mg_dl": 20,
"copd": false,
"heart_rate_bpm": 80,
"sbp_mm_hg": 130,
"sodium_mmol_l": 138
}
]
}{
"count": 2,
"items": [
{
"age": 70,
"black": true,
"bun_mg_dl": 20,
"citation": {
"authors": "Peterson PN, Rumsfeld JS, Liang L, Albert NM, Hernandez AF, Peterson ED, Fonarow GC, Masoudi FA",
"doi": "10.1161/CIRCOUTCOMES.109.854877",
"id": "peterson-2010-gwtg-hf",
"pmid": "20123668",
"source": "Circ Cardiovasc Qual Outcomes. 2010;3(1):25-32",
"title": "A validated risk score for in-hospital mortality in patients with heart failure from the American Heart Association Get With the Guidelines Program"
},
"components": [
{
"factor": "age",
"points": 17,
"present": true,
"value": 70
},
{
"factor": "sbp_mm_hg",
"points": 13,
"present": true,
"value": 130
},
{
"factor": "bun_mg_dl",
"points": 4,
"present": true,
"value": 20
},
{
"factor": "sodium_mmol_l",
"points": 1,
"present": true,
"value": 138
},
{
"factor": "heart_rate_bpm",
"points": 1,
"present": true,
"value": 80
},
{
"factor": "copd",
"points": 0,
"present": false
},
{
"factor": "nonblack",
"points": 0,
"present": false,
"value": true
}
],
"copd": 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": "gwtg_hf",
"formula_expression": "GWTG-HF = age (<=19 0, 20-29 3, 30-39 6, 40-49 8, 50-59 11, 60-69 14, 70-79 17, 80-89 19, 90-99 22, 100-109 25, >=110 28) + sbp_mm_hg (50-59 28, 60-69 26, 70-79 24, 80-89 23, 90-99 21, 100-109 19, 110-119 17, 120-129 15, 130-139 13, 140-149 11, 150-159 9, 160-169 8, 170-179 6, 180-189 4, 190-199 2, >=200 0) + bun_mg_dl (<=9 0, 10-19 2, 20-29 4, 30-39 6, 40-49 8, 50-59 9, 60-69 11, 70-79 13, 80-89 15, 90-99 17, 100-109 19, 110-119 21, 120-129 23, 130-139 25, 140-149 27, >=150 28) + sodium_mmol_l (<=130 4, 131-133 3, 134-136 2, 137-138 1, >=139 0) + heart_rate_bpm (<=79 0, 80-84 1, 85-89 3, 90-94 4, 95-99 5, 100-104 6, >=105 8) + copd 2 + nonblack (black=false) 3; Peterson 2010 Figure 2 integer points; total clamped to 0-100",
"heart_rate_bpm": 80,
"max_score": 100,
"sbp_mm_hg": 130,
"score": 36,
"sodium_mmol_l": 138
},
{
"age": 70,
"black": true,
"bun_mg_dl": 20,
"citation": {
"authors": "Peterson PN, Rumsfeld JS, Liang L, Albert NM, Hernandez AF, Peterson ED, Fonarow GC, Masoudi FA",
"doi": "10.1161/CIRCOUTCOMES.109.854877",
"id": "peterson-2010-gwtg-hf",
"pmid": "20123668",
"source": "Circ Cardiovasc Qual Outcomes. 2010;3(1):25-32",
"title": "A validated risk score for in-hospital mortality in patients with heart failure from the American Heart Association Get With the Guidelines Program"
},
"components": [
{
"factor": "age",
"points": 17,
"present": true,
"value": 70
},
{
"factor": "sbp_mm_hg",
"points": 13,
"present": true,
"value": 130
},
{
"factor": "bun_mg_dl",
"points": 4,
"present": true,
"value": 20
},
{
"factor": "sodium_mmol_l",
"points": 1,
"present": true,
"value": 138
},
{
"factor": "heart_rate_bpm",
"points": 1,
"present": true,
"value": 80
},
{
"factor": "copd",
"points": 0,
"present": false
},
{
"factor": "nonblack",
"points": 0,
"present": false,
"value": true
}
],
"copd": 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": "gwtg_hf",
"formula_expression": "GWTG-HF = age (<=19 0, 20-29 3, 30-39 6, 40-49 8, 50-59 11, 60-69 14, 70-79 17, 80-89 19, 90-99 22, 100-109 25, >=110 28) + sbp_mm_hg (50-59 28, 60-69 26, 70-79 24, 80-89 23, 90-99 21, 100-109 19, 110-119 17, 120-129 15, 130-139 13, 140-149 11, 150-159 9, 160-169 8, 170-179 6, 180-189 4, 190-199 2, >=200 0) + bun_mg_dl (<=9 0, 10-19 2, 20-29 4, 30-39 6, 40-49 8, 50-59 9, 60-69 11, 70-79 13, 80-89 15, 90-99 17, 100-109 19, 110-119 21, 120-129 23, 130-139 25, 140-149 27, >=150 28) + sodium_mmol_l (<=130 4, 131-133 3, 134-136 2, 137-138 1, >=139 0) + heart_rate_bpm (<=79 0, 80-84 1, 85-89 3, 90-94 4, 95-99 5, 100-104 6, >=105 8) + copd 2 + nonblack (black=false) 3; Peterson 2010 Figure 2 integer points; total clamped to 0-100",
"heart_rate_bpm": 80,
"max_score": 100,
"sbp_mm_hg": 130,
"score": 36,
"sodium_mmol_l": 138
}
],
"path": "/api/calc/gwtg_hf"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39131.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/gwtg_hf. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with 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
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2 | 600s |
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 "https://api.magentlab.com/api/calc/gwtg_hf"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.magentlab.com/api/calc/gwtg_hf");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.magentlab.com/api/calc/gwtg_hf")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.magentlab.com
- Endpoint
- https://api.magentlab.com/api/calc/gwtg_hf
- Machine-readable
/resources/39131.json