# ESAS-r Score Calculator (Watanabe 2011)

> ESAS-r Score Calculator (Watanabe 2011) 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-15).

Computes the Edmonton Symptom Assessment System Revised (ESAS-r, Watanabe 2011) total score by summing nine caller-provided 0–10 symptom integers into a 0–90 aggregate.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/esas_r
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/esas-r-score-calculator-watanabe-2011-672a6e2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6e_L05pLIr3YdFlPW_SeV

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 esas-r-score-calculator-watanabe-2011-672a6e2f
```

Example prompt: Calculate the Watanabe 2011 ESAS-r total score for a patient with these self-reported ratings right now: pain 6, tiredness 7, drowsiness 4, nausea 2, lack of appetite 5, shortness of breath 3, depression 4, anxiety 5, wellbeing 6.

## When to prefer this

Use this endpoint when you need a fast, accurate arithmetic sum of the nine Watanabe 2011 ESAS-r symptom items and already have the caller-assigned integer scores in hand. Prefer it over manual summation to avoid arithmetic errors in automated pipelines. Do not use it if you need ESAS (Bruera 1991), ESAS-r Renal (which includes itch), severity class labels, or any form administration — this endpoint only computes the sum from pre-collected scores.

## Known failure modes

- Missing one or more of the nine required query parameters — returns a validation error
- Non-integer or out-of-range (outside 0–10) values for any symptom parameter — returns a validation error
- Payment failure or insufficient USDC balance for the x402 micropayment — request rejected before computation
- Network timeout or server unavailability — no result returned

## How this service works

Watanabe 2011 ESAS-r from nine caller-assigned integers 0-10 (pain, tiredness, drowsiness, nausea, lack of appetite, shortness of breath, depression, anxiety, wellbeing; now; 0 none/best, 10 worst). magent does not administer the form. Sum 0-90. Watanabe 2011 published no severity classes for that sum. Not Bruera 1991 ESAS, not ESAS-r Renal (itch is not a core item), not a diagnosis or treatment order, and not a medical device.

## Output

Returns the ESAS-r (Watanabe 2011) total sum score as an integer between 0 and 90, representing the arithmetic sum of the nine caller-provided symptom ratings. No severity classification is returned, as Watanabe 2011 published no severity banding for the aggregate sum.

## 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": [
      "pain",
      "tiredness",
      "drowsiness",
      "nausea",
      "lack_of_appetite",
      "shortness_of_breath",
      "depression",
      "anxiety",
      "wellbeing"
     ],
     "properties": {
      "pain": {
       "type": "integer",
       "description": "Caller-assigned Watanabe 2011 ESAS-r pain (integer 0-10): 0 no pain, 10 worst possible pain; how the person feels now. magent does not administer the form."
      },
      "nausea": {
       "type": "integer",
       "description": "Caller-assigned Watanabe 2011 ESAS-r nausea (integer 0-10): 0 no nausea, 10 worst possible nausea; how the person feels now. magent does not administer the form."
      },
      "anxiety": {
       "type": "integer",
       "description": "Caller-assigned Watanabe 2011 ESAS-r anxiety (integer 0-10): 0 no anxiety, 10 worst possible anxiety (anxiety = feeling nervous); how the person feels now. magent does not administer the form."
      },
      "tiredness": {
       "type": "integer",
       "description": "Caller-assigned Watanabe 2011 ESAS-r tiredness (integer 0-10): 0 no tiredness, 10 worst possible tiredness (tiredness = lack of energy); how the person feels now. magent does not administer the form."
      },
      "wellbeing": {
       "type": "integer",
       "description": "Caller-assigned Watanabe 2011 ESAS-r wellbeing (integer 0-10): 0 best wellbeing, 10 worst possible wellbeing (wellbeing = how you feel overall); how the person feels now. magent does not administer the form."
      },
      "depression": {
       "type": "integer",
       "description": "Caller-assigned Watanabe 2011 ESAS-r depression (integer 0-10): 0 no depression, 10 worst possible depression (depression = feeling sad); how the person feels now. magent does not administer the form."
      },
      "drowsiness": {
       "type": "integer",
       "description": "Caller-assigned Watanabe 2011 ESAS-r drowsiness (integer
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/esas-r-score-calculator-watanabe-2011-672a6e2f/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)
