# ASPECTS Score Calculator (Barber 2000)

> ASPECTS Score Calculator (Barber 2000) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes the Alberta Stroke Program Early CT Score (ASPECTS) by subtracting 1 from 10 for each of the 10 MCA regions where the caller reports early ischemic change

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/aspects
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aspects-score-calculator-barber-2000-d7a372a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fp5VBho4WOr7NVyZni7TH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aspects-score-calculator-barber-2000-d7a372a0
```

Example prompt: Calculate the ASPECTS score for a patient where early ischemic changes are present in the caudate and insular ribbon, but absent in the lentiform, internal capsule, M1, M2, M3, M4, M5, and M6 regions.

## When to prefer this

Use this endpoint when you have already clinically reviewed a non-contrast CT head and determined which of the 10 standard Barber 2000 MCA regions show early ischemic change, and need a validated ASPECTS integer score quickly. It is not a substitute for radiologist CT interpretation and does not implement posterior circulation ASPECTS (pc-ASPECTS).

## Known failure modes

- Missing any of the 10 required boolean query parameters returns an error
- Non-boolean values for region flags cause a validation error
- Network or payment (x402) failure results in no score returned
- Caller misassigns regions — API cannot detect or correct CT misinterpretation

## How this service works

Barber 2000 ASPECTS: 10 minus 1 for each caller-assigned MCA region with early ischemic change (C caudate, L lentiform, IC internal capsule, I insular ribbon, M1–M6). Score 0–10. Not pc-ASPECTS. magent does not read the CT. Not a diagnosis, lytic order, or medical device.

## Output

Returns a single integer ASPECTS score from 0 to 10, computed as 10 minus 1 for each of the 10 caller-assigned MCA regions flagged as showing early ischemic change. A score of 10 means no involvement; 0 means all regions involved. Note: the API does not interpret CT images — all region flags must be determined and provided by the caller.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "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": [
      "caudate",
      "lentiform",
      "internal_capsule",
      "insular_ribbon",
      "m1",
      "m2",
      "m3",
      "m4",
      "m5",
      "m6"
     ],
     "properties": {
      "m1": {
       "type": "boolean",
       "description": "Anterior MCA cortex (M1). Caller-assigned early ischemic change in the published M1 region (Barber 2000). magent does not read the CT. true or false."
      },
      "m2": {
       "type": "boolean",
       "description": "MCA cortex lateral to insular ribbon (M2). Caller-assigned early ischemic change in the published M2 region (Barber 2000). magent does not read the CT. true or false."
      },
      "m3": {
       "type": "boolean",
       "description": "Posterior MCA cortex (M3). Caller-assigned early ischemic change in the published M3 region (Barber 2000). magent does not read the CT. true or false."
      },
      "m4": {
       "type": "boolean",
       "description": "Anterior MCA territory immediately superior to M1, rostral to basal ganglia (M4). Caller-assigned early ischemic change in the published M4 region (Barber 2000). magent does not read the CT. true or false."
      },
      "m5": {
       "type": "boolean",
       "description": "Lateral MCA territory immediately superior to M2, rostral to basal ganglia (M5). Caller-assigned early ischemic change in the published M5 region (Barber 2000). magent does not read the CT. true or false."
      },
      "m6": {
       "type": "boolean",
       "description": "Posterior MCA territory immediately superior to M3, rostral to basal ganglia (M6). Caller-assigned early ischemic change in the published M6 region (Barber 2000). magent does not read the CT. true or false."
      },
      "caudate": {
       "type": "boolean",
       "description": "Caudate (C). Caller-assigned early ischemic change in the published caudate region (Barber 2000). magent does not read the CT. true or false."
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aspects-score-calculator-barber-2000-d7a372a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
