{
  "x402Version": 2,
  "id": 38933,
  "slug": "38933",
  "resource": "https://api.magentlab.com/api/calc/race",
  "description": "Pérez de la Ossa 2014 Rapid Arterial oCclusion Evaluation (RACE) scale: facial_palsy 0 absent / 1 mild / 2 moderate to severe + arm_motor 0 normal to mild / 1 moderate / 2 severe + leg_motor same + gaze_deviation 0 absent / 1 present + cortical 0-2 (aphasia if right hemiparesis; agnosia if left). Max 9. lvo_suggested true iff score ≥5. Not a stroke diagnosis or transfer order and not a race-based equation. 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": [
              {
                "arm_motor": 0,
                "cortical": 0,
                "facial_palsy": 0,
                "gaze_deviation": 0,
                "hemiparesis_side": "right",
                "leg_motor": 0
              },
              {
                "arm_motor": 0,
                "cortical": 0,
                "facial_palsy": 0,
                "gaze_deviation": 0,
                "hemiparesis_side": "right",
                "leg_motor": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "arm_motor": 0,
                "citation": {
                  "authors": "Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A",
                  "doi": "10.1161/STROKEAHA.113.003071",
                  "id": "perez-de-la-ossa-2014",
                  "pmid": "24253548",
                  "source": "Stroke. 2014;45(1):87-91",
                  "title": "Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"
                },
                "components": [
                  {
                    "factor": "facial_palsy",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "arm_motor",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "leg_motor",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "gaze_deviation",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "cortical",
                    "points": 0,
                    "present": false,
                    "value": 0
                  }
                ],
                "cortical": 0,
                "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.",
                "facial_palsy": 0,
                "formula": "race",
                "formula_expression": "RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5",
                "gaze_deviation": 0,
                "hemiparesis_side": "right",
                "leg_motor": 0,
                "lvo_suggested": false,
                "max_score": 9,
                "score": 0
              },
              {
                "arm_motor": 0,
                "citation": {
                  "authors": "Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A",
                  "doi": "10.1161/STROKEAHA.113.003071",
                  "id": "perez-de-la-ossa-2014",
                  "pmid": "24253548",
                  "source": "Stroke. 2014;45(1):87-91",
                  "title": "Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"
                },
                "components": [
                  {
                    "factor": "facial_palsy",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "arm_motor",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "leg_motor",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "gaze_deviation",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "cortical",
                    "points": 0,
                    "present": false,
                    "value": 0
                  }
                ],
                "cortical": 0,
                "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.",
                "facial_palsy": 0,
                "formula": "race",
                "formula_expression": "RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5",
                "gaze_deviation": 0,
                "hemiparesis_side": "right",
                "leg_motor": 0,
                "lvo_suggested": false,
                "max_score": 9,
                "score": 0
              }
            ],
            "path": "/api/calc/race"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "arm_motor": {
                          "description": "Caller-assigned Pérez de la Ossa 2014 RACE arm motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.",
                          "enum": [
                            0,
                            1,
                            2
                          ],
                          "type": "integer"
                        },
                        "cortical": {
                          "description": "Caller-assigned Pérez de la Ossa 2014 cortical points (integer 0-2). Right hemiparesis: aphasia, close eyes and make a fist (0 both, 1 one, 2 neither). Left hemiparesis: agnosia, recognizes arm and impairment (0 both, 1 one, 2 neither). magent does not examine the patient.",
                          "enum": [
                            0,
                            1,
                            2
                          ],
                          "type": "integer"
                        },
                        "facial_palsy": {
                          "description": "Caller-assigned Pérez de la Ossa 2014 RACE facial palsy (integer 0-2): 0 absent, 1 mild, 2 moderate to severe. magent does not examine the patient.",
                          "enum": [
                            0,
                            1,
                            2
                          ],
                          "type": "integer"
                        },
                        "gaze_deviation": {
                          "description": "Caller-assigned Pérez de la Ossa 2014 RACE head and gaze deviation (integer 0-1): 0 absent, 1 present. magent does not examine the patient.",
                          "enum": [
                            0,
                            1
                          ],
                          "type": "integer"
                        },
                        "hemiparesis_side": {
                          "description": "Caller-assigned hemiparesis side (right or left). Right scores cortical as aphasia (close eyes / make a fist). Left scores cortical as agnosia (recognizes arm and impairment). magent does not examine the patient.",
                          "enum": [
                            "right",
                            "left"
                          ],
                          "type": "string"
                        },
                        "leg_motor": {
                          "description": "Caller-assigned Pérez de la Ossa 2014 RACE leg motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.",
                          "enum": [
                            0,
                            1,
                            2
                          ],
                          "type": "integer"
                        }
                      },
                      "required": [
                        "facial_palsy",
                        "arm_motor",
                        "leg_motor",
                        "gaze_deviation",
                        "hemiparesis_side",
                        "cortical"
                      ],
                      "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": [
    "race-scale",
    "stroke",
    "lvo",
    "prehospital",
    "neurology",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T11:56:45.652Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T11:56:45.321Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "arm_motor": 0,
                  "cortical": 0,
                  "facial_palsy": 0,
                  "gaze_deviation": 0,
                  "hemiparesis_side": "right",
                  "leg_motor": 0
                },
                {
                  "arm_motor": 0,
                  "cortical": 0,
                  "facial_palsy": 0,
                  "gaze_deviation": 0,
                  "hemiparesis_side": "right",
                  "leg_motor": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "arm_motor": 0,
                  "citation": {
                    "authors": "Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A",
                    "doi": "10.1161/STROKEAHA.113.003071",
                    "id": "perez-de-la-ossa-2014",
                    "pmid": "24253548",
                    "source": "Stroke. 2014;45(1):87-91",
                    "title": "Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"
                  },
                  "components": [
                    {
                      "factor": "facial_palsy",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "arm_motor",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "leg_motor",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "gaze_deviation",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "cortical",
                      "points": 0,
                      "present": false,
                      "value": 0
                    }
                  ],
                  "cortical": 0,
                  "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.",
                  "facial_palsy": 0,
                  "formula": "race",
                  "formula_expression": "RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5",
                  "gaze_deviation": 0,
                  "hemiparesis_side": "right",
                  "leg_motor": 0,
                  "lvo_suggested": false,
                  "max_score": 9,
                  "score": 0
                },
                {
                  "arm_motor": 0,
                  "citation": {
                    "authors": "Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A",
                    "doi": "10.1161/STROKEAHA.113.003071",
                    "id": "perez-de-la-ossa-2014",
                    "pmid": "24253548",
                    "source": "Stroke. 2014;45(1):87-91",
                    "title": "Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"
                  },
                  "components": [
                    {
                      "factor": "facial_palsy",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "arm_motor",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "leg_motor",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "gaze_deviation",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "cortical",
                      "points": 0,
                      "present": false,
                      "value": 0
                    }
                  ],
                  "cortical": 0,
                  "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.",
                  "facial_palsy": 0,
                  "formula": "race",
                  "formula_expression": "RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5",
                  "gaze_deviation": 0,
                  "hemiparesis_side": "right",
                  "leg_motor": 0,
                  "lvo_suggested": false,
                  "max_score": 9,
                  "score": 0
                }
              ],
              "path": "/api/calc/race"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "arm_motor": {
                            "description": "Caller-assigned Pérez de la Ossa 2014 RACE arm motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.",
                            "enum": [
                              0,
                              1,
                              2
                            ],
                            "type": "integer"
                          },
                          "cortical": {
                            "description": "Caller-assigned Pérez de la Ossa 2014 cortical points (integer 0-2). Right hemiparesis: aphasia, close eyes and make a fist (0 both, 1 one, 2 neither). Left hemiparesis: agnosia, recognizes arm and impairment (0 both, 1 one, 2 neither). magent does not examine the patient.",
                            "enum": [
                              0,
                              1,
                              2
                            ],
                            "type": "integer"
                          },
                          "facial_palsy": {
                            "description": "Caller-assigned Pérez de la Ossa 2014 RACE facial palsy (integer 0-2): 0 absent, 1 mild, 2 moderate to severe. magent does not examine the patient.",
                            "enum": [
                              0,
                              1,
                              2
                            ],
                            "type": "integer"
                          },
                          "gaze_deviation": {
                            "description": "Caller-assigned Pérez de la Ossa 2014 RACE head and gaze deviation (integer 0-1): 0 absent, 1 present. magent does not examine the patient.",
                            "enum": [
                              0,
                              1
                            ],
                            "type": "integer"
                          },
                          "hemiparesis_side": {
                            "description": "Caller-assigned hemiparesis side (right or left). Right scores cortical as aphasia (close eyes / make a fist). Left scores cortical as agnosia (recognizes arm and impairment). magent does not examine the patient.",
                            "enum": [
                              "right",
                              "left"
                            ],
                            "type": "string"
                          },
                          "leg_motor": {
                            "description": "Caller-assigned Pérez de la Ossa 2014 RACE leg motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.",
                            "enum": [
                              0,
                              1,
                              2
                            ],
                            "type": "integer"
                          }
                        },
                        "required": [
                          "facial_palsy",
                          "arm_motor",
                          "leg_motor",
                          "gaze_deviation",
                          "hemiparesis_side",
                          "cortical"
                        ],
                        "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"
  }
}