# Duke Activity Status Index (DASI) Calculator

> Duke Activity Status Index (DASI) Calculator 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 Hlatky 1989 Duke Activity Status Index score and estimated peak VO2 from 12 yes/no functional activity questions

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/dasi
- 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/duke-activity-status-index-dasi-calculator-d386ffc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pFCZYM-yjMRew8ctySHim

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 duke-activity-status-index-dasi-calculator-d386ffc2
```

Example prompt: Calculate the DASI score for a patient who can do self-care, walk indoors, walk a block or two, climb stairs, do light housework, do moderate housework, and have sexual relations — but cannot run a short distance, do heavy housework, do yardwork, do moderate recreation, or play strenuous sports.

## When to prefer this

Use this endpoint when you need a validated, guideline-referenced estimate of functional capacity (DASI score and VO2 peak) from structured yes/no activity data without conducting an exercise stress test. It is ideal for preoperative cardiac risk screening, heart failure monitoring, or any scenario where the 12 Hlatky 1989 activity items have been collected from a patient interview or questionnaire.

## Known failure modes

- Missing any of the 12 required boolean query parameters returns a validation error
- Non-boolean values for activity parameters cause a schema validation failure
- Network or server errors return standard HTTP 4xx/5xx responses
- Score may not reflect true functional capacity if caller-reported answers are inaccurate

## How this service works

Hlatky 1989 Duke Activity Status Index. Twelve caller-assigned yes/no items (self-care through strenuous sports); Yes adds the Table I weight, No adds 0. Light housework is 2.70. DASI is the sum (0-58.2). Estimated peak VO2 mL/kg/min = 0.43 x DASI + 9.6. magent does not observe the patient. Not a functional-capacity assignment or exercise-test replacement.

## Output

Returns the total DASI score (range 0–58.2) as the sum of weights for all 'yes' answers across the 12 activity items, and an estimated peak VO2 in mL/kg/min computed as 0.43 × DASI + 9.6.

## 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": [
      "self_care",
      "walk_indoors",
      "walk_blocks",
      "climb_stairs",
      "run_short",
      "light_housework",
      "moderate_housework",
      "heavy_housework",
      "yardwork",
      "sexual_relations",
      "moderate_recreation",
      "strenuous_sports"
     ],
     "properties": {
      "yardwork": {
       "type": "boolean",
       "description": "Can do yardwork like raking leaves, weeding, or pushing a power mower (Hlatky 1989 Table I). true or false. Yes adds 4.50."
      },
      "run_short": {
       "type": "boolean",
       "description": "Can run a short distance (Hlatky 1989 Table I). true or false. Yes adds 8.00."
      },
      "self_care": {
       "type": "boolean",
       "description": "Can take care of self: eating, dressing, bathing, or using the toilet (Hlatky 1989 Table I). true or false. Yes adds 2.75."
      },
      "walk_blocks": {
       "type": "boolean",
       "description": "Can walk a block or two on level ground (Hlatky 1989 Table I). true or false. Yes adds 2.75."
      },
      "climb_stairs": {
       "type": "boolean",
       "description": "Can climb a flight of stairs or walk up a hill (Hlatky 1989 Table I). true or false. Yes adds 5.50."
      },
      "walk_indoors": {
       "type": "boolean",
       "description": "Can walk indoors, such as around the house (Hlatky 1989 Table I). true or false. Yes adds 1.75."
      },
      "heavy_housework": {
       "type": "boolean",
       "description": "Can do heavy work around the house like scrubbing floors, or lifting or moving heavy furniture (Hlatky 1989 Table I). true or false. Yes adds 8.00."
      },
      "light_housework": {
       "type": "boolean",
       "description": "Can do light work around the house like dusting or washing dishes (Hlatky 1989 Table I). true or false. Yes adds 2.70."
      },
      "sexual_relations": {
       "type": "boolean",
       "description": "Ca
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/duke-activity-status-index-dasi-calculator-d386ffc2/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)
