# PONS Perioperative Nutrition Score Calculator (Wischmeyer 2018)

> PONS Perioperative Nutrition Score Calculator (Wischmeyer 2018) 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 Wischmeyer 2018 Perioperative Nutrition Score (PONS) from four caller-assigned boolean flags, returning a 0–4 score and a high-risk flag.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pons
- 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/pons-perioperative-nutrition-score-calculator-wischmeyer-2018-b52cae6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7SfM2TX0njRcUbvCQR7wV

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 pons-perioperative-nutrition-score-calculator-wischmeyer-2018-b52cae6b
```

Example prompt: Calculate the Wischmeyer 2018 PONS score for my patient: BMI is not low (age ≤65, BMI 22), no significant weight loss in 6 months, oral intake has been reduced by more than 50% this past week, and preoperative albumin is 2.8 g/dL (so below 3.0).

## When to prefer this

Use this endpoint when you already have the four PONS clinical flags assessed by a clinician or upstream system and need a fast, standardized PONS score and high-risk classification. Prefer this over NRS-2002, NUTRIC, or MUST calculators when the Wischmeyer 2018 perioperative screening tool specifically is required. This endpoint does not compute BMI, weigh patients, or assay albumin — those inputs must be prepared and interpreted by the caller before invoking.

## Known failure modes

- Missing required boolean query parameter returns validation error
- Non-boolean value for a flag parameter causes schema rejection
- Network or payment authorization failure returns 402 or 5xx
- All flags false returns score 0 and high_risk false (valid but may be unexpected if data entry error)

## How this service works

Wischmeyer 2018 PONS: four caller-assigned yes/no flags (BMI <18.5 kg/m² if age ≤65 or <20 if age >65; weight loss >10% in 6 months; oral intake reduced >50% in the past week; preoperative albumin <3.0 g/dL), 1 point each, max 4. high_risk true iff score ≥1. Not a medical device, diet order, or malnutrition diagnosis. magent does not weigh the patient, compute BMI, or assay albumin. Not NRS-2002, NUTRIC, or MUST.

## Output

Returns a PONS score integer from 0 to 4 (one point per true flag) and a high_risk boolean that is true when the score is ≥1, based on the Wischmeyer 2018 PONS criteria. Does not diagnose malnutrition, issue diet orders, or function as a medical device.

## 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": [
      "bmi_low",
      "weight_loss_gt_10pct_6mo",
      "oral_intake_reduced_gt_50pct_week",
      "albumin_lt_3_g_dl"
     ],
     "properties": {
      "bmi_low": {
       "type": "boolean",
       "description": "Caller-assigned Wischmeyer 2018 PONS low-BMI flag: BMI <18.5 kg/m² if age ≤65, or BMI <20 kg/m² if age >65. true or false. magent does not take age, weigh the patient, or compute BMI."
      },
      "albumin_lt_3_g_dl": {
       "type": "boolean",
       "description": "Caller-assigned Wischmeyer 2018 PONS flag: preoperative serum albumin <3.0 g/dL (not 3 g/L). true or false. magent does not assay albumin."
      },
      "weight_loss_gt_10pct_6mo": {
       "type": "boolean",
       "description": "Caller-assigned Wischmeyer 2018 PONS flag: weight loss >10% in the past 6 months. true or false. magent does not weigh the patient."
      },
      "oral_intake_reduced_gt_50pct_week": {
       "type": "boolean",
       "description": "Caller-assigned Wischmeyer 2018 PONS flag: reduced oral intake by >50% in the past week. true or false. magent does not measure intake."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pons-perioperative-nutrition-score-calculator-wischmeyer-2018-b52cae6b/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)
