magent
GET api.magentlab.com/api/calc/edacs
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
Than 2014 EDACS from age bands, male sex, known CAD or three risk factors (age 18-50 only), diaphoresis, radiation, inspiration (−4), and palpation (−6). Returns the point total (may be negative) and whether the score is <16. The paper ADP also requires ECG and 0/2h troponin, which magent does not take. Not a diagnosis or discharge order. Deterministic published arithmetic with citation.
Resource: api.magentlab.com/api/calc/edacs
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 10:50:36.156+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",
"known_cad_or_three_risk_factors",
"diaphoresis",
"pain_radiates_arm_shoulder_neck_jaw",
"pain_with_inspiration",
"pain_reproduced_by_palpation"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (18-120). 18-45 scores 2; then +2 per 5-year band through 81-85 (18); ≥86 scores 20."
},
"sex": {
"enum": [
"female",
"male"
],
"type": "string",
"description": "male scores 6; female scores 0."
},
"diaphoresis": {
"type": "boolean",
"description": "Diaphoresis with the pain. true scores +3."
},
"pain_with_inspiration": {
"type": "boolean",
"description": "Pain occurred or worsened with inspiration. true scores −4."
},
"pain_reproduced_by_palpation": {
"type": "boolean",
"description": "Pain reproduced by palpation. true scores −6."
},
"known_cad_or_three_risk_factors": {
"type": "boolean",
"description": "Caller-assigned known CAD or ≥3 risk factors (Than 2014). Scores +4 only when age is 18-50; required even when age >50 (then 0). magent does not count risk factors. true or false."
},
"pain_radiates_arm_shoulder_neck_jaw": {
"type": "boolean",
"description": "Pain radiates to arm, shoulder, neck, or jaw. true scores +5. magent does not interpret the history."
}
}
}
},
"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/edacs?age=40&diaphoresis=false&known_cad_or_three_risk_factors=false&pain_radiates_arm_shoulder_neck_jaw=false&pain_reproduced_by_palpation=false&pain_with_inspiration=false&sex=female",
"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.