{
  "x402Version": 2,
  "id": 39137,
  "slug": "39137",
  "resource": "https://api.magentlab.com/api/calc/gold_copd",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "fev1_fvc_ratio": 0.65,
                "fev1_percent_predicted": 85
              },
              {
                "fev1_fvc_ratio": 0.65,
                "fev1_percent_predicted": 85
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A",
                  "doi": "10.1183/13993003.00214-2017",
                  "id": "vogelmeier-2017",
                  "source": "Eur Respir J. 2017;49(3):1700214",
                  "title": "Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"
                },
                "components": [
                  {
                    "factor": "obstructed",
                    "met": true,
                    "value": 0.65
                  },
                  {
                    "factor": "gold_1",
                    "met": true,
                    "value": 85
                  },
                  {
                    "factor": "gold_2",
                    "met": false,
                    "value": 85
                  },
                  {
                    "factor": "gold_3",
                    "met": false,
                    "value": 85
                  },
                  {
                    "factor": "gold_4",
                    "met": false,
                    "value": 85
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "fev1_fvc_ratio": 0.65,
                "fev1_percent_predicted": 85,
                "formula": "gold_copd",
                "formula_expression": "If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)",
                "gold_grade": "1",
                "obstructed": true
              },
              {
                "citation": {
                  "authors": "Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A",
                  "doi": "10.1183/13993003.00214-2017",
                  "id": "vogelmeier-2017",
                  "source": "Eur Respir J. 2017;49(3):1700214",
                  "title": "Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"
                },
                "components": [
                  {
                    "factor": "obstructed",
                    "met": true,
                    "value": 0.65
                  },
                  {
                    "factor": "gold_1",
                    "met": true,
                    "value": 85
                  },
                  {
                    "factor": "gold_2",
                    "met": false,
                    "value": 85
                  },
                  {
                    "factor": "gold_3",
                    "met": false,
                    "value": 85
                  },
                  {
                    "factor": "gold_4",
                    "met": false,
                    "value": 85
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "fev1_fvc_ratio": 0.65,
                "fev1_percent_predicted": 85,
                "formula": "gold_copd",
                "formula_expression": "If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)",
                "gold_grade": "1",
                "obstructed": true
              }
            ],
            "path": "/api/calc/gold_copd"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "fev1_fvc_ratio": {
                          "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.",
                          "type": "number"
                        },
                        "fev1_percent_predicted": {
                          "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.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "fev1_percent_predicted",
                        "fev1_fvc_ratio"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "gold-copd",
    "copd",
    "spirometry",
    "respiratory",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T05:11:47.608Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T05:11:47.481Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "fev1_fvc_ratio": 0.65,
                  "fev1_percent_predicted": 85
                },
                {
                  "fev1_fvc_ratio": 0.65,
                  "fev1_percent_predicted": 85
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A",
                    "doi": "10.1183/13993003.00214-2017",
                    "id": "vogelmeier-2017",
                    "source": "Eur Respir J. 2017;49(3):1700214",
                    "title": "Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"
                  },
                  "components": [
                    {
                      "factor": "obstructed",
                      "met": true,
                      "value": 0.65
                    },
                    {
                      "factor": "gold_1",
                      "met": true,
                      "value": 85
                    },
                    {
                      "factor": "gold_2",
                      "met": false,
                      "value": 85
                    },
                    {
                      "factor": "gold_3",
                      "met": false,
                      "value": 85
                    },
                    {
                      "factor": "gold_4",
                      "met": false,
                      "value": 85
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "fev1_fvc_ratio": 0.65,
                  "fev1_percent_predicted": 85,
                  "formula": "gold_copd",
                  "formula_expression": "If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)",
                  "gold_grade": "1",
                  "obstructed": true
                },
                {
                  "citation": {
                    "authors": "Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A",
                    "doi": "10.1183/13993003.00214-2017",
                    "id": "vogelmeier-2017",
                    "source": "Eur Respir J. 2017;49(3):1700214",
                    "title": "Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"
                  },
                  "components": [
                    {
                      "factor": "obstructed",
                      "met": true,
                      "value": 0.65
                    },
                    {
                      "factor": "gold_1",
                      "met": true,
                      "value": 85
                    },
                    {
                      "factor": "gold_2",
                      "met": false,
                      "value": 85
                    },
                    {
                      "factor": "gold_3",
                      "met": false,
                      "value": 85
                    },
                    {
                      "factor": "gold_4",
                      "met": false,
                      "value": 85
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "fev1_fvc_ratio": 0.65,
                  "fev1_percent_predicted": 85,
                  "formula": "gold_copd",
                  "formula_expression": "If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)",
                  "gold_grade": "1",
                  "obstructed": true
                }
              ],
              "path": "/api/calc/gold_copd"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "fev1_fvc_ratio": {
                            "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.",
                            "type": "number"
                          },
                          "fev1_percent_predicted": {
                            "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.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "fev1_percent_predicted",
                          "fev1_fvc_ratio"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}