# GOLD COPD Spirometric Grade Calculator (2017)

> GOLD COPD Spirometric Grade Calculator (2017) 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).

Calculates the GOLD 2017 spirometric grade (1–4 or not_obstructed) for COPD from post-bronchodilator FEV1/FVC ratio and FEV1 % predicted.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/gold_copd
- 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/gold-copd-spirometric-grade-calculator-2017-a361f0eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pUg23UA3DqR31Zefa2Jif

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 gold-copd-spirometric-grade-calculator-2017-a361f0eb
```

Example prompt: What GOLD spirometric grade is a COPD patient with a post-bronchodilator FEV1/FVC ratio of 0.62 and FEV1 at 55% predicted?

## When to prefer this

Use this endpoint when you need a fast, deterministic GOLD 2017 spirometric grade (obstruction severity, GOLD 1–4) from post-bronchodilator spirometry values and do not need the full ABE (exacerbation/symptom) assessment. Prefer this over general-purpose LLM reasoning for reproducibility and auditability in clinical documentation or population health pipelines.

## Known failure modes

- FEV1/FVC outside allowed range (0.20–1.00) returns validation error
- FEV1 % predicted outside allowed range (10–150) returns validation error
- Missing required query parameters returns error
- Payment failure (x402) prevents response

## How this service works

GOLD 2017 spirometric grade (Vogelmeier executive summary). Post-bronchodilator FEV1/FVC < 0.70 defines obstruction; then GOLD 1 if FEV1 % predicted >= 80, GOLD 2 if 50 to <80, GOLD 3 if 30 to <50, GOLD 4 if <30. Ratio >= 0.70 returns not_obstructed even when FEV1 is low. Not GOLD ABE (no mMRC, CAT, or exacerbations). magent does not perform spirometry. Not a medical device or a diagnosis.

## Output

Returns the GOLD 2017 spirometric grade: 'not_obstructed' when FEV1/FVC ≥ 0.70, or GOLD 1 through 4 when FEV1/FVC < 0.70 (GOLD 1: FEV1 ≥ 80%, GOLD 2: 50–79%, GOLD 3: 30–49%, GOLD 4: < 30%). Does not incorporate mMRC, CAT scores, or exacerbation history (not the GOLD ABE framework).

## 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": [
      "fev1_percent_predicted",
      "fev1_fvc_ratio"
     ],
     "properties": {
      "fev1_fvc_ratio": {
       "type": "number",
       "description": "Post-bronchodilator FEV1/FVC as a fraction (0.20-1.00). Values < 0.70 are obstructed; 0.70 and above are not_obstructed with no GOLD 1-4. magent does not perform spirometry."
      },
      "fev1_percent_predicted": {
       "type": "number",
       "description": "Post-bronchodilator FEV1 as percent of predicted (10-150). Used for GOLD 1-4 only when FEV1/FVC is < 0.70. magent does not perform spirometry."
      }
     }
    }
   },
   "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/gold-copd-spirometric-grade-calculator-2017-a361f0eb/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)
