{
  "x402Version": 2,
  "id": 39085,
  "slug": "39085",
  "resource": "https://api.magentlab.com/api/calc/pecarn_head",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "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,
                "not_acting_normally": false,
                "palpable_skull_fracture": false,
                "severe_headache": false,
                "severe_mechanism": false,
                "signs_basilar_skull_fracture": false
              },
              {
                "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,
                "not_acting_normally": false,
                "palpable_skull_fracture": false,
                "severe_headache": false,
                "severe_mechanism": false,
                "signs_basilar_skull_fracture": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_band": "ge_2",
                "age_years": 10,
                "citation": {
                  "authors": "Kuppermann N, Holmes JF, Dayan PS, et al.",
                  "doi": "10.1016/S0140-6736(09)61558-0",
                  "id": "kuppermann-2009",
                  "source": "Lancet. 2009;374(9696):1160-1170",
                  "title": "Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"
                },
                "criteria": [
                  {
                    "factor": "gcs_le_14",
                    "met": false
                  },
                  {
                    "factor": "altered_mental_status",
                    "met": false
                  },
                  {
                    "factor": "signs_basilar_skull_fracture",
                    "met": false
                  },
                  {
                    "factor": "history_of_loc",
                    "met": false
                  },
                  {
                    "factor": "history_of_vomiting",
                    "met": false
                  },
                  {
                    "factor": "severe_headache",
                    "met": false
                  },
                  {
                    "factor": "severe_mechanism",
                    "met": false
                  }
                ],
                "ct_not_recommended": true,
                "ct_recommended": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "pecarn_head",
                "formula_expression": "high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17",
                "observation_vs_ct": false,
                "risk_tier": "low"
              },
              {
                "age_band": "ge_2",
                "age_years": 10,
                "citation": {
                  "authors": "Kuppermann N, Holmes JF, Dayan PS, et al.",
                  "doi": "10.1016/S0140-6736(09)61558-0",
                  "id": "kuppermann-2009",
                  "source": "Lancet. 2009;374(9696):1160-1170",
                  "title": "Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"
                },
                "criteria": [
                  {
                    "factor": "gcs_le_14",
                    "met": false
                  },
                  {
                    "factor": "altered_mental_status",
                    "met": false
                  },
                  {
                    "factor": "signs_basilar_skull_fracture",
                    "met": false
                  },
                  {
                    "factor": "history_of_loc",
                    "met": false
                  },
                  {
                    "factor": "history_of_vomiting",
                    "met": false
                  },
                  {
                    "factor": "severe_headache",
                    "met": false
                  },
                  {
                    "factor": "severe_mechanism",
                    "met": false
                  }
                ],
                "ct_not_recommended": true,
                "ct_recommended": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "pecarn_head",
                "formula_expression": "high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17",
                "observation_vs_ct": false,
                "risk_tier": "low"
              }
            ],
            "path": "/api/calc/pecarn_head"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "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.",
                          "type": "integer"
                        },
                        "altered_mental_status": {
                          "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.",
                          "type": "boolean"
                        },
                        "gcs_le_14": {
                          "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.",
                          "type": "boolean"
                        },
                        "history_of_loc": {
                          "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.",
                          "type": "boolean"
                        },
                        "history_of_vomiting": {
                          "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.",
                          "type": "boolean"
                        },
                        "loc_ge_5_seconds": {
                          "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.",
                          "type": "boolean"
                        },
                        "nonfrontal_scalp_hematoma": {
                          "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.",
                          "type": "boolean"
                        },
                        "not_acting_normally": {
                          "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.",
                          "type": "boolean"
                        },
                        "palpable_skull_fracture": {
                          "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.",
                          "type": "boolean"
                        },
                        "severe_headache": {
                          "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.",
                          "type": "boolean"
                        },
                        "severe_mechanism": {
                          "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.",
                          "type": "boolean"
                        },
                        "signs_basilar_skull_fracture": {
                          "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.",
                          "type": "boolean"
                        }
                      },
                      "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"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "pecarn-head",
    "pediatric",
    "head-ct",
    "emergency",
    "citbi",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T06:51:25.46Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T06:51:25.237Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "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,
                  "not_acting_normally": false,
                  "palpable_skull_fracture": false,
                  "severe_headache": false,
                  "severe_mechanism": false,
                  "signs_basilar_skull_fracture": false
                },
                {
                  "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,
                  "not_acting_normally": false,
                  "palpable_skull_fracture": false,
                  "severe_headache": false,
                  "severe_mechanism": false,
                  "signs_basilar_skull_fracture": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_band": "ge_2",
                  "age_years": 10,
                  "citation": {
                    "authors": "Kuppermann N, Holmes JF, Dayan PS, et al.",
                    "doi": "10.1016/S0140-6736(09)61558-0",
                    "id": "kuppermann-2009",
                    "source": "Lancet. 2009;374(9696):1160-1170",
                    "title": "Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"
                  },
                  "criteria": [
                    {
                      "factor": "gcs_le_14",
                      "met": false
                    },
                    {
                      "factor": "altered_mental_status",
                      "met": false
                    },
                    {
                      "factor": "signs_basilar_skull_fracture",
                      "met": false
                    },
                    {
                      "factor": "history_of_loc",
                      "met": false
                    },
                    {
                      "factor": "history_of_vomiting",
                      "met": false
                    },
                    {
                      "factor": "severe_headache",
                      "met": false
                    },
                    {
                      "factor": "severe_mechanism",
                      "met": false
                    }
                  ],
                  "ct_not_recommended": true,
                  "ct_recommended": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "pecarn_head",
                  "formula_expression": "high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17",
                  "observation_vs_ct": false,
                  "risk_tier": "low"
                },
                {
                  "age_band": "ge_2",
                  "age_years": 10,
                  "citation": {
                    "authors": "Kuppermann N, Holmes JF, Dayan PS, et al.",
                    "doi": "10.1016/S0140-6736(09)61558-0",
                    "id": "kuppermann-2009",
                    "source": "Lancet. 2009;374(9696):1160-1170",
                    "title": "Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"
                  },
                  "criteria": [
                    {
                      "factor": "gcs_le_14",
                      "met": false
                    },
                    {
                      "factor": "altered_mental_status",
                      "met": false
                    },
                    {
                      "factor": "signs_basilar_skull_fracture",
                      "met": false
                    },
                    {
                      "factor": "history_of_loc",
                      "met": false
                    },
                    {
                      "factor": "history_of_vomiting",
                      "met": false
                    },
                    {
                      "factor": "severe_headache",
                      "met": false
                    },
                    {
                      "factor": "severe_mechanism",
                      "met": false
                    }
                  ],
                  "ct_not_recommended": true,
                  "ct_recommended": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "pecarn_head",
                  "formula_expression": "high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17",
                  "observation_vs_ct": false,
                  "risk_tier": "low"
                }
              ],
              "path": "/api/calc/pecarn_head"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "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.",
                            "type": "integer"
                          },
                          "altered_mental_status": {
                            "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.",
                            "type": "boolean"
                          },
                          "gcs_le_14": {
                            "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.",
                            "type": "boolean"
                          },
                          "history_of_loc": {
                            "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.",
                            "type": "boolean"
                          },
                          "history_of_vomiting": {
                            "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.",
                            "type": "boolean"
                          },
                          "loc_ge_5_seconds": {
                            "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.",
                            "type": "boolean"
                          },
                          "nonfrontal_scalp_hematoma": {
                            "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.",
                            "type": "boolean"
                          },
                          "not_acting_normally": {
                            "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.",
                            "type": "boolean"
                          },
                          "palpable_skull_fracture": {
                            "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.",
                            "type": "boolean"
                          },
                          "severe_headache": {
                            "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.",
                            "type": "boolean"
                          },
                          "severe_mechanism": {
                            "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.",
                            "type": "boolean"
                          },
                          "signs_basilar_skull_fracture": {
                            "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.",
                            "type": "boolean"
                          }
                        },
                        "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"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}