{
  "x402Version": 2,
  "id": 39546,
  "slug": "39546",
  "resource": "https://api.magentlab.com/api/calc/smart_cop",
  "description": "Charles 2008 SMART-COP for intensive respiratory or vasopressor support in community-acquired pneumonia: SBP <90 (2), multilobar CXR (1), albumin <3.5 g/dL (1), age-adjusted RR (1), HR >=125 (1), new confusion (1), age-adjusted low oxygen (2), arterial pH <7.35 (2; omitted pH scores 0). Max 11. IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high. Not a site-of-care protocol. Albumin g/dL or g/L. Exactly one of PaO2, SpO2, or P/F.",
  "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": [
              {
                "age": 40,
                "albumin_g_dl": 4,
                "albumin_g_l": 40,
                "arterial_ph": 7.4,
                "confusion": false,
                "heart_rate_bpm": 80,
                "multilobar_cxr": false,
                "pao2_mm_hg": 90,
                "pf_ratio": 400,
                "respiratory_rate": 16,
                "spo2_percent": 98,
                "systolic_mm_hg": 120
              },
              {
                "age": 40,
                "albumin_g_dl": 4,
                "albumin_g_l": 40,
                "arterial_ph": 7.4,
                "confusion": false,
                "heart_rate_bpm": 80,
                "multilobar_cxr": false,
                "pao2_mm_hg": 90,
                "pf_ratio": 400,
                "respiratory_rate": 16,
                "spo2_percent": 98,
                "systolic_mm_hg": 120
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "albumin_g_dl": 4,
                "arterial_ph": 7.4,
                "citation": {
                  "authors": "Charles PGP, Wolfe R, Whitby M, et al.",
                  "doi": "10.1086/589754",
                  "id": "charles-2008",
                  "pmid": "18558884",
                  "source": "Clin Infect Dis. 2008;47(3):375-384",
                  "title": "SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"
                },
                "components": [
                  {
                    "factor": "systolic_lt_90",
                    "points": 0,
                    "present": false,
                    "value": 120
                  },
                  {
                    "factor": "multilobar_cxr",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "albumin_lt_3_5",
                    "points": 0,
                    "present": false,
                    "value": 4
                  },
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": false,
                    "value": 16
                  },
                  {
                    "factor": "heart_rate_ge_125",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "confusion",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "oxygen_low",
                    "input": "spo2_percent",
                    "points": 0,
                    "present": false,
                    "value": 98
                  },
                  {
                    "factor": "arterial_ph_lt_7_35",
                    "points": 0,
                    "present": false,
                    "value": 7.4
                  }
                ],
                "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.",
                "formula": "smart_cop",
                "formula_expression": "SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high",
                "heart_rate_bpm": 80,
                "irvs_risk": "low",
                "max_score": 11,
                "respiratory_rate": 16,
                "score": 0,
                "spo2_percent": 98,
                "systolic_mm_hg": 120
              },
              {
                "age_years": 40,
                "albumin_g_dl": 4,
                "arterial_ph": 7.4,
                "citation": {
                  "authors": "Charles PGP, Wolfe R, Whitby M, et al.",
                  "doi": "10.1086/589754",
                  "id": "charles-2008",
                  "pmid": "18558884",
                  "source": "Clin Infect Dis. 2008;47(3):375-384",
                  "title": "SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"
                },
                "components": [
                  {
                    "factor": "systolic_lt_90",
                    "points": 0,
                    "present": false,
                    "value": 120
                  },
                  {
                    "factor": "multilobar_cxr",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "albumin_lt_3_5",
                    "points": 0,
                    "present": false,
                    "value": 4
                  },
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": false,
                    "value": 16
                  },
                  {
                    "factor": "heart_rate_ge_125",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "confusion",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "oxygen_low",
                    "input": "spo2_percent",
                    "points": 0,
                    "present": false,
                    "value": 98
                  },
                  {
                    "factor": "arterial_ph_lt_7_35",
                    "points": 0,
                    "present": false,
                    "value": 7.4
                  }
                ],
                "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.",
                "formula": "smart_cop",
                "formula_expression": "SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high",
                "heart_rate_bpm": 80,
                "irvs_risk": "low",
                "max_score": 11,
                "respiratory_rate": 16,
                "score": 0,
                "spo2_percent": 98,
                "systolic_mm_hg": 120
              }
            ],
            "path": "/api/calc/smart_cop"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (18-120). Age ≤50 uses RR ≥25, PaO2 <70, SpO2 ≤93%, P/F <333. Age >50 uses RR ≥30, PaO2 <60, SpO2 ≤90%, P/F <250.",
                          "type": "integer"
                        },
                        "albumin_g_dl": {
                          "description": "Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when <3.5; 3.5 does not score (Charles 2008 A).",
                          "type": "number"
                        },
                        "albumin_g_l": {
                          "description": "Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both. Scores 1 when <35 g/L.",
                          "type": "number"
                        },
                        "arterial_ph": {
                          "description": "Arterial pH (6.80-7.80). Optional. Scores 2 when <7.35; 7.35 does not score. Omitted pH scores 0 (Charles 2008 missing-pH assumption).",
                          "type": "number"
                        },
                        "confusion": {
                          "description": "New or acute confusion as assigned by the caller (Charles 2008 C). true or false. 1 point if true. magent does not assess mental status.",
                          "type": "boolean"
                        },
                        "heart_rate_bpm": {
                          "description": "Heart rate in beats per minute (integer 30-220). Scores 1 when ≥125; 124 does not score (Charles 2008 T).",
                          "type": "integer"
                        },
                        "multilobar_cxr": {
                          "description": "Multilobar involvement on chest radiograph as assigned by the caller (Charles 2008 M). true or false. 1 point if true. magent does not interpret radiographs.",
                          "type": "boolean"
                        },
                        "pao2_mm_hg": {
                          "description": "Arterial PaO2 in mm Hg (20-700). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <70 scores 2. Age >50: <60 scores 2.",
                          "type": "number"
                        },
                        "pf_ratio": {
                          "description": "PaO2/FiO2 ratio (20-800). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <333 scores 2. Age >50: <250 scores 2.",
                          "type": "number"
                        },
                        "respiratory_rate": {
                          "description": "Respiratory rate in breaths/min (integer 4-80). Age ≤50: ≥25 scores 1 (24 does not). Age >50: ≥30 scores 1 (29 does not). Charles 2008 R.",
                          "type": "integer"
                        },
                        "spo2_percent": {
                          "description": "Oxygen saturation percent (50-100). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: ≤93 scores 2. Age >50: ≤90 scores 2.",
                          "type": "number"
                        },
                        "systolic_mm_hg": {
                          "description": "Systolic blood pressure in mm Hg (50-250). Scores 2 when <90; 90 does not score (Charles 2008 S).",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "systolic_mm_hg",
                        "multilobar_cxr",
                        "respiratory_rate",
                        "heart_rate_bpm",
                        "confusion"
                      ],
                      "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": [
    "smart-cop",
    "pneumonia",
    "cap",
    "irvs",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:11:08.115Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T14:11:07.954Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "albumin_g_dl": 4,
                  "albumin_g_l": 40,
                  "arterial_ph": 7.4,
                  "confusion": false,
                  "heart_rate_bpm": 80,
                  "multilobar_cxr": false,
                  "pao2_mm_hg": 90,
                  "pf_ratio": 400,
                  "respiratory_rate": 16,
                  "spo2_percent": 98,
                  "systolic_mm_hg": 120
                },
                {
                  "age": 40,
                  "albumin_g_dl": 4,
                  "albumin_g_l": 40,
                  "arterial_ph": 7.4,
                  "confusion": false,
                  "heart_rate_bpm": 80,
                  "multilobar_cxr": false,
                  "pao2_mm_hg": 90,
                  "pf_ratio": 400,
                  "respiratory_rate": 16,
                  "spo2_percent": 98,
                  "systolic_mm_hg": 120
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "albumin_g_dl": 4,
                  "arterial_ph": 7.4,
                  "citation": {
                    "authors": "Charles PGP, Wolfe R, Whitby M, et al.",
                    "doi": "10.1086/589754",
                    "id": "charles-2008",
                    "pmid": "18558884",
                    "source": "Clin Infect Dis. 2008;47(3):375-384",
                    "title": "SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"
                  },
                  "components": [
                    {
                      "factor": "systolic_lt_90",
                      "points": 0,
                      "present": false,
                      "value": 120
                    },
                    {
                      "factor": "multilobar_cxr",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "albumin_lt_3_5",
                      "points": 0,
                      "present": false,
                      "value": 4
                    },
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": false,
                      "value": 16
                    },
                    {
                      "factor": "heart_rate_ge_125",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "confusion",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "oxygen_low",
                      "input": "spo2_percent",
                      "points": 0,
                      "present": false,
                      "value": 98
                    },
                    {
                      "factor": "arterial_ph_lt_7_35",
                      "points": 0,
                      "present": false,
                      "value": 7.4
                    }
                  ],
                  "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.",
                  "formula": "smart_cop",
                  "formula_expression": "SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high",
                  "heart_rate_bpm": 80,
                  "irvs_risk": "low",
                  "max_score": 11,
                  "respiratory_rate": 16,
                  "score": 0,
                  "spo2_percent": 98,
                  "systolic_mm_hg": 120
                },
                {
                  "age_years": 40,
                  "albumin_g_dl": 4,
                  "arterial_ph": 7.4,
                  "citation": {
                    "authors": "Charles PGP, Wolfe R, Whitby M, et al.",
                    "doi": "10.1086/589754",
                    "id": "charles-2008",
                    "pmid": "18558884",
                    "source": "Clin Infect Dis. 2008;47(3):375-384",
                    "title": "SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"
                  },
                  "components": [
                    {
                      "factor": "systolic_lt_90",
                      "points": 0,
                      "present": false,
                      "value": 120
                    },
                    {
                      "factor": "multilobar_cxr",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "albumin_lt_3_5",
                      "points": 0,
                      "present": false,
                      "value": 4
                    },
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": false,
                      "value": 16
                    },
                    {
                      "factor": "heart_rate_ge_125",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "confusion",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "oxygen_low",
                      "input": "spo2_percent",
                      "points": 0,
                      "present": false,
                      "value": 98
                    },
                    {
                      "factor": "arterial_ph_lt_7_35",
                      "points": 0,
                      "present": false,
                      "value": 7.4
                    }
                  ],
                  "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.",
                  "formula": "smart_cop",
                  "formula_expression": "SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high",
                  "heart_rate_bpm": 80,
                  "irvs_risk": "low",
                  "max_score": 11,
                  "respiratory_rate": 16,
                  "score": 0,
                  "spo2_percent": 98,
                  "systolic_mm_hg": 120
                }
              ],
              "path": "/api/calc/smart_cop"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (18-120). Age ≤50 uses RR ≥25, PaO2 <70, SpO2 ≤93%, P/F <333. Age >50 uses RR ≥30, PaO2 <60, SpO2 ≤90%, P/F <250.",
                            "type": "integer"
                          },
                          "albumin_g_dl": {
                            "description": "Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when <3.5; 3.5 does not score (Charles 2008 A).",
                            "type": "number"
                          },
                          "albumin_g_l": {
                            "description": "Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both. Scores 1 when <35 g/L.",
                            "type": "number"
                          },
                          "arterial_ph": {
                            "description": "Arterial pH (6.80-7.80). Optional. Scores 2 when <7.35; 7.35 does not score. Omitted pH scores 0 (Charles 2008 missing-pH assumption).",
                            "type": "number"
                          },
                          "confusion": {
                            "description": "New or acute confusion as assigned by the caller (Charles 2008 C). true or false. 1 point if true. magent does not assess mental status.",
                            "type": "boolean"
                          },
                          "heart_rate_bpm": {
                            "description": "Heart rate in beats per minute (integer 30-220). Scores 1 when ≥125; 124 does not score (Charles 2008 T).",
                            "type": "integer"
                          },
                          "multilobar_cxr": {
                            "description": "Multilobar involvement on chest radiograph as assigned by the caller (Charles 2008 M). true or false. 1 point if true. magent does not interpret radiographs.",
                            "type": "boolean"
                          },
                          "pao2_mm_hg": {
                            "description": "Arterial PaO2 in mm Hg (20-700). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <70 scores 2. Age >50: <60 scores 2.",
                            "type": "number"
                          },
                          "pf_ratio": {
                            "description": "PaO2/FiO2 ratio (20-800). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <333 scores 2. Age >50: <250 scores 2.",
                            "type": "number"
                          },
                          "respiratory_rate": {
                            "description": "Respiratory rate in breaths/min (integer 4-80). Age ≤50: ≥25 scores 1 (24 does not). Age >50: ≥30 scores 1 (29 does not). Charles 2008 R.",
                            "type": "integer"
                          },
                          "spo2_percent": {
                            "description": "Oxygen saturation percent (50-100). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: ≤93 scores 2. Age >50: ≤90 scores 2.",
                            "type": "number"
                          },
                          "systolic_mm_hg": {
                            "description": "Systolic blood pressure in mm Hg (50-250). Scores 2 when <90; 90 does not score (Charles 2008 S).",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "systolic_mm_hg",
                          "multilobar_cxr",
                          "respiratory_rate",
                          "heart_rate_bpm",
                          "confusion"
                        ],
                        "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"
  }
}