# Lansky Play-Performance Scale Calculator

> Lansky Play-Performance Scale 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).

Validates and labels a caller-assigned Lansky 1987 Play-Performance Scale (LPS) integer score (0–100) for pediatric oncology functional status

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/lansky
- 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/lansky-play-performance-scale-calculator-23e6b240
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oqwfoHzMCXgMBiqMXo_bx

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 lansky-play-performance-scale-calculator-23e6b240
```

Example prompt: Score a pediatric patient with a parent-rated Lansky Play-Performance level of 60 — the child is up and around but active play is minimal and they mostly do quiet activities.

## When to prefer this

Use this endpoint when you need to standardize, validate, or label a parent-reported pediatric functional status using the Lansky 1987 Play-Performance Scale specifically. Prefer it over Karnofsky or ECOG endpoints when the patient is a child and the rating is parent-assigned based on observed play behavior. Do not use it to assign a score — the caller must provide the integer; this endpoint validates and labels it.

## Known failure modes

- Invalid integer not in the allowed set (0,10,20,...,100) — likely returns a validation error
- Missing required 'lps' query parameter — returns a schema or bad-request error
- Non-integer or decimal input — rejected by schema validation

## How this service works

Lansky 1987 Play-Performance Scale: caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 from parent-rated play over the past week (fully active; minor physical restriction; tires more quickly; restricted play; quieter activities; lying around, quiet play; mostly in bed; bedbound; often sleeping; no play; unresponsive). Grade 0 is scored. Returns score, max 100, and a stable label. Not a performance-status assignment, not Karnofsky, not ECOG; magent does not observe the child.

## Output

Returns the submitted LPS integer score, the maximum possible score (100), and a stable human-readable label corresponding to the selected Lansky Play-Performance level (e.g. 'lying around much of the day, but gets dressed, no active play, participates in all quiet play and activities' for score 50).

## 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": [
      "lps"
     ],
     "properties": {
      "lps": {
       "type": "integer",
       "description": "Lansky 1987 Play-Performance Scale 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller from parent-rated play-performance over the past week (100 fully active, normal; 90 minor restrictions in physically strenuous activity; 80 active, but tires more quickly; 70 greater restriction of play and less time spent in play; 60 up and around, but active play minimal, keeps busy with quieter activities; 50 lying around much of the day, but gets dressed, no active play, participates in all quiet play and activities; 40 mostly in bed, participates in quiet activities; 30 in bed, needs assistance even for quiet play; 20 sleeping often, play entirely limited to very passive activities; 10 does not play, does not get out of bed; 0 unresponsive). Grade 0 (unresponsive) is scored. magent does not observe the child."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lansky-play-performance-scale-calculator-23e6b240/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)
