# AAP 2017 Pediatric Blood Pressure Category Calculator

> AAP 2017 Pediatric Blood Pressure Category 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-14).

Classifies a child's blood pressure reading (ages 1–17) into normal, elevated, stage_1, or stage_2 per AAP 2017 Flynn Table 3 guidelines

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/aap_pediatric_bp
- 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/aap-2017-pediatric-blood-pressure-category-calculator-f37cce16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZlvGDnHXtznbLS8Rjyd6_

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 aap-2017-pediatric-blood-pressure-category-calculator-f37cce16
```

Example prompt: My 9-year-old patient has a systolic BP of 112 mm Hg and a diastolic of 74 mm Hg; their age/sex/height-specific 90th percentile values are 108 systolic and 68 diastolic, and 95th percentile values are 115 systolic and 72 diastolic — what AAP 2017 blood pressure category do they fall into?

## When to prefer this

Use this endpoint when you need a fast, rule-based AAP 2017 Flynn Table 3 blood pressure category for a pediatric patient aged 1–17, and you have already looked up the appropriate 90th/95th percentile thresholds from AAP Tables 4/5 for ages 1–12. Prefer this over manual lookup tables or general clinical calculators when building automated EHR workflows, clinical decision support tools, or pediatric health monitoring apps that require programmatic classification. Do not use this for adults (≥18), neonates (age 0), the 2004 Fourth Report, or ACC/AHA 2017 criteria for patients under 13.

## Known failure modes

- Age 0 or age ≥18 supplied — rejected, out of supported range
- Percentile fields supplied for age ≥13 — rejected, must be omitted for adolescents
- Percentile fields missing for age 1–12 — rejected, required for younger children
- sbp_p90 ≥ sbp_p95 or dbp_p90 ≥ dbp_p95 — rejected, 90th must be strictly less than 95th
- Systolic or diastolic outside 50–250 mm Hg range — rejected
- Percentile values outside 40–180 mm Hg range — rejected
- Non-integer age supplied — rejected

## How this service works

AAP 2017 Flynn Table 3 pediatric BP category (normal, elevated, stage_1, stage_2) from age 1-17 and cuff mm Hg. Age ≥13 uses adult-aligned 120/80, 130/80, and 140/90 cutoffs. Age 1-12 needs caller 90th/95th mm Hg (magent does not interpolate height/sex tables). Category is the more severe limb. magent does not measure BP. Not a device, not a hypertension diagnosis, not the 2004 Fourth Report, and not ACC/AHA 2017 for age <13.

## Output

Returns a blood pressure category string — one of: 'normal', 'elevated', 'stage_1', or 'stage_2' — based on the more severe of the systolic and diastolic limbs, per AAP 2017 Flynn Table 3. Ages 13–17 use fixed adult-aligned cutoffs (120/80, 130/80, 140/90); ages 1–12 use caller-supplied 90th/95th percentile thresholds.

## 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",
      "systolic_mm_hg",
      "diastolic_mm_hg"
     ],
     "properties": {
      "age_years": {
       "type": "integer",
       "description": "Completed age in years, integer 1-17 (Flynn 2017 Table 3). Age 1-12 uses the left-column percentile rule and requires caller 90th/95th mm Hg. Age 13-17 uses the right-column adult-aligned cutoffs and must omit percentile fields. Age 0 and age ≥18 are rejected."
      },
      "dbp_p90_mm_hg": {
       "type": "number",
       "description": "Caller-assigned AAP Table 4/5 diastolic 90th percentile in mm Hg for that child (40-180, and must be < dbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables."
      },
      "dbp_p95_mm_hg": {
       "type": "number",
       "description": "Caller-assigned AAP Table 4/5 diastolic 95th percentile in mm Hg for that child (40-180, and must be > dbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables."
      },
      "sbp_p90_mm_hg": {
       "type": "number",
       "description": "Caller-assigned AAP Table 4/5 systolic 90th percentile in mm Hg for that child (40-180, and must be < sbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables."
      },
      "sbp_p95_mm_hg": {
       "type": "number",
       "description": "Caller-assigned AAP Table 4/5 systolic 95th percentile in mm Hg for that child (40-180, and must be > sbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables."
      },
      "systolic_mm_hg": {
       "type": "number",
       "description": "Caller-assigned cuff systolic blood pressure in mm Hg (50-250). magent does not measure blood pressure."
      },
      "diastolic_mm_hg": {
       "type": "number",
       "description": "Caller-assig
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aap-2017-pediatric-blood-pressure-category-calculator-f37cce16/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)
