magent
GET api.magentlab.com/api/calc/news
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
NEWS from RCP 2012 Chart 1: respiratory rate, SpO2, supplemental oxygen, temperature (°C), systolic BP, heart rate, and caller-assigned AVPU (alert 0; voice, pain, or unresponsive 3 each) summed to a 0–20 total. Returns Chart 2 clinical_risk (low/medium/high) and red_score when any parameter scores 3. Deterministic published arithmetic with citation; not NEWS2; not an ICU-admission order.
Resource: api.magentlab.com/api/calc/news
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 11:21:01.39+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": [
"systolic_mm_hg",
"heart_rate_bpm",
"respiratory_rate",
"temperature_c",
"spo2_percent",
"supplemental_oxygen",
"avpu"
],
"properties": {
"avpu": {
"enum": [
"alert",
"voice",
"pain",
"unresponsive"
],
"type": "string",
"description": "Caller-assigned AVPU (alert, voice, pain, or unresponsive). RCP NEWS 2012 Chart 1: alert → 0; voice, pain, or unresponsive → 3 each. magent does not compute GCS here."
},
"spo2_percent": {
"type": "number",
"description": "Oxygen saturation percent (50-100). RCP NEWS 2012 Chart 1 Scale 1: ≤91 → 3, 92-93 → 2, 94-95 → 1, ≥96 → 0. Not NEWS2 Scale 2."
},
"temperature_c": {
"type": "number",
"description": "Temperature in °C (30.0-45.0). RCP NEWS 2012 Chart 1: ≤35.0 → 3, 35.1-36.0 → 1, 36.1-38.0 → 0, 38.1-39.0 → 1, ≥39.1 → 2. magent does not convert Fahrenheit."
},
"heart_rate_bpm": {
"type": "integer",
"description": "Heart rate in beats/min (integer 30-220). RCP NEWS 2012 Chart 1: ≤40 → 3, 41-50 → 1, 51-90 → 0, 91-110 → 1, 111-130 → 2, ≥131 → 3."
},
"systolic_mm_hg": {
"type": "integer",
"description": "Systolic blood pressure in mm Hg (integer 0-300). RCP NEWS 2012 Chart 1: ≤90 → 3, 91-100 → 2, 101-110 → 1, 111-219 → 0, ≥220 → 3."
},
"respiratory_rate": {
"type": "integer",
"description": "Respiratory rate in breaths/min (integer 0-80). RCP NEWS 2012 Chart 1: ≤8 → 3, 9-11 → 1, 12-20 → 0, 21-24 → 2, ≥25 → 3."
},
"supplemental_oxygen": {
"type": "boolean",
"description": "Any supplemental oxygen as assigned by the caller (true or false). RCP NEWS 2012 Chart 1: true → 2, false → 0."
}
}
}
},
"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/news?avpu=alert&heart_rate_bpm=70&respiratory_rate=16&spo2_percent=98&supplemental_oxygen=false&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.