# Karnofsky Performance Status Lookup

> Karnofsky Performance Status Lookup 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).

Returns a validated score and stable label for a caller-supplied Karnofsky Performance Status (KPS) integer value from 10 to 100.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/karnofsky
- 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/karnofsky-performance-status-lookup-a40070c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fYO3LO7VZSeCJ1YG0mlml

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 karnofsky-performance-status-lookup-a40070c3
```

Example prompt: Look up the Karnofsky 1949 performance status label for a score of 70 — the patient was assigned this by their clinician.

## When to prefer this

Use this endpoint when you have a clinician-assigned Karnofsky Performance Status integer and need its validated score and canonical 1949 label — e.g., for EHR enrichment, clinical trial data pipelines, or oncology report generation. Prefer this over manual lookups or ECOG-conversion tools when you specifically need the Karnofsky (not ECOG) taxonomy and want a machine-readable, stable label.

## Known failure modes

- Invalid or out-of-range kps value (e.g., 0, 5, 15, or 110) returns an error; only multiples of 10 from 10–100 are accepted
- Grade 0 (dead) is explicitly not scored and will return an error
- Missing required 'kps' query parameter returns a validation error
- Non-integer value for kps returns a schema validation error

## How this service works

Karnofsky 1949 Performance Status: caller-assigned integer 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (normal; minor signs or symptoms; normal activity with effort; cares for self; occasional assistance; considerable assistance and frequent medical care; disabled; severely disabled; very sick, hospitalization necessary; moribund). Grade 0 (dead) is not scored. Returns score, max 100, and a stable label. Not a performance-status assignment and not ECOG; magent does not observe the patient.

## Output

Returns the validated KPS score (integer, max 100) and its stable human-readable label as defined by Karnofsky 1949 — e.g., score 70 maps to 'Cares for self; unable to carry on normal activity or to do active work.' Does not assign or interpret a score; caller must supply a valid integer from 10–100.

## 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": [
      "kps"
     ],
     "properties": {
      "kps": {
       "type": "integer",
       "description": "Karnofsky 1949 Performance Status 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller (100 normal, no complaints; 90 minor signs or symptoms, normal activity; 80 normal activity with effort; 70 cares for self; 60 occasional assistance; 50 considerable assistance and frequent medical care; 40 disabled; 30 severely disabled; 20 very sick, hospital admission necessary; 10 moribund). Grade 0 (dead) is not scored. magent does not observe the patient."
      }
     }
    }
   },
   "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/karnofsky-performance-status-lookup-a40070c3/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)
