# Webb 2022 COVID-19 Hospitalization & Mortality Risk Score (UTRS)

> Webb 2022 COVID-19 Hospitalization & Mortality Risk Score (UTRS) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Calculates the Webb 2022 simplified COVID-19 risk score (UTRS) for predicting 14-day hospitalization and 28-day mortality based on age, sex, and comorbidities.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/utrs
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webb-2022-covid-19-hospitalization-mortality-risk-score-utrs-38d2220a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NfbKpcTdAs4eOd99Qdkwa

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability webb-2022-covid-19-hospitalization-mortality-risk-score-utrs-38d2220a
```

Example prompt: Calculate the Webb 2022 COVID risk score for a 67-year-old male who has diabetes, obesity, hypertension, and dyspnea, identifies as a community of color, has no cardiac arrhythmia, no CHF, no CKD, no chronic pulmonary, liver, cerebrovascular, or neurologic disease, and no severe immunocompromise — and tell me if the score is 6 or above.

## When to prefer this

Choose this endpoint when you need a validated, evidence-based COVID-19 severity risk score grounded in the Webb 2022 publication (Table 6/7), specifically for predicting 14-day hospitalization or 28-day mortality. Prefer it over generic risk tools when the clinical context requires the specific age-decade weighting and the community-of-color equity factor from that study.

## Known failure modes

- Missing required comorbidity fields returns a validation error
- Age outside 0-120 range may produce unexpected scoring
- Incorrect sex value (not 'male' or 'female') causes parameter rejection
- community_of_color must be caller-assigned; the API does not infer race or ethnicity
- Truncated or malformed query parameters return HTTP 400

## How this service works

Webb 2022 Table 6 simplified score for 14-day hospitalization and 28-day mortality. Age decade lookup 0-10=0.5 through >100=5.5. Two points: diabetes, severe immunocompromise, obesity (BMI ≥30), caller-assigned community of color. One point: male sex, dyspnea, hypertension, CAD, arrhythmia, CHF, CKD, chronic pulmonary, liver, cerebrovascular, neurologic disease. score_ge_6 at Table 7 Youden ≥6. Not a diagnosis or allocation order.

## Output

Returns a numeric Webb 2022 UTRS score derived from age-decade lookup and weighted comorbidity flags, plus a boolean score_ge_6 indicating whether the patient meets the Youden-optimal ≥6 threshold associated with elevated 14-day hospitalization and 28-day mortality risk. Not a diagnosis or allocation order.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "age",
      "sex",
      "community_of_color",
      "diabetes",
      "severe_immunocompromise",
      "obesity",
      "dyspnea",
      "hypertension",
      "coronary_artery_disease",
      "cardiac_arrhythmia",
      "congestive_heart_failure",
      "chronic_kidney_disease",
      "chronic_pulmonary_disease",
      "chronic_liver_disease",
      "cerebrovascular_disease",
      "chronic_neurologic_disease"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in whole years (0-120). Webb 2022 Table 6 decade lookup: 0-10=0.5, 11-20=1, 21-30=1.5, 31-40=2, 41-50=2.5, 51-60=3, 61-70=3.5, 71-80=4, 81-90=4.5, 91-100=5, >100=5.5. Not floor(age/10)×0.5."
      },
      "sex": {
       "type": "string",
       "description": "Sex as recorded. Male scores 1 (Webb 2022 Table 6). female or male."
      },
      "dyspnea": {
       "type": "boolean",
       "description": "Dyspnea at the time of testing (Webb 2022 Table 6 symptom). 1 point if true. true or false."
      },
      "obesity": {
       "type": "boolean",
       "description": "Obesity as BMI ≥30 kg/m² (Webb 2022 Methods; Table 6 label BMI>30). 2 points if true. Caller-assigned true or false."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes mellitus (Webb 2022 Table 6 high-risk comorbidity). 2 points if true. true or false."
      },
      "hypertension": {
       "type": "boolean",
       "description": "Hypertension (Webb 2022 Table 6). 1 point if true. true or false."
      },
      "cardiac_arrhythmia": {
       "type": "boolean",
       "description": "Cardiac arrhythmia (Webb 2022 Table 6). 1 point if true. true or false."
      },
      "community_of_color": {
       "type": "boolean",
       "description": "Caller-assigned: the paper's community of color (self-identifies as non-white race or Hispanic/Latinx ethnicity). 2 points if true. magent 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webb-2022-covid-19-hospitalization-mortality-risk-score-utrs-38d2220a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
