{
  "x402Version": 2,
  "id": 39007,
  "slug": "39007",
  "resource": "https://api.magentlab.com/api/calc/nexus",
  "description": "NEXUS C-spine rule (Hoffman 2000). The patient is NEXUS low-risk, and imaging is not indicated by this rule, only when all five hold: no posterior midline cervical-spine tenderness, no focal neurologic deficit, normal alertness, no intoxication, and no painful distracting injury. Any failed criterion means x-ray is indicated. Not a diagnosis, not the Canadian C-spine rule, and not NEXUS chest. Blunt-trauma adults as published. 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": [
              {
                "distracting_injury": false,
                "focal_neuro_deficit": false,
                "intoxication": false,
                "midline_cervical_tenderness": false,
                "normal_alertness": true
              },
              {
                "distracting_injury": false,
                "focal_neuro_deficit": false,
                "intoxication": false,
                "midline_cervical_tenderness": false,
                "normal_alertness": true
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group",
                  "doi": "10.1056/NEJM200007133430203",
                  "id": "hoffman-2000",
                  "source": "N Engl J Med. 2000;343(2):94-99",
                  "title": "Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"
                },
                "criteria": [
                  {
                    "factor": "no_midline_cervical_tenderness",
                    "met": true
                  },
                  {
                    "factor": "no_focal_neuro_deficit",
                    "met": true
                  },
                  {
                    "factor": "normal_alertness",
                    "met": true
                  },
                  {
                    "factor": "no_intoxication",
                    "met": true
                  },
                  {
                    "factor": "no_distracting_injury",
                    "met": true
                  }
                ],
                "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": "nexus",
                "formula_expression": "NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury",
                "nexus_low_risk": true,
                "xray_indicated": false
              },
              {
                "citation": {
                  "authors": "Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group",
                  "doi": "10.1056/NEJM200007133430203",
                  "id": "hoffman-2000",
                  "source": "N Engl J Med. 2000;343(2):94-99",
                  "title": "Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"
                },
                "criteria": [
                  {
                    "factor": "no_midline_cervical_tenderness",
                    "met": true
                  },
                  {
                    "factor": "no_focal_neuro_deficit",
                    "met": true
                  },
                  {
                    "factor": "normal_alertness",
                    "met": true
                  },
                  {
                    "factor": "no_intoxication",
                    "met": true
                  },
                  {
                    "factor": "no_distracting_injury",
                    "met": true
                  }
                ],
                "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": "nexus",
                "formula_expression": "NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury",
                "nexus_low_risk": true,
                "xray_indicated": false
              }
            ],
            "path": "/api/calc/nexus"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "distracting_injury": {
                          "description": "Painful, distracting injury. true means a distracting injury is present and the low-risk criterion fails. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "focal_neuro_deficit": {
                          "description": "Focal neurologic deficit. true means a deficit is present and the low-risk criterion fails. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "intoxication": {
                          "description": "Intoxication. true means intoxicated and the low-risk criterion fails. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "midline_cervical_tenderness": {
                          "description": "Posterior midline cervical-spine tenderness. true means tenderness is present and the low-risk criterion fails. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "normal_alertness": {
                          "description": "Normal alertness. true means alertness is normal and the low-risk criterion holds; false is altered alertness and the criterion fails.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "midline_cervical_tenderness",
                        "focal_neuro_deficit",
                        "normal_alertness",
                        "intoxication",
                        "distracting_injury"
                      ],
                      "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": [
    "nexus",
    "c-spine",
    "radiography",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T09:46:05.091Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T09:46:04.963Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "distracting_injury": false,
                  "focal_neuro_deficit": false,
                  "intoxication": false,
                  "midline_cervical_tenderness": false,
                  "normal_alertness": true
                },
                {
                  "distracting_injury": false,
                  "focal_neuro_deficit": false,
                  "intoxication": false,
                  "midline_cervical_tenderness": false,
                  "normal_alertness": true
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group",
                    "doi": "10.1056/NEJM200007133430203",
                    "id": "hoffman-2000",
                    "source": "N Engl J Med. 2000;343(2):94-99",
                    "title": "Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"
                  },
                  "criteria": [
                    {
                      "factor": "no_midline_cervical_tenderness",
                      "met": true
                    },
                    {
                      "factor": "no_focal_neuro_deficit",
                      "met": true
                    },
                    {
                      "factor": "normal_alertness",
                      "met": true
                    },
                    {
                      "factor": "no_intoxication",
                      "met": true
                    },
                    {
                      "factor": "no_distracting_injury",
                      "met": true
                    }
                  ],
                  "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": "nexus",
                  "formula_expression": "NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury",
                  "nexus_low_risk": true,
                  "xray_indicated": false
                },
                {
                  "citation": {
                    "authors": "Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group",
                    "doi": "10.1056/NEJM200007133430203",
                    "id": "hoffman-2000",
                    "source": "N Engl J Med. 2000;343(2):94-99",
                    "title": "Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"
                  },
                  "criteria": [
                    {
                      "factor": "no_midline_cervical_tenderness",
                      "met": true
                    },
                    {
                      "factor": "no_focal_neuro_deficit",
                      "met": true
                    },
                    {
                      "factor": "normal_alertness",
                      "met": true
                    },
                    {
                      "factor": "no_intoxication",
                      "met": true
                    },
                    {
                      "factor": "no_distracting_injury",
                      "met": true
                    }
                  ],
                  "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": "nexus",
                  "formula_expression": "NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury",
                  "nexus_low_risk": true,
                  "xray_indicated": false
                }
              ],
              "path": "/api/calc/nexus"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "distracting_injury": {
                            "description": "Painful, distracting injury. true means a distracting injury is present and the low-risk criterion fails. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "focal_neuro_deficit": {
                            "description": "Focal neurologic deficit. true means a deficit is present and the low-risk criterion fails. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "intoxication": {
                            "description": "Intoxication. true means intoxicated and the low-risk criterion fails. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "midline_cervical_tenderness": {
                            "description": "Posterior midline cervical-spine tenderness. true means tenderness is present and the low-risk criterion fails. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "normal_alertness": {
                            "description": "Normal alertness. true means alertness is normal and the low-risk criterion holds; false is altered alertness and the criterion fails.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "midline_cervical_tenderness",
                          "focal_neuro_deficit",
                          "normal_alertness",
                          "intoxication",
                          "distracting_injury"
                        ],
                        "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"
  }
}