Granger 2003 in-hospital GRACE 1.0: integer nomogram points from age, heart rate, systo…
Granger 2003 in-hospital GRACE 1.0: integer nomogram points from age, heart rate, systolic BP, creatinine (mg/dL or µmol/L), Killip class 1-4, cardiac arrest, ST-segment deviation, and elevated initial enzymes. Total 1-372. In-hospital mortality percent is th…
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
Granger 2003 in-hospital GRACE 1.0: integer nomogram points from age, heart rate, systolic BP, creatinine (mg/dL or µmol/L), Killip class 1-4, cardiac arrest, ST-segment deviation, and elevated initial enzymes. Total 1-372. In-hospital mortality percent is that paper's printed score readout. Not GRACE 2.0, not Fox 2006 6-month, not ESC 108/140 cutoffs. Not a medical device and not a cath-lab order.
Tags: grace · acs · killip · mortality · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"age": 65,
"cardiac_arrest": false,
"creatinine_mg_dl": 1,
"creatinine_umol_l": 88.42,
"elevated_enzymes": false,
"heart_rate_bpm": 80,
"killip_class": 1,
"sbp_mm_hg": 130,
"st_deviation": false
},
{
"age": 65,
"cardiac_arrest": false,
"creatinine_mg_dl": 1,
"creatinine_umol_l": 88.42,
"elevated_enzymes": false,
"heart_rate_bpm": 80,
"killip_class": 1,
"sbp_mm_hg": 130,
"st_deviation": false
}
]
}{
"count": 2,
"items": [
{
"age_years": 65,
"cardiac_arrest": false,
"citation": {
"authors": "Granger CB, Goldberg RJ, Dabbous O, Pieper KS, Eagle KA, Cannon CP, Van De Werf F, Avezum A, Goodman SG, Flather MD, Fox KA; Global Registry of Acute Coronary Events Investigators",
"doi": "10.1001/archinte.163.19.2345",
"id": "granger-2003-grace",
"pmid": "14581255",
"source": "Arch Intern Med. 2003;163(19):2345-2353",
"title": "Predictors of hospital mortality in the global registry of acute coronary events"
},
"components": [
{
"factor": "age",
"points": 58,
"present": true,
"value": 65
},
{
"factor": "heart_rate_bpm",
"points": 9,
"present": true,
"value": 80
},
{
"factor": "sbp_mm_hg",
"points": 34,
"present": true,
"value": 130
},
{
"factor": "creatinine_mg_dl",
"points": 7,
"present": true,
"value": 1
},
{
"factor": "killip_class",
"points": 0,
"present": false,
"value": 1
},
{
"factor": "cardiac_arrest",
"points": 0,
"present": false
},
{
"factor": "st_deviation",
"points": 0,
"present": false
},
{
"factor": "elevated_enzymes",
"points": 0,
"present": false
}
],
"creatinine_mg_dl": 1,
"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.",
"elevated_enzymes": false,
"formula": "grace",
"formula_expression": "GRACE = age_points(<30:0, 30-39:8, 40-49:25, 50-59:41, 60-69:58, 70-79:75, 80-89:91, >=90:100) + heart_rate_points(<50:0, 50-69:3, 70-89:9, 90-109:15, 110-149:24, 150-199:38, >=200:46) + sbp_points(<80:58, 80-99:53, 100-119:43, 120-139:34, 140-159:24, 160-199:10, >=200:0) + creatinine_mg_dl_points(0-0.39:1, 0.4-0.79:4, 0.8-1.19:7, 1.2-1.59:10, 1.6-1.99:13, 2.0-3.99:21, >=4:28) + killip(1:0, 2:20, 3:39, 4:59) + 39 if cardiac_arrest + 28 if st_deviation + 14 if elevated_enzymes; Granger 2003 in-hospital GRACE 1.0 nomogram; max 372; in_hospital_mortality_percent is that paper's printed score readout (score<=60 → 0.2; then the labeled 70-240 percents at or below the total; score>=250 → 52); not ESC 108/140 cutoffs, not GRACE 2.0, not Fox 2006 6-month",
"heart_rate_bpm": 80,
"in_hospital_mortality_percent": 0.8,
"killip_class": 1,
"max_score": 372,
"sbp_mm_hg": 130,
"score": 108,
"st_deviation": false
},
{
"age_years": 65,
"cardiac_arrest": false,
"citation": {
"authors": "Granger CB, Goldberg RJ, Dabbous O, Pieper KS, Eagle KA, Cannon CP, Van De Werf F, Avezum A, Goodman SG, Flather MD, Fox KA; Global Registry of Acute Coronary Events Investigators",
"doi": "10.1001/archinte.163.19.2345",
"id": "granger-2003-grace",
"pmid": "14581255",
"source": "Arch Intern Med. 2003;163(19):2345-2353",
"title": "Predictors of hospital mortality in the global registry of acute coronary events"
},
"components": [
{
"factor": "age",
"points": 58,
"present": true,
"value": 65
},
{
"factor": "heart_rate_bpm",
"points": 9,
"present": true,
"value": 80
},
{
"factor": "sbp_mm_hg",
"points": 34,
"present": true,
"value": 130
},
{
"factor": "creatinine_mg_dl",
"points": 7,
"present": true,
"value": 1
},
{
"factor": "killip_class",
"points": 0,
"present": false,
"value": 1
},
{
"factor": "cardiac_arrest",
"points": 0,
"present": false
},
{
"factor": "st_deviation",
"points": 0,
"present": false
},
{
"factor": "elevated_enzymes",
"points": 0,
"present": false
}
],
"creatinine_mg_dl": 1,
"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.",
"elevated_enzymes": false,
"formula": "grace",
"formula_expression": "GRACE = age_points(<30:0, 30-39:8, 40-49:25, 50-59:41, 60-69:58, 70-79:75, 80-89:91, >=90:100) + heart_rate_points(<50:0, 50-69:3, 70-89:9, 90-109:15, 110-149:24, 150-199:38, >=200:46) + sbp_points(<80:58, 80-99:53, 100-119:43, 120-139:34, 140-159:24, 160-199:10, >=200:0) + creatinine_mg_dl_points(0-0.39:1, 0.4-0.79:4, 0.8-1.19:7, 1.2-1.59:10, 1.6-1.99:13, 2.0-3.99:21, >=4:28) + killip(1:0, 2:20, 3:39, 4:59) + 39 if cardiac_arrest + 28 if st_deviation + 14 if elevated_enzymes; Granger 2003 in-hospital GRACE 1.0 nomogram; max 372; in_hospital_mortality_percent is that paper's printed score readout (score<=60 → 0.2; then the labeled 70-240 percents at or below the total; score>=250 → 52); not ESC 108/140 cutoffs, not GRACE 2.0, not Fox 2006 6-month",
"heart_rate_bpm": 80,
"in_hospital_mortality_percent": 0.8,
"killip_class": 1,
"max_score": 372,
"sbp_mm_hg": 130,
"score": 108,
"st_deviation": false
}
],
"path": "/api/calc/grace"
}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/39136.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/grace. 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/grace"
# -> 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/grace");
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/grace")
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/grace
- Machine-readable
/resources/39136.json