{
  "x402Version": 2,
  "id": 39149,
  "slug": "39149",
  "resource": "https://api.magentlab.com/api/calc/macocha",
  "description": "De Jong 2013 MACOCHA from seven caller-assigned flags: Mallampati III or IV (5), OSA (2), reduced cervical mobility (1), mouth opening <3 cm (1), coma (1), SpO2 <80% (1), non-anesthesiologist (1). Total 0-12 (0 easy, 12 very difficult); high_risk at >=3. Not an intubation order. magent does not examine the airway, compute GCS, or measure SpO2.",
  "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": [
              {
                "coma": false,
                "limited_mouth_opening": false,
                "mallampati_iii_iv": false,
                "non_anesthesiologist": false,
                "obstructive_sleep_apnea": false,
                "reduced_cervical_mobility": false,
                "severe_hypoxemia": false
              },
              {
                "coma": false,
                "limited_mouth_opening": false,
                "mallampati_iii_iv": false,
                "non_anesthesiologist": false,
                "obstructive_sleep_apnea": false,
                "reduced_cervical_mobility": false,
                "severe_hypoxemia": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.",
                  "doi": "10.1164/rccm.201210-1851OC",
                  "id": "de-jong-2013",
                  "pmid": "23348979",
                  "source": "Am J Respir Crit Care Med. 2013;187(8):832-839",
                  "title": "Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"
                },
                "components": [
                  {
                    "factor": "mallampati_iii_iv",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "obstructive_sleep_apnea",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "reduced_cervical_mobility",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "limited_mouth_opening",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "coma",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "severe_hypoxemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "non_anesthesiologist",
                    "points": 0,
                    "present": false
                  }
                ],
                "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": "macocha",
                "formula_expression": "MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3",
                "high_risk": false,
                "max_score": 12,
                "score": 0
              },
              {
                "citation": {
                  "authors": "De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.",
                  "doi": "10.1164/rccm.201210-1851OC",
                  "id": "de-jong-2013",
                  "pmid": "23348979",
                  "source": "Am J Respir Crit Care Med. 2013;187(8):832-839",
                  "title": "Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"
                },
                "components": [
                  {
                    "factor": "mallampati_iii_iv",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "obstructive_sleep_apnea",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "reduced_cervical_mobility",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "limited_mouth_opening",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "coma",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "severe_hypoxemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "non_anesthesiologist",
                    "points": 0,
                    "present": false
                  }
                ],
                "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": "macocha",
                "formula_expression": "MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3",
                "high_risk": false,
                "max_score": 12,
                "score": 0
              }
            ],
            "path": "/api/calc/macocha"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "coma": {
                          "description": "Coma as assigned by the caller (De Jong 2013 Table 1 pathology item; typically GCS <8 in that derivation). true or false. magent does not take raw GCS or compute GCS.",
                          "type": "boolean"
                        },
                        "limited_mouth_opening": {
                          "description": "Limited mouth opening <3 cm as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure mouth opening.",
                          "type": "boolean"
                        },
                        "mallampati_iii_iv": {
                          "description": "Mallampati class III or IV as assigned by the caller (De Jong 2013 Table 1). true or false. Not a 1-4 Mallampati integer. magent does not examine the airway.",
                          "type": "boolean"
                        },
                        "non_anesthesiologist": {
                          "description": "Non-anesthesiologist operator as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not identify the operator.",
                          "type": "boolean"
                        },
                        "obstructive_sleep_apnea": {
                          "description": "Obstructive sleep apnea syndrome as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not diagnose sleep apnea.",
                          "type": "boolean"
                        },
                        "reduced_cervical_mobility": {
                          "description": "Reduced mobility of the cervical spine as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not examine the neck.",
                          "type": "boolean"
                        },
                        "severe_hypoxemia": {
                          "description": "Severe hypoxemia (SpO2 <80%) as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure SpO2.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "mallampati_iii_iv",
                        "obstructive_sleep_apnea",
                        "reduced_cervical_mobility",
                        "limited_mouth_opening",
                        "coma",
                        "severe_hypoxemia",
                        "non_anesthesiologist"
                      ],
                      "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": [
    "macocha",
    "airway",
    "intubation",
    "icu",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T04:51:41.056Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T04:51:40.315Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "coma": false,
                  "limited_mouth_opening": false,
                  "mallampati_iii_iv": false,
                  "non_anesthesiologist": false,
                  "obstructive_sleep_apnea": false,
                  "reduced_cervical_mobility": false,
                  "severe_hypoxemia": false
                },
                {
                  "coma": false,
                  "limited_mouth_opening": false,
                  "mallampati_iii_iv": false,
                  "non_anesthesiologist": false,
                  "obstructive_sleep_apnea": false,
                  "reduced_cervical_mobility": false,
                  "severe_hypoxemia": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.",
                    "doi": "10.1164/rccm.201210-1851OC",
                    "id": "de-jong-2013",
                    "pmid": "23348979",
                    "source": "Am J Respir Crit Care Med. 2013;187(8):832-839",
                    "title": "Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"
                  },
                  "components": [
                    {
                      "factor": "mallampati_iii_iv",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "obstructive_sleep_apnea",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "reduced_cervical_mobility",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "limited_mouth_opening",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "coma",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "severe_hypoxemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "non_anesthesiologist",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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": "macocha",
                  "formula_expression": "MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3",
                  "high_risk": false,
                  "max_score": 12,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.",
                    "doi": "10.1164/rccm.201210-1851OC",
                    "id": "de-jong-2013",
                    "pmid": "23348979",
                    "source": "Am J Respir Crit Care Med. 2013;187(8):832-839",
                    "title": "Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"
                  },
                  "components": [
                    {
                      "factor": "mallampati_iii_iv",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "obstructive_sleep_apnea",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "reduced_cervical_mobility",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "limited_mouth_opening",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "coma",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "severe_hypoxemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "non_anesthesiologist",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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": "macocha",
                  "formula_expression": "MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3",
                  "high_risk": false,
                  "max_score": 12,
                  "score": 0
                }
              ],
              "path": "/api/calc/macocha"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "coma": {
                            "description": "Coma as assigned by the caller (De Jong 2013 Table 1 pathology item; typically GCS <8 in that derivation). true or false. magent does not take raw GCS or compute GCS.",
                            "type": "boolean"
                          },
                          "limited_mouth_opening": {
                            "description": "Limited mouth opening <3 cm as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure mouth opening.",
                            "type": "boolean"
                          },
                          "mallampati_iii_iv": {
                            "description": "Mallampati class III or IV as assigned by the caller (De Jong 2013 Table 1). true or false. Not a 1-4 Mallampati integer. magent does not examine the airway.",
                            "type": "boolean"
                          },
                          "non_anesthesiologist": {
                            "description": "Non-anesthesiologist operator as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not identify the operator.",
                            "type": "boolean"
                          },
                          "obstructive_sleep_apnea": {
                            "description": "Obstructive sleep apnea syndrome as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not diagnose sleep apnea.",
                            "type": "boolean"
                          },
                          "reduced_cervical_mobility": {
                            "description": "Reduced mobility of the cervical spine as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not examine the neck.",
                            "type": "boolean"
                          },
                          "severe_hypoxemia": {
                            "description": "Severe hypoxemia (SpO2 <80%) as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure SpO2.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "mallampati_iii_iv",
                          "obstructive_sleep_apnea",
                          "reduced_cervical_mobility",
                          "limited_mouth_opening",
                          "coma",
                          "severe_hypoxemia",
                          "non_anesthesiologist"
                        ],
                        "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"
  }
}