magent
GET api.magentlab.com/api/calc/spesi
Why an agent can trust this route.
Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.
Observed outcomes
sPESI (simplified Pulmonary Embolism Severity Index) from Jiménez 2010: 1 point each for age >80, cancer, chronic cardiopulmonary disease (one combined item), heart rate ≥110, systolic BP <100 mm Hg, and SpO2 <90%; max 6. Score 0 is low risk; ≥1 is high risk. Only for already diagnosed acute PE as in the paper. Not a diagnosis, not an outpatient-treatment protocol, and not original PESI classes.
Resource: api.magentlab.com/api/calc/spesi
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 10:59:29.754+00
{
"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",
"cancer",
"chronic_cardiopulmonary_disease",
"heart_rate_bpm",
"systolic_mm_hg",
"spo2_percent"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). Scores 1 when age >80; 80 does not score."
},
"cancer": {
"type": "boolean",
"description": "Active cancer as assigned by the caller. true or false. 1 point if true."
},
"spo2_percent": {
"type": "number",
"description": "Oxygen saturation percent (50-100). Scores 1 when <90; 90 does not score."
},
"heart_rate_bpm": {
"type": "integer",
"description": "Heart rate in beats per minute (integer 30-220). Scores 1 when ≥110; 109 does not score."
},
"systolic_mm_hg": {
"type": "number",
"description": "Systolic blood pressure in mm Hg (50-250). Scores 1 when <100; 100 does not score."
},
"chronic_cardiopulmonary_disease": {
"type": "boolean",
"description": "Chronic cardiopulmonary disease as one combined flag (heart failure and chronic lung disease were combined in Jiménez 2010). true or false. 1 point if true."
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
},
"paymentRequirements": [
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"paymentFlow": "upfront",
"resourceUrl": "https://api.magentlab.com/api/calc/spesi?age=70&cancer=false&chronic_cardiopulmonary_disease=false&heart_rate_bpm=80&spo2_percent=96&systolic_mm_hg=120",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"scheme": "exact",
"network": "eip155:8453",
"amountAtomic": "5000"
},
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"withdrawDelay": 86400,
"receiverAuthorizer": "0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "batch-settlement",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"scheme": "batch-settlement",
"network": "eip155:8453",
"amountAtomic": "5000"
}
]
}Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.