magent
GET api.magentlab.com/api/calc/pecarn_head
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
PECARN pediatric head CT (Kuppermann 2009). Two age trees (under 2 vs 2-17). High if any age-applicable high-risk factor (GCS <=14 or altered mental status in both; palpable skull fracture if under 2; signs of basilar skull fracture if 2 or older), else intermediate if any age-applicable intermediate factor, else low. CT recommended only when high. Not a diagnosis. Not Canadian CT Head, CATCH, CHALICE, NEXUS, or PECARN IAI/febrile/c-spine. magent does not examine the patient.
Resource: api.magentlab.com/api/calc/pecarn_head
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Payment methods: eip3009 · Last validation: 2026-09-14 11:04:18.222+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",
"gcs_le_14",
"altered_mental_status",
"palpable_skull_fracture",
"signs_basilar_skull_fracture",
"nonfrontal_scalp_hematoma",
"loc_ge_5_seconds",
"not_acting_normally",
"history_of_loc",
"history_of_vomiting",
"severe_headache",
"severe_mechanism"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (0-17). Age 0 and 1 use the lt_2 tree; age 2 through 17 use the ge_2 tree. Age 18 is rejected."
},
"gcs_le_14": {
"type": "boolean",
"description": "GCS <=14 as assigned by the caller. true or false. High-risk in both trees. GCS 15 is not <=14. magent does not take a GCS integer."
},
"history_of_loc": {
"type": "boolean",
"description": "History of loss of consciousness as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2."
},
"severe_headache": {
"type": "boolean",
"description": "Severe headache as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2."
},
"loc_ge_5_seconds": {
"type": "boolean",
"description": "Loss of consciousness >=5 seconds as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2."
},
"severe_mechanism": {
"type": "boolean",
"description": "Severe mechanism as assigned by the caller. true or false. Intermediate in both trees. Paper list: MVC ejection/rollover/death of another passenger; unhelmeted pedestrian or bicyclist struck by a motorized vehicle; fall >3 ft if <2 years or >5 ft if >=2 years; head struck by a high-impact object. magent does not classify mechanism or take fall height."
},
"history_of_vomiting": {
"type": "boolean",
"description": "History of vomiting as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2."
},
"not_acting_normally": {
"type": "boolean",
"description": "Not acting normally per parent report as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2."
},
"altered_mental_status": {
"type": "boolean",
"description": "Altered mental status as assigned by the caller (paper: agitation, somnolence, repetitive questioning, or slow response). true or false. High-risk in both trees."
},
"palpable_skull_fracture": {
"type": "boolean",
"description": "Palpable skull fracture as assigned by the caller. true or false. High-risk only on the lt_2 tree; parsed but not scored when age >= 2."
},
"nonfrontal_scalp_hematoma": {
"type": "boolean",
"description": "Occipital, parietal, or temporal scalp hematoma (not frontal) as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2."
},
"signs_basilar_skull_fracture": {
"type": "boolean",
"description": "Signs of basilar skull fracture as assigned by the caller. true or false. High-risk only on the ge_2 tree; parsed but not scored when age < 2."
}
}
}
},
"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/pecarn_head?age=10&altered_mental_status=false&gcs_le_14=false&history_of_loc=false&history_of_vomiting=false&loc_ge_5_seconds=false&nonfrontal_scalp_hematoma=false¬_acting_normally=false&palpable_skull_fracture=false&severe_headache=false&severe_mechanism=false&signs_basilar_skull_fracture=false",
"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.