# CCS Angina of Effort Classification (Campeau 1976)

> CCS Angina of Effort Classification (Campeau 1976) 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-13).

Returns the CCS angina class label, numeric score, maximum score, and published class description for a caller-supplied CCS class (1–4).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/ccs_angina
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ccs-angina-of-effort-classification-campeau-1976-cbd3aced
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1i88aPLDOUcSBbiIkc38X

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 ccs-angina-of-effort-classification-campeau-1976-cbd3aced
```

Example prompt: Look up the CCS angina of effort classification for class 3 — I need the standard Campeau 1976 label, score, and published description.

## When to prefer this

Use this endpoint when you need the authoritative Campeau 1976 CCS angina of effort class description, score, and label for a class already assigned by a clinician. Prefer this over manual lookup when building clinical documentation pipelines, audit trails, or report generators that must include the exact published class definition. Not appropriate for diagnosing angina, interpreting stress tests, screening for ACS, or assigning NYHA functional class.

## Known failure modes

- Class value outside 1–4 (e.g. 0 or 5) returns an error — class 0 is not supported
- Non-integer input for ccs_class causes a validation error
- Missing required ccs_class parameter results in a 400 bad request
- Payment failure or missing x402 header results in 402 Payment Required

## How this service works

CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1). Returns class, score, max 4, and the published class description. Class 1-4 only; no class 0. magent does not walk the patient, interpret a treadmill, or examine the patient. Not an ACS diagnosis, not NYHA, and not a silent-ischemia screen.

## Output

Returns the CCS angina class (integer 1–4), the numeric score, the maximum possible score (4), and the full published Campeau 1976 class description as a structured object.

## 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": [
      "ccs_class"
     ],
     "properties": {
      "ccs_class": {
       "type": "integer",
       "description": "CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1: 1 ordinary activity does not cause angina; angina with strenuous or rapid or prolonged exertion at work or recreation; 2 slight limitation of ordinary activity, including walking more than 2 blocks or climbing more than one flight of ordinary stairs at a normal pace; 3 marked limitation, walking one to two blocks or climbing one flight of stairs in normal conditions; 4 inability to carry on any physical activity without discomfort, anginal syndrome may be present at rest). magent does not examine 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/ccs-angina-of-effort-classification-campeau-1976-cbd3aced/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)
