{
  "x402Version": 2,
  "id": 39592,
  "slug": "39592",
  "resource": "https://api.magentlab.com/api/calc/aap_pediatric_bp",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "age_years": 15,
                "dbp_p90_mm_hg": 66,
                "dbp_p95_mm_hg": 74,
                "diastolic_mm_hg": 72,
                "sbp_p90_mm_hg": 108,
                "sbp_p95_mm_hg": 115,
                "systolic_mm_hg": 118
              },
              {
                "age_years": 15,
                "dbp_p90_mm_hg": 66,
                "dbp_p95_mm_hg": 74,
                "diastolic_mm_hg": 72,
                "sbp_p90_mm_hg": 108,
                "sbp_p95_mm_hg": 115,
                "systolic_mm_hg": 118
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 15,
                "category": "normal",
                "citation": {
                  "authors": "Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children",
                  "doi": "10.1542/peds.2017-1904",
                  "id": "flynn-2017",
                  "pmid": "29192011",
                  "source": "Pediatrics. 2017;140(3):e20171904",
                  "title": "Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"
                },
                "components": [
                  {
                    "factor": "systolic_stage_2",
                    "met": false,
                    "value": 140
                  },
                  {
                    "factor": "diastolic_stage_2",
                    "met": false,
                    "value": 90
                  },
                  {
                    "factor": "systolic_stage_1",
                    "met": false,
                    "value": 130
                  },
                  {
                    "factor": "diastolic_stage_1",
                    "met": false,
                    "value": 80
                  },
                  {
                    "factor": "systolic_elevated",
                    "met": false,
                    "value": 120
                  },
                  {
                    "factor": "diastolic_elevated",
                    "met": false,
                    "value": 80
                  }
                ],
                "diastolic_mm_hg": 72,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "aap_pediatric_bp",
                "formula_expression": "AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP",
                "systolic_mm_hg": 118
              },
              {
                "age_years": 15,
                "category": "normal",
                "citation": {
                  "authors": "Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children",
                  "doi": "10.1542/peds.2017-1904",
                  "id": "flynn-2017",
                  "pmid": "29192011",
                  "source": "Pediatrics. 2017;140(3):e20171904",
                  "title": "Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"
                },
                "components": [
                  {
                    "factor": "systolic_stage_2",
                    "met": false,
                    "value": 140
                  },
                  {
                    "factor": "diastolic_stage_2",
                    "met": false,
                    "value": 90
                  },
                  {
                    "factor": "systolic_stage_1",
                    "met": false,
                    "value": 130
                  },
                  {
                    "factor": "diastolic_stage_1",
                    "met": false,
                    "value": 80
                  },
                  {
                    "factor": "systolic_elevated",
                    "met": false,
                    "value": 120
                  },
                  {
                    "factor": "diastolic_elevated",
                    "met": false,
                    "value": 80
                  }
                ],
                "diastolic_mm_hg": 72,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "aap_pediatric_bp",
                "formula_expression": "AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP",
                "systolic_mm_hg": 118
              }
            ],
            "path": "/api/calc/aap_pediatric_bp"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age_years": {
                          "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.",
                          "type": "integer"
                        },
                        "dbp_p90_mm_hg": {
                          "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.",
                          "type": "number"
                        },
                        "dbp_p95_mm_hg": {
                          "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.",
                          "type": "number"
                        },
                        "diastolic_mm_hg": {
                          "description": "Caller-assigned cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic. magent does not measure blood pressure.",
                          "type": "number"
                        },
                        "sbp_p90_mm_hg": {
                          "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.",
                          "type": "number"
                        },
                        "sbp_p95_mm_hg": {
                          "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.",
                          "type": "number"
                        },
                        "systolic_mm_hg": {
                          "description": "Caller-assigned cuff systolic blood pressure in mm Hg (50-250). magent does not measure blood pressure.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age_years",
                        "systolic_mm_hg",
                        "diastolic_mm_hg"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "aap-2017",
    "pediatric-bp",
    "hemodynamics",
    "hypertension",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T13:35:08.075Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:35:07.925Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age_years": 15,
                  "dbp_p90_mm_hg": 66,
                  "dbp_p95_mm_hg": 74,
                  "diastolic_mm_hg": 72,
                  "sbp_p90_mm_hg": 108,
                  "sbp_p95_mm_hg": 115,
                  "systolic_mm_hg": 118
                },
                {
                  "age_years": 15,
                  "dbp_p90_mm_hg": 66,
                  "dbp_p95_mm_hg": 74,
                  "diastolic_mm_hg": 72,
                  "sbp_p90_mm_hg": 108,
                  "sbp_p95_mm_hg": 115,
                  "systolic_mm_hg": 118
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 15,
                  "category": "normal",
                  "citation": {
                    "authors": "Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children",
                    "doi": "10.1542/peds.2017-1904",
                    "id": "flynn-2017",
                    "pmid": "29192011",
                    "source": "Pediatrics. 2017;140(3):e20171904",
                    "title": "Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"
                  },
                  "components": [
                    {
                      "factor": "systolic_stage_2",
                      "met": false,
                      "value": 140
                    },
                    {
                      "factor": "diastolic_stage_2",
                      "met": false,
                      "value": 90
                    },
                    {
                      "factor": "systolic_stage_1",
                      "met": false,
                      "value": 130
                    },
                    {
                      "factor": "diastolic_stage_1",
                      "met": false,
                      "value": 80
                    },
                    {
                      "factor": "systolic_elevated",
                      "met": false,
                      "value": 120
                    },
                    {
                      "factor": "diastolic_elevated",
                      "met": false,
                      "value": 80
                    }
                  ],
                  "diastolic_mm_hg": 72,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "aap_pediatric_bp",
                  "formula_expression": "AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP",
                  "systolic_mm_hg": 118
                },
                {
                  "age_years": 15,
                  "category": "normal",
                  "citation": {
                    "authors": "Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children",
                    "doi": "10.1542/peds.2017-1904",
                    "id": "flynn-2017",
                    "pmid": "29192011",
                    "source": "Pediatrics. 2017;140(3):e20171904",
                    "title": "Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"
                  },
                  "components": [
                    {
                      "factor": "systolic_stage_2",
                      "met": false,
                      "value": 140
                    },
                    {
                      "factor": "diastolic_stage_2",
                      "met": false,
                      "value": 90
                    },
                    {
                      "factor": "systolic_stage_1",
                      "met": false,
                      "value": 130
                    },
                    {
                      "factor": "diastolic_stage_1",
                      "met": false,
                      "value": 80
                    },
                    {
                      "factor": "systolic_elevated",
                      "met": false,
                      "value": 120
                    },
                    {
                      "factor": "diastolic_elevated",
                      "met": false,
                      "value": 80
                    }
                  ],
                  "diastolic_mm_hg": 72,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "aap_pediatric_bp",
                  "formula_expression": "AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP",
                  "systolic_mm_hg": 118
                }
              ],
              "path": "/api/calc/aap_pediatric_bp"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age_years": {
                            "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.",
                            "type": "integer"
                          },
                          "dbp_p90_mm_hg": {
                            "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.",
                            "type": "number"
                          },
                          "dbp_p95_mm_hg": {
                            "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.",
                            "type": "number"
                          },
                          "diastolic_mm_hg": {
                            "description": "Caller-assigned cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic. magent does not measure blood pressure.",
                            "type": "number"
                          },
                          "sbp_p90_mm_hg": {
                            "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.",
                            "type": "number"
                          },
                          "sbp_p95_mm_hg": {
                            "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.",
                            "type": "number"
                          },
                          "systolic_mm_hg": {
                            "description": "Caller-assigned cuff systolic blood pressure in mm Hg (50-250). magent does not measure blood pressure.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age_years",
                          "systolic_mm_hg",
                          "diastolic_mm_hg"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}