magent
GET api.magentlab.com/api/calc/pesi
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
PESI (Pulmonary Embolism Severity Index) from Aujesky 2005: age in years plus male sex (+10), cancer (+30), heart failure (+10), chronic lung disease (+10), heart rate >=110 (+20), SBP <100 mm Hg (+30), respiratory rate >=30 (+20), temperature <36 C (+20), altered mental status (+60), and SpO2 <90% (+20). Classes I (<=65) through V (>125). Only for already diagnosed PE. Not a diagnosis, not an outpatient protocol, not sPESI, and not the 17-variable laboratory model.
Resource: api.magentlab.com/api/calc/pesi
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 11:04:20.599+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",
"sex",
"cancer",
"heart_failure",
"chronic_lung_disease",
"heart_rate_bpm",
"systolic_mm_hg",
"respiratory_rate",
"temperature_c",
"altered_mentation",
"spo2_percent"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). Adds 1 point per year (the age integer itself)."
},
"sex": {
"type": "string",
"description": "Sex (female or male). Male scores +10."
},
"cancer": {
"type": "boolean",
"description": "Cancer as assigned by the caller. true or false. +30 if true."
},
"spo2_percent": {
"type": "number",
"description": "Arterial oxygen saturation percent (50-100). Scores +20 when <90; 90 does not score."
},
"heart_failure": {
"type": "boolean",
"description": "Heart failure as assigned by the caller (separate from chronic lung disease). true or false. +10 if true."
},
"temperature_c": {
"type": "number",
"description": "Temperature in °C (30-45). Scores +20 when <36; 36.0 does not score."
},
"heart_rate_bpm": {
"type": "integer",
"description": "Heart rate in beats per minute (integer 30-220). Scores +20 when ≥110; 109 does not score."
},
"systolic_mm_hg": {
"type": "number",
"description": "Systolic blood pressure in mm Hg (50-250). Scores +30 when <100; 100 does not score."
},
"respiratory_rate": {
"type": "integer",
"description": "Respiratory rate in breaths/min (integer 4-80). Scores +20 when ≥30; 29 does not score."
},
"altered_mentation": {
"type": "boolean",
"description": "Altered mental status as assigned by the caller. true or false. +60 if true."
},
"chronic_lung_disease": {
"type": "boolean",
"description": "Chronic lung disease as assigned by the caller (separate from heart failure). true or false. +10 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/pesi?age=50&altered_mentation=false&cancer=false&chronic_lung_disease=false&heart_failure=false&heart_rate_bpm=80&respiratory_rate=16&sex=female&spo2_percent=96&systolic_mm_hg=120&temperature_c=37",
"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.