{
  "x402Version": 2,
  "id": 39009,
  "slug": "39009",
  "resource": "https://api.magentlab.com/api/calc/news2",
  "description": "NEWS2 from RCP 2017 Chart 1: respiratory rate, SpO2 on caller-assigned Scale 1 or Scale 2, supplemental oxygen, temperature (C), systolic BP, heart rate, and caller-assigned ACVPU (alert 0; confusion, voice, pain, or unresponsive 3 each) summed to 0-20. Returns Chart 2 clinical_risk (low / low-medium / medium / high) and red_score. Not NEWS 2012; not an ICU-admission 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": [
              {
                "acvpu": "alert",
                "heart_rate_bpm": 70,
                "respiratory_rate": 16,
                "spo2_percent": 98,
                "spo2_scale": 1,
                "supplemental_oxygen": false,
                "systolic_mm_hg": 120,
                "temperature_c": 37
              },
              {
                "acvpu": "alert",
                "heart_rate_bpm": 70,
                "respiratory_rate": 16,
                "spo2_percent": 98,
                "spo2_scale": 1,
                "supplemental_oxygen": false,
                "systolic_mm_hg": 120,
                "temperature_c": 37
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "acvpu": "alert",
                "citation": {
                  "authors": "Royal College of Physicians",
                  "id": "rcp-news2-2017",
                  "source": "London: RCP; 2017. ISBN 978-1-86016-682-2",
                  "title": "National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"
                },
                "clinical_risk": "low",
                "components": [
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": false,
                    "value": 16
                  },
                  {
                    "factor": "spo2_percent",
                    "points": 0,
                    "present": false,
                    "value": 98
                  },
                  {
                    "factor": "supplemental_oxygen",
                    "points": 0,
                    "present": false,
                    "value": false
                  },
                  {
                    "factor": "temperature_c",
                    "points": 0,
                    "present": false,
                    "value": 37
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 120
                  },
                  {
                    "factor": "heart_rate_bpm",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "acvpu",
                    "points": 0,
                    "present": false,
                    "value": "alert"
                  }
                ],
                "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": "news2",
                "formula_expression": "NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20",
                "heart_rate_bpm": 70,
                "max_score": 20,
                "red_score": false,
                "respiratory_rate": 16,
                "score": 0,
                "spo2_percent": 98,
                "spo2_scale": 1,
                "supplemental_oxygen": false,
                "systolic_mm_hg": 120,
                "temperature_c": 37
              },
              {
                "acvpu": "alert",
                "citation": {
                  "authors": "Royal College of Physicians",
                  "id": "rcp-news2-2017",
                  "source": "London: RCP; 2017. ISBN 978-1-86016-682-2",
                  "title": "National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"
                },
                "clinical_risk": "low",
                "components": [
                  {
                    "factor": "respiratory_rate",
                    "points": 0,
                    "present": false,
                    "value": 16
                  },
                  {
                    "factor": "spo2_percent",
                    "points": 0,
                    "present": false,
                    "value": 98
                  },
                  {
                    "factor": "supplemental_oxygen",
                    "points": 0,
                    "present": false,
                    "value": false
                  },
                  {
                    "factor": "temperature_c",
                    "points": 0,
                    "present": false,
                    "value": 37
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 120
                  },
                  {
                    "factor": "heart_rate_bpm",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "acvpu",
                    "points": 0,
                    "present": false,
                    "value": "alert"
                  }
                ],
                "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": "news2",
                "formula_expression": "NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20",
                "heart_rate_bpm": 70,
                "max_score": 20,
                "red_score": false,
                "respiratory_rate": 16,
                "score": 0,
                "spo2_percent": 98,
                "spo2_scale": 1,
                "supplemental_oxygen": false,
                "systolic_mm_hg": 120,
                "temperature_c": 37
              }
            ],
            "path": "/api/calc/news2"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "acvpu": {
                          "description": "Caller-assigned ACVPU (alert, confusion, voice, pain, or unresponsive). RCP NEWS2 2017 Chart 1: alert → 0; confusion, voice, pain, or unresponsive → 3 each. magent does not compute GCS here.",
                          "enum": [
                            "alert",
                            "confusion",
                            "voice",
                            "pain",
                            "unresponsive"
                          ],
                          "type": "string"
                        },
                        "heart_rate_bpm": {
                          "description": "Heart rate in beats/min (integer 30-220). RCP NEWS2 2017 Chart 1: ≤40 → 3, 41-50 → 1, 51-90 → 0, 91-110 → 1, 111-130 → 2, ≥131 → 3.",
                          "type": "integer"
                        },
                        "respiratory_rate": {
                          "description": "Respiratory rate in breaths/min (integer 0-80). RCP NEWS2 2017 Chart 1: ≤8 → 3, 9-11 → 1, 12-20 → 0, 21-24 → 2, ≥25 → 3.",
                          "type": "integer"
                        },
                        "spo2_percent": {
                          "description": "Oxygen saturation percent (50-100). Scale 1: ≤91 → 3, 92-93 → 2, 94-95 → 1, ≥96 → 0. Scale 2: ≤83 → 3, 84-85 → 2, 86-87 → 1, 88-92 → 0; ≥93 on air → 0; 93-94 on oxygen → 1, 95-96 on oxygen → 2, ≥97 on oxygen → 3.",
                          "type": "number"
                        },
                        "spo2_scale": {
                          "description": "Caller-assigned SpO2 scale (1 or 2). Scale 1 is the usual target. Scale 2 is only for a prescribed 88-92% target in confirmed hypercapnic respiratory failure. magent does not choose the scale.",
                          "enum": [
                            1,
                            2
                          ],
                          "type": "integer"
                        },
                        "supplemental_oxygen": {
                          "description": "Any supplemental oxygen as assigned by the caller (true or false). RCP NEWS2 2017 Chart 1: true → 2, false → 0. On Scale 2 this also selects air vs oxygen SpO2 bands at ≥93%.",
                          "type": "boolean"
                        },
                        "systolic_mm_hg": {
                          "description": "Systolic blood pressure in mm Hg (integer 0-300). RCP NEWS2 2017 Chart 1: ≤90 → 3, 91-100 → 2, 101-110 → 1, 111-219 → 0, ≥220 → 3.",
                          "type": "integer"
                        },
                        "temperature_c": {
                          "description": "Temperature in °C (30.0-45.0). RCP NEWS2 2017 Chart 1: ≤35.0 → 3, 35.1-36.0 → 1, 36.1-38.0 → 0, 38.1-39.0 → 1, ≥39.1 → 2. magent does not convert Fahrenheit.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "systolic_mm_hg",
                        "heart_rate_bpm",
                        "respiratory_rate",
                        "temperature_c",
                        "spo2_percent",
                        "spo2_scale",
                        "supplemental_oxygen",
                        "acvpu"
                      ],
                      "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": [
    "news2",
    "early-warning",
    "emergency",
    "acvpu",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T09:41:09.494Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T09:41:09.355Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "acvpu": "alert",
                  "heart_rate_bpm": 70,
                  "respiratory_rate": 16,
                  "spo2_percent": 98,
                  "spo2_scale": 1,
                  "supplemental_oxygen": false,
                  "systolic_mm_hg": 120,
                  "temperature_c": 37
                },
                {
                  "acvpu": "alert",
                  "heart_rate_bpm": 70,
                  "respiratory_rate": 16,
                  "spo2_percent": 98,
                  "spo2_scale": 1,
                  "supplemental_oxygen": false,
                  "systolic_mm_hg": 120,
                  "temperature_c": 37
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "acvpu": "alert",
                  "citation": {
                    "authors": "Royal College of Physicians",
                    "id": "rcp-news2-2017",
                    "source": "London: RCP; 2017. ISBN 978-1-86016-682-2",
                    "title": "National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"
                  },
                  "clinical_risk": "low",
                  "components": [
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": false,
                      "value": 16
                    },
                    {
                      "factor": "spo2_percent",
                      "points": 0,
                      "present": false,
                      "value": 98
                    },
                    {
                      "factor": "supplemental_oxygen",
                      "points": 0,
                      "present": false,
                      "value": false
                    },
                    {
                      "factor": "temperature_c",
                      "points": 0,
                      "present": false,
                      "value": 37
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 120
                    },
                    {
                      "factor": "heart_rate_bpm",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "acvpu",
                      "points": 0,
                      "present": false,
                      "value": "alert"
                    }
                  ],
                  "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": "news2",
                  "formula_expression": "NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20",
                  "heart_rate_bpm": 70,
                  "max_score": 20,
                  "red_score": false,
                  "respiratory_rate": 16,
                  "score": 0,
                  "spo2_percent": 98,
                  "spo2_scale": 1,
                  "supplemental_oxygen": false,
                  "systolic_mm_hg": 120,
                  "temperature_c": 37
                },
                {
                  "acvpu": "alert",
                  "citation": {
                    "authors": "Royal College of Physicians",
                    "id": "rcp-news2-2017",
                    "source": "London: RCP; 2017. ISBN 978-1-86016-682-2",
                    "title": "National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"
                  },
                  "clinical_risk": "low",
                  "components": [
                    {
                      "factor": "respiratory_rate",
                      "points": 0,
                      "present": false,
                      "value": 16
                    },
                    {
                      "factor": "spo2_percent",
                      "points": 0,
                      "present": false,
                      "value": 98
                    },
                    {
                      "factor": "supplemental_oxygen",
                      "points": 0,
                      "present": false,
                      "value": false
                    },
                    {
                      "factor": "temperature_c",
                      "points": 0,
                      "present": false,
                      "value": 37
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 120
                    },
                    {
                      "factor": "heart_rate_bpm",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "acvpu",
                      "points": 0,
                      "present": false,
                      "value": "alert"
                    }
                  ],
                  "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": "news2",
                  "formula_expression": "NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20",
                  "heart_rate_bpm": 70,
                  "max_score": 20,
                  "red_score": false,
                  "respiratory_rate": 16,
                  "score": 0,
                  "spo2_percent": 98,
                  "spo2_scale": 1,
                  "supplemental_oxygen": false,
                  "systolic_mm_hg": 120,
                  "temperature_c": 37
                }
              ],
              "path": "/api/calc/news2"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "acvpu": {
                            "description": "Caller-assigned ACVPU (alert, confusion, voice, pain, or unresponsive). RCP NEWS2 2017 Chart 1: alert → 0; confusion, voice, pain, or unresponsive → 3 each. magent does not compute GCS here.",
                            "enum": [
                              "alert",
                              "confusion",
                              "voice",
                              "pain",
                              "unresponsive"
                            ],
                            "type": "string"
                          },
                          "heart_rate_bpm": {
                            "description": "Heart rate in beats/min (integer 30-220). RCP NEWS2 2017 Chart 1: ≤40 → 3, 41-50 → 1, 51-90 → 0, 91-110 → 1, 111-130 → 2, ≥131 → 3.",
                            "type": "integer"
                          },
                          "respiratory_rate": {
                            "description": "Respiratory rate in breaths/min (integer 0-80). RCP NEWS2 2017 Chart 1: ≤8 → 3, 9-11 → 1, 12-20 → 0, 21-24 → 2, ≥25 → 3.",
                            "type": "integer"
                          },
                          "spo2_percent": {
                            "description": "Oxygen saturation percent (50-100). Scale 1: ≤91 → 3, 92-93 → 2, 94-95 → 1, ≥96 → 0. Scale 2: ≤83 → 3, 84-85 → 2, 86-87 → 1, 88-92 → 0; ≥93 on air → 0; 93-94 on oxygen → 1, 95-96 on oxygen → 2, ≥97 on oxygen → 3.",
                            "type": "number"
                          },
                          "spo2_scale": {
                            "description": "Caller-assigned SpO2 scale (1 or 2). Scale 1 is the usual target. Scale 2 is only for a prescribed 88-92% target in confirmed hypercapnic respiratory failure. magent does not choose the scale.",
                            "enum": [
                              1,
                              2
                            ],
                            "type": "integer"
                          },
                          "supplemental_oxygen": {
                            "description": "Any supplemental oxygen as assigned by the caller (true or false). RCP NEWS2 2017 Chart 1: true → 2, false → 0. On Scale 2 this also selects air vs oxygen SpO2 bands at ≥93%.",
                            "type": "boolean"
                          },
                          "systolic_mm_hg": {
                            "description": "Systolic blood pressure in mm Hg (integer 0-300). RCP NEWS2 2017 Chart 1: ≤90 → 3, 91-100 → 2, 101-110 → 1, 111-219 → 0, ≥220 → 3.",
                            "type": "integer"
                          },
                          "temperature_c": {
                            "description": "Temperature in °C (30.0-45.0). RCP NEWS2 2017 Chart 1: ≤35.0 → 3, 35.1-36.0 → 1, 36.1-38.0 → 0, 38.1-39.0 → 1, ≥39.1 → 2. magent does not convert Fahrenheit.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "systolic_mm_hg",
                          "heart_rate_bpm",
                          "respiratory_rate",
                          "temperature_c",
                          "spo2_percent",
                          "spo2_scale",
                          "supplemental_oxygen",
                          "acvpu"
                        ],
                        "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"
  }
}