{
  "x402Version": 2,
  "id": 39544,
  "slug": "39544",
  "resource": "https://api.magentlab.com/api/calc/4c",
  "description": "Knight 2020 ISARIC 4C Mortality Score: age (<50→0, 50–59→2, 60–69→4, 70–79→6, ≥80→7) + male 1 + comorbidity_count (0/1/≥2 → 0/1/2; caller-assigned Charlson-plus-obesity count) + RR (<20→0, 20–29→1, ≥30→2) + room-air SpO2 (<92→2) + GCS (<15→2) + urea (<7→0, 7–14→1, >14→3 mmol/L; or BUN/2.8) + CRP (<50→0, 50–99→1, ≥100→2). Max 21. Table 5: low 0–3, intermediate 4–8, high 9–14, very high ≥15. Not a COVID-19 diagnosis or treatment order.",
  "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,
                "bun_mg_dl": 14,
                "comorbidity_count": 0,
                "crp_mg_l": 10,
                "gcs": 15,
                "respiratory_rate": 16,
                "sex": "female",
                "spo2_percent": 98,
                "urea_mmol_l": 5
              },
              {
                "age": 40,
                "bun_mg_dl": 14,
                "comorbidity_count": 0,
                "crp_mg_l": 10,
                "gcs": 15,
                "respiratory_rate": 16,
                "sex": "female",
                "spo2_percent": 98,
                "urea_mmol_l": 5
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "citation": {
                  "authors": "Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators",
                  "doi": "10.1136/bmj.m3339",
                  "id": "knight-2020",
                  "pmid": "32907855",
                  "source": "BMJ. 2020;370:m3339",
                  "title": "Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"
                },
                "comorbidity_count": 0,
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "sex",
                    "points": 0,
                    "present": false,
                    "value": "female"
                  },
                  {
                    "factor": "comorbidity_count",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": false,
                    "value": 16
                  },
                  {
                    "factor": "spo2_percent",
                    "points": 0,
                    "present": false,
                    "value": 98
                  },
                  {
                    "factor": "gcs",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "urea",
                    "points": 0,
                    "present": false,
                    "value": 5
                  },
                  {
                    "factor": "crp_mg_l",
                    "points": 0,
                    "present": false,
                    "value": 10
                  }
                ],
                "crp_mg_l": 10,
                "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": "4c",
                "formula_expression": "4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15",
                "four_c_band": "low",
                "gcs": 15,
                "max_score": 21,
                "respiratory_rate": 16,
                "score": 0,
                "sex": "female",
                "spo2_percent": 98,
                "urea_mmol_l": 5
              },
              {
                "age_years": 40,
                "citation": {
                  "authors": "Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators",
                  "doi": "10.1136/bmj.m3339",
                  "id": "knight-2020",
                  "pmid": "32907855",
                  "source": "BMJ. 2020;370:m3339",
                  "title": "Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"
                },
                "comorbidity_count": 0,
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "sex",
                    "points": 0,
                    "present": false,
                    "value": "female"
                  },
                  {
                    "factor": "comorbidity_count",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": false,
                    "value": 16
                  },
                  {
                    "factor": "spo2_percent",
                    "points": 0,
                    "present": false,
                    "value": 98
                  },
                  {
                    "factor": "gcs",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "urea",
                    "points": 0,
                    "present": false,
                    "value": 5
                  },
                  {
                    "factor": "crp_mg_l",
                    "points": 0,
                    "present": false,
                    "value": 10
                  }
                ],
                "crp_mg_l": 10,
                "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": "4c",
                "formula_expression": "4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15",
                "four_c_band": "low",
                "gcs": 15,
                "max_score": 21,
                "respiratory_rate": 16,
                "score": 0,
                "sex": "female",
                "spo2_percent": 98,
                "urea_mmol_l": 5
              }
            ],
            "path": "/api/calc/4c"
          },
          "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). Knight 2020 Table 2: <50 scores 0; 50–59 scores 2; 60–69 scores 4; 70–79 scores 6; ≥80 scores 7.",
                          "type": "integer"
                        },
                        "bun_mg_dl": {
                          "description": "BUN in mg/dL (3–140). Converted as urea_mmol_l = bun_mg_dl / 2.8.",
                          "type": "number"
                        },
                        "comorbidity_count": {
                          "description": "Caller-assigned count of Charlson-plus-obesity comorbidities from Knight 2020 (integer 0–20). 0 scores 0; 1 scores 1; ≥2 scores 2. magent does not compute Charlson.",
                          "type": "integer"
                        },
                        "crp_mg_l": {
                          "description": "C-reactive protein in mg/L (0–500). Knight 2020: <50 scores 0; 50–99 scores 1; ≥100 scores 2.",
                          "type": "number"
                        },
                        "gcs": {
                          "description": "Caller-assigned total GCS as an integer 3–15. 15 scores 0; <15 scores 2 (Knight 2020). This API does not collect eye, verbal, or motor components.",
                          "type": "integer"
                        },
                        "respiratory_rate": {
                          "description": "Respiratory rate in breaths/min (integer 4–80). Knight 2020: <20 scores 0; 20–29 scores 1; ≥30 scores 2. magent does not measure vitals.",
                          "type": "integer"
                        },
                        "sex": {
                          "description": "Sex at birth (Knight 2020). female scores 0; male scores 1.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        },
                        "spo2_percent": {
                          "description": "Room-air SpO2 percent (50–100). Knight 2020: ≥92 scores 0; <92 scores 2. magent does not measure saturation.",
                          "type": "number"
                        },
                        "urea_mmol_l": {
                          "description": "Serum urea in mmol/L (1–50). Provide this or bun_mg_dl, not both. Knight 2020: <7 scores 0; 7–14 inclusive scores 1; >14 scores 3.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "sex",
                        "comorbidity_count",
                        "respiratory_rate",
                        "spo2_percent",
                        "gcs",
                        "crp_mg_l"
                      ],
                      "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": [
    "4c",
    "covid-19",
    "mortality",
    "isaric",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:13:03.447Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T14:13:03.29Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "bun_mg_dl": 14,
                  "comorbidity_count": 0,
                  "crp_mg_l": 10,
                  "gcs": 15,
                  "respiratory_rate": 16,
                  "sex": "female",
                  "spo2_percent": 98,
                  "urea_mmol_l": 5
                },
                {
                  "age": 40,
                  "bun_mg_dl": 14,
                  "comorbidity_count": 0,
                  "crp_mg_l": 10,
                  "gcs": 15,
                  "respiratory_rate": 16,
                  "sex": "female",
                  "spo2_percent": 98,
                  "urea_mmol_l": 5
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators",
                    "doi": "10.1136/bmj.m3339",
                    "id": "knight-2020",
                    "pmid": "32907855",
                    "source": "BMJ. 2020;370:m3339",
                    "title": "Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"
                  },
                  "comorbidity_count": 0,
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "sex",
                      "points": 0,
                      "present": false,
                      "value": "female"
                    },
                    {
                      "factor": "comorbidity_count",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": false,
                      "value": 16
                    },
                    {
                      "factor": "spo2_percent",
                      "points": 0,
                      "present": false,
                      "value": 98
                    },
                    {
                      "factor": "gcs",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "urea",
                      "points": 0,
                      "present": false,
                      "value": 5
                    },
                    {
                      "factor": "crp_mg_l",
                      "points": 0,
                      "present": false,
                      "value": 10
                    }
                  ],
                  "crp_mg_l": 10,
                  "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": "4c",
                  "formula_expression": "4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15",
                  "four_c_band": "low",
                  "gcs": 15,
                  "max_score": 21,
                  "respiratory_rate": 16,
                  "score": 0,
                  "sex": "female",
                  "spo2_percent": 98,
                  "urea_mmol_l": 5
                },
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators",
                    "doi": "10.1136/bmj.m3339",
                    "id": "knight-2020",
                    "pmid": "32907855",
                    "source": "BMJ. 2020;370:m3339",
                    "title": "Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"
                  },
                  "comorbidity_count": 0,
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "sex",
                      "points": 0,
                      "present": false,
                      "value": "female"
                    },
                    {
                      "factor": "comorbidity_count",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": false,
                      "value": 16
                    },
                    {
                      "factor": "spo2_percent",
                      "points": 0,
                      "present": false,
                      "value": 98
                    },
                    {
                      "factor": "gcs",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "urea",
                      "points": 0,
                      "present": false,
                      "value": 5
                    },
                    {
                      "factor": "crp_mg_l",
                      "points": 0,
                      "present": false,
                      "value": 10
                    }
                  ],
                  "crp_mg_l": 10,
                  "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": "4c",
                  "formula_expression": "4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15",
                  "four_c_band": "low",
                  "gcs": 15,
                  "max_score": 21,
                  "respiratory_rate": 16,
                  "score": 0,
                  "sex": "female",
                  "spo2_percent": 98,
                  "urea_mmol_l": 5
                }
              ],
              "path": "/api/calc/4c"
            },
            "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). Knight 2020 Table 2: <50 scores 0; 50–59 scores 2; 60–69 scores 4; 70–79 scores 6; ≥80 scores 7.",
                            "type": "integer"
                          },
                          "bun_mg_dl": {
                            "description": "BUN in mg/dL (3–140). Converted as urea_mmol_l = bun_mg_dl / 2.8.",
                            "type": "number"
                          },
                          "comorbidity_count": {
                            "description": "Caller-assigned count of Charlson-plus-obesity comorbidities from Knight 2020 (integer 0–20). 0 scores 0; 1 scores 1; ≥2 scores 2. magent does not compute Charlson.",
                            "type": "integer"
                          },
                          "crp_mg_l": {
                            "description": "C-reactive protein in mg/L (0–500). Knight 2020: <50 scores 0; 50–99 scores 1; ≥100 scores 2.",
                            "type": "number"
                          },
                          "gcs": {
                            "description": "Caller-assigned total GCS as an integer 3–15. 15 scores 0; <15 scores 2 (Knight 2020). This API does not collect eye, verbal, or motor components.",
                            "type": "integer"
                          },
                          "respiratory_rate": {
                            "description": "Respiratory rate in breaths/min (integer 4–80). Knight 2020: <20 scores 0; 20–29 scores 1; ≥30 scores 2. magent does not measure vitals.",
                            "type": "integer"
                          },
                          "sex": {
                            "description": "Sex at birth (Knight 2020). female scores 0; male scores 1.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          },
                          "spo2_percent": {
                            "description": "Room-air SpO2 percent (50–100). Knight 2020: ≥92 scores 0; <92 scores 2. magent does not measure saturation.",
                            "type": "number"
                          },
                          "urea_mmol_l": {
                            "description": "Serum urea in mmol/L (1–50). Provide this or bun_mg_dl, not both. Knight 2020: <7 scores 0; 7–14 inclusive scores 1; >14 scores 3.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "sex",
                          "comorbidity_count",
                          "respiratory_rate",
                          "spo2_percent",
                          "gcs",
                          "crp_mg_l"
                        ],
                        "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"
  }
}