# SIPA (Shock Index Pediatric Age-Adjusted) Calculator

> SIPA (Shock Index Pediatric Age-Adjusted) Calculator 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-13).

Calculates the age-adjusted Shock Index for Pediatric Age-adjusted (SIPA) score from heart rate and systolic blood pressure, flagging elevated values by Acker 2015 age-band cutoffs for children aged 4–16.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/sipa
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sipa-shock-index-pediatric-age-adjusted-calculator-e31ae41a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ezr4RDrSgN-E9gJ4JIjtU

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 sipa-shock-index-pediatric-age-adjusted-calculator-e31ae41a
```

Example prompt: What's the SIPA score for a 9-year-old with a heart rate of 130 bpm and a cuff systolic pressure of 100 mm Hg — is it elevated for their age?

## When to prefer this

Use this endpoint when you need the Acker 2015 pediatric age-adjusted SIPA score specifically — distinct from the adult shock index (HR/SBP > 0.9) — for patients aged 4 through 16. Prefer it over general shock-index calculators when age-band-specific cutoffs (1.22, 1.0, or 0.9) are required for pediatric clinical decision support or automated triage workflows.

## Known failure modes

- Age outside the 4–16 range returns an error or rejection — not valid for infants or adults 17+
- Heart rate outside 30–220 bpm or systolic BP outside 50–250 mm Hg returns a validation error
- Missing any of age, heart_rate_bpm, or systolic_mm_hg causes a 400-level error
- Non-integer age or heart rate values are rejected by schema
- Payment failure via x402 returns 402 Payment Required

## How this service works

Acker 2015 SIPA: heart rate in bpm divided by cuff systolic pressure in mm Hg, rounded to two decimals. Elevated if the ratio exceeds the age-band cutoff: 1.22 (ages 4-6), 1.0 (7-12), or 0.9 (13-16). Ages 4-16 only; not for infants or adults 17 and older. Not a diagnosis of shock and not the adult shock-index greater-than-0.9 rule. magent does not measure vitals.

## Output

Returns the SIPA ratio (heart rate in bpm divided by systolic blood pressure in mm Hg, rounded to two decimal places) and an elevation flag indicating whether the ratio exceeds the Acker 2015 age-band cutoff: 1.22 for ages 4–6, 1.0 for ages 7–12, or 0.9 for ages 13–16.

## 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",
      "heart_rate_bpm",
      "systolic_mm_hg"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (integer 4-16). Acker 2015 SIPA cohort only. Ages 4-6 use cutoff 1.22, 7-12 use 1.0, and 13-16 use 0.9. Not for infants or adults 17 and older."
      },
      "heart_rate_bpm": {
       "type": "integer",
       "description": "Heart rate in beats per minute (integer 30-220). magent does not measure vitals; the caller assigns the number."
      },
      "systolic_mm_hg": {
       "type": "number",
       "description": "Cuff systolic blood pressure in mm Hg (50-250). magent does not measure vitals."
      }
     }
    }
   },
   "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/sipa-shock-index-pediatric-age-adjusted-calculator-e31ae41a/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)
