# ALSFRS-R Calculator (Cedarbaum 1999)

> ALSFRS-R Calculator (Cedarbaum 1999) 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 ALS Functional Rating Scale–Revised (ALSFRS-R) total score (0–48) from 12 caller-supplied integer subscores across bulbar, fine motor, gross motor, and respiratory domains.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/alsfrs_r
- 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/alsfrs-r-calculator-cedarbaum-1999-756bc529
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ss8_hYVU4OZbyhyZdOLDG

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 alsfrs-r-calculator-cedarbaum-1999-756bc529
```

Example prompt: Calculate an ALSFRS-R total score for my ALS patient using Cedarbaum 1999: speech 3, salivation 4, swallowing 3, handwriting 2, cutting food 3, dressing and hygiene 3, turning in bed 3, walking 2, climbing stairs 2, dyspnea 4, orthopnea 4, respiratory insufficiency 4.

## When to prefer this

Use this endpoint when you need a programmatic, auditable sum of all 12 Cedarbaum 1999 ALSFRS-R subscores without manual arithmetic. Prefer it over manual totaling to avoid transcription errors in clinical or research workflows. Note this is the revised 12-item scale, not the original 10-item ALSFRS; do not use it for Karnofsky, ECOG, or other ALS functional scales.

## Known failure modes

- Missing any of the 12 required query parameters returns an error
- Subscore values outside the 0–4 integer range are rejected
- Non-integer values (floats, strings) for subscores cause validation failure
- Payment failure via x402 protocol blocks the call
- Incorrect HTTP method (non-GET) returns method not allowed

## How this service works

Cedarbaum 1999 ALSFRS-R: twelve caller-assigned integers 0-4 (speech, salivation, swallowing, handwriting, cutting_food, dressing_hygiene, turning_in_bed, walking, climbing_stairs, dyspnea, orthopnea, respiratory_insufficiency). One cutting_food slot for with or without gastrostomy. Sum 0-48. magent does not examine. Cedarbaum 1999 printed no total-score severity bands. Not a diagnosis, not original 10-item ALSFRS, not Karnofsky or ECOG, and not a medical device.

## Output

Returns the ALSFRS-R total score (integer 0–48) summed from the 12 provided subscores across bulbar (speech, salivation, swallowing), fine motor (handwriting, cutting food, dressing/hygiene), gross motor (turning in bed, walking, climbing stairs), and respiratory (dyspnea, orthopnea, respiratory insufficiency) domains. No severity band labels are returned (Cedarbaum 1999 published none). The endpoint performs arithmetic only and does not interpret, diagnose, or examine patients.

## 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": [
      "speech",
      "salivation",
      "swallowing",
      "handwriting",
      "cutting_food",
      "dressing_hygiene",
      "turning_in_bed",
      "walking",
      "climbing_stairs",
      "dyspnea",
      "orthopnea",
      "respiratory_insufficiency"
     ],
     "properties": {
      "speech": {
       "type": "integer",
       "description": "Caller-assigned Cedarbaum 1999 speech (integer 0-4): 4 normal speech processes; 3 detectable speech disturbance; 2 intelligible with repeating; 1 speech combined with nonvocal communication; 0 loss of useful speech. magent does not examine the patient."
      },
      "dyspnea": {
       "type": "integer",
       "description": "Caller-assigned Cedarbaum 1999 dyspnea (integer 0-4): 4 none; 3 occurs when walking; 2 occurs with one or more of eating, bathing, dressing (ADL); 1 occurs at rest, difficulty breathing when either sitting or lying; 0 significant difficulty, considering using mechanical respiratory support. magent does not examine the patient."
      },
      "walking": {
       "type": "integer",
       "description": "Caller-assigned Cedarbaum 1999 walking (integer 0-4): 4 normal; 3 early ambulation difficulties; 2 walks with assistance; 1 nonambulatory functional movement only; 0 no purposeful leg movement. magent does not examine the patient."
      },
      "orthopnea": {
       "type": "integer",
       "description": "Caller-assigned Cedarbaum 1999 orthopnea (integer 0-4): 4 none; 3 some difficulty sleeping at night due to shortness of breath, does not routinely use more than two pillows; 2 needs extra pillows in order to sleep (more than two); 1 can only sleep sitting up; 0 unable to sleep. magent does not examine the patient."
      },
      "salivation": {
       "type": "integer",
       "description": "Caller-assigned Cedarbaum 1999 salivation (integer 0-4): 4 normal; 3 slight but definite excess of saliva in mouth, may hav
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alsfrs-r-calculator-cedarbaum-1999-756bc529/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)
