# Lipsett 2022 Pediatric Pneumonia Risk Score (PRS)

> Lipsett 2022 Pediatric Pneumonia Risk Score (PRS) 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).

Computes the Lipsett 2022 logistic-regression probability of radiographic pneumonia in children aged 3 months to 18 years from age, triage SpO2, fever, rales, and wheeze, plus the published integer supplement score (1–6).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/prs
- 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/lipsett-2022-pediatric-pneumonia-risk-score-prs-c67aba56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BKTtAB_uIgwqk26glHBbL

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 lipsett-2022-pediatric-pneumonia-risk-score-prs-c67aba56
```

Example prompt: A 4.5-year-old child just triaged with SpO2 of 93%, fever at home, rales on exam, and no wheeze — can you calculate the Lipsett 2022 pediatric pneumonia risk score and probability for me?

## When to prefer this

Choose this endpoint when you need a validated, published pediatric pneumonia risk score specifically from the Lipsett 2022 logistic model for children aged 3 months to 18 years; it is not suitable for adults (use CURB-65 or PSI instead), does not order imaging, and is distinct from general fever assessment tools or adult pneumonia scores.

## Known failure modes

- Age outside 0.25–18 years range causes validation error
- SpO2 outside 50–100 range causes validation error
- Missing required parameter (age_years, spo2_percent, fever, rales, or wheeze) returns 400 error
- Non-boolean values for fever, rales, or wheeze cause schema rejection
- Payment failure (x402 protocol) blocks the call if USDC balance is insufficient

## How this service works

Lipsett 2022 Pneumonia Risk Score for children 3 months to 18 years: logistic probability of radiographic pneumonia from age, triage oxygen saturation, fever, rales, and wheeze, plus the published supplement integer score 1–6. Caller-assigned findings. Not a diagnosis, not a CXR order, and not adult CURB-65.

## Output

Returns the logistic-regression probability (0–1) of radiographic pneumonia as predicted by the Lipsett 2022 model, plus the published supplement integer score on a 1–6 scale, derived from the five caller-supplied clinical findings.

## 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_years",
      "spo2_percent",
      "fever",
      "rales",
      "wheeze"
     ],
     "properties": {
      "fever": {
       "type": "boolean",
       "description": "Fever at home or in the ED (Lipsett 2022 SDC: >38°C). true or false. Caller-assigned."
      },
      "rales": {
       "type": "boolean",
       "description": "Rales / crackles on exam as assigned by the caller (Lipsett 2022). true or false. magent does not auscultate."
      },
      "wheeze": {
       "type": "boolean",
       "description": "Wheeze on exam as assigned by the caller (Lipsett 2022). true or false. magent does not auscultate."
      },
      "age_years": {
       "type": "number",
       "description": "Age in years, continuous (0.25-18). Lipsett 2022 enrolled children 3 months to 18 years. Not adult Params.age."
      },
      "spo2_percent": {
       "type": "number",
       "description": "Triage / first oxygen saturation percent (50-100). Caller-assigned. magent does not measure saturation."
      }
     }
    }
   },
   "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/lipsett-2022-pediatric-pneumonia-risk-score-prs-c67aba56/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)
