{
  "x402Version": 2,
  "id": 39463,
  "slug": "39463",
  "resource": "https://api.magentlab.com/api/calc/pre_score",
  "description": "PRE (Pittsburgh Response to Endovascular therapy) score: age + 2×NIHSS - 10×ASPECTS (Rangaraju 2015). Integer PRE, quartiles <0 / 0-24 / 25-49 / >=50, and recanalization-benefit strata <-24 / -24 to 49 / >=50. Not a thrombectomy recommendation. The caller assigns NIHSS and ASPECTS; magent does not assign NIHSS or read CT.",
  "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": 65,
                "aspects": 8,
                "nihss": 18
              },
              {
                "age": 65,
                "aspects": 8,
                "nihss": 18
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 65,
                "aspects": 8,
                "citation": {
                  "authors": "Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG",
                  "doi": "10.1136/neurintsurg-2014-011351",
                  "id": "rangaraju-2015",
                  "pmid": "25320216",
                  "source": "J Neurointerv Surg. 2015;7(11):783-788",
                  "title": "Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"
                },
                "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": "pre_score",
                "formula_expression": "PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total",
                "nihss": 18,
                "pre_quartile": "0-24",
                "pre_score": 21,
                "recanalization_stratum": "-24_to_49"
              },
              {
                "age_years": 65,
                "aspects": 8,
                "citation": {
                  "authors": "Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG",
                  "doi": "10.1136/neurintsurg-2014-011351",
                  "id": "rangaraju-2015",
                  "pmid": "25320216",
                  "source": "J Neurointerv Surg. 2015;7(11):783-788",
                  "title": "Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"
                },
                "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": "pre_score",
                "formula_expression": "PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total",
                "nihss": 18,
                "pre_quartile": "0-24",
                "pre_score": 21,
                "recanalization_stratum": "-24_to_49"
              }
            ],
            "path": "/api/calc/pre_score"
          },
          "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 (integer 18-120).",
                          "type": "integer"
                        },
                        "aspects": {
                          "description": "Alberta Stroke Program Early CT Score (integer 0-10). magent does not read CT.",
                          "type": "integer"
                        },
                        "nihss": {
                          "description": "Caller-assigned NIH Stroke Scale total (integer 0-42, NINDS total). magent does not assign NIHSS or examine the patient.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "age",
                        "nihss",
                        "aspects"
                      ],
                      "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": [
    "pre-score",
    "stroke",
    "neurology",
    "nihss",
    "aspects",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:49:20.364Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:49:20.233Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 65,
                  "aspects": 8,
                  "nihss": 18
                },
                {
                  "age": 65,
                  "aspects": 8,
                  "nihss": 18
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 65,
                  "aspects": 8,
                  "citation": {
                    "authors": "Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG",
                    "doi": "10.1136/neurintsurg-2014-011351",
                    "id": "rangaraju-2015",
                    "pmid": "25320216",
                    "source": "J Neurointerv Surg. 2015;7(11):783-788",
                    "title": "Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"
                  },
                  "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": "pre_score",
                  "formula_expression": "PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total",
                  "nihss": 18,
                  "pre_quartile": "0-24",
                  "pre_score": 21,
                  "recanalization_stratum": "-24_to_49"
                },
                {
                  "age_years": 65,
                  "aspects": 8,
                  "citation": {
                    "authors": "Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG",
                    "doi": "10.1136/neurintsurg-2014-011351",
                    "id": "rangaraju-2015",
                    "pmid": "25320216",
                    "source": "J Neurointerv Surg. 2015;7(11):783-788",
                    "title": "Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"
                  },
                  "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": "pre_score",
                  "formula_expression": "PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total",
                  "nihss": 18,
                  "pre_quartile": "0-24",
                  "pre_score": 21,
                  "recanalization_stratum": "-24_to_49"
                }
              ],
              "path": "/api/calc/pre_score"
            },
            "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 (integer 18-120).",
                            "type": "integer"
                          },
                          "aspects": {
                            "description": "Alberta Stroke Program Early CT Score (integer 0-10). magent does not read CT.",
                            "type": "integer"
                          },
                          "nihss": {
                            "description": "Caller-assigned NIH Stroke Scale total (integer 0-42, NINDS total). magent does not assign NIHSS or examine the patient.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "age",
                          "nihss",
                          "aspects"
                        ],
                        "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"
  }
}