{
  "x402Version": 2,
  "id": 39088,
  "slug": "39088",
  "resource": "https://api.magentlab.com/api/calc/pars",
  "description": "Biagini Myers 2019 Pediatric Asthma Risk Score (PARS). Table III weights (OR rounded to nearest integer): parental asthma 2, eczema before age 3 2, wheezing apart from colds 3, wheezing before age 3 3, caller-assigned African American race 2, SPT ≥2 aeroallergens and/or food allergens 2. Max 14. Fig E1 predicted asthma by age 7 as an integer percent. Scores 1 and 13 are unattainable. Not API or mAPI. Not a diagnosis. magent does not assign race and does not perform SPT.",
  "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": [
              {
                "african_american": false,
                "eczema_before_age_3": false,
                "parental_asthma": false,
                "spt_ge_2": false,
                "wheezing_apart_from_colds": false,
                "wheezing_before_age_3": false
              },
              {
                "african_american": false,
                "eczema_before_age_3": false,
                "parental_asthma": false,
                "spt_ge_2": false,
                "wheezing_apart_from_colds": false,
                "wheezing_before_age_3": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK",
                  "doi": "10.1016/j.jaci.2018.09.037",
                  "id": "biagini-myers-2019-pars",
                  "pmid": "30554722",
                  "source": "J Allergy Clin Immunol. 2019;143(4):1803-1810.e2",
                  "title": "A Pediatric Asthma Risk Score to better predict asthma development in young children"
                },
                "components": [
                  {
                    "factor": "parental_asthma",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "eczema_before_age_3",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "wheezing_apart_from_colds",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "wheezing_before_age_3",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "african_american",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "spt_ge_2",
                    "points": 0,
                    "present": false
                  }
                ],
                "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": "pars",
                "formula_expression": "PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable",
                "max_score": 14,
                "predicted_asthma_percent": 3,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK",
                  "doi": "10.1016/j.jaci.2018.09.037",
                  "id": "biagini-myers-2019-pars",
                  "pmid": "30554722",
                  "source": "J Allergy Clin Immunol. 2019;143(4):1803-1810.e2",
                  "title": "A Pediatric Asthma Risk Score to better predict asthma development in young children"
                },
                "components": [
                  {
                    "factor": "parental_asthma",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "eczema_before_age_3",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "wheezing_apart_from_colds",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "wheezing_before_age_3",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "african_american",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "spt_ge_2",
                    "points": 0,
                    "present": false
                  }
                ],
                "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": "pars",
                "formula_expression": "PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable",
                "max_score": 14,
                "predicted_asthma_percent": 3,
                "score": 0
              }
            ],
            "path": "/api/calc/pars"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "african_american": {
                          "description": "Caller-assigned African American race as used in Biagini Myers 2019 Table III. true scores 2. magent does not assign race. true or false.",
                          "type": "boolean"
                        },
                        "eczema_before_age_3": {
                          "description": "Eczema before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not examine the child. true or false.",
                          "type": "boolean"
                        },
                        "parental_asthma": {
                          "description": "Parental asthma as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not take a family history. true or false.",
                          "type": "boolean"
                        },
                        "spt_ge_2": {
                          "description": "Skin prick test positive to ≥2 aeroallergens and/or food allergens as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not perform SPT. true or false.",
                          "type": "boolean"
                        },
                        "wheezing_apart_from_colds": {
                          "description": "Wheezing apart from colds as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.",
                          "type": "boolean"
                        },
                        "wheezing_before_age_3": {
                          "description": "Wheezing before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "parental_asthma",
                        "eczema_before_age_3",
                        "wheezing_apart_from_colds",
                        "wheezing_before_age_3",
                        "african_american",
                        "spt_ge_2"
                      ],
                      "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": [
    "pars",
    "asthma",
    "pediatric",
    "respiratory",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T06:46:18.426Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T06:46:18.248Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "african_american": false,
                  "eczema_before_age_3": false,
                  "parental_asthma": false,
                  "spt_ge_2": false,
                  "wheezing_apart_from_colds": false,
                  "wheezing_before_age_3": false
                },
                {
                  "african_american": false,
                  "eczema_before_age_3": false,
                  "parental_asthma": false,
                  "spt_ge_2": false,
                  "wheezing_apart_from_colds": false,
                  "wheezing_before_age_3": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK",
                    "doi": "10.1016/j.jaci.2018.09.037",
                    "id": "biagini-myers-2019-pars",
                    "pmid": "30554722",
                    "source": "J Allergy Clin Immunol. 2019;143(4):1803-1810.e2",
                    "title": "A Pediatric Asthma Risk Score to better predict asthma development in young children"
                  },
                  "components": [
                    {
                      "factor": "parental_asthma",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "eczema_before_age_3",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "wheezing_apart_from_colds",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "wheezing_before_age_3",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "african_american",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "spt_ge_2",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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": "pars",
                  "formula_expression": "PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable",
                  "max_score": 14,
                  "predicted_asthma_percent": 3,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK",
                    "doi": "10.1016/j.jaci.2018.09.037",
                    "id": "biagini-myers-2019-pars",
                    "pmid": "30554722",
                    "source": "J Allergy Clin Immunol. 2019;143(4):1803-1810.e2",
                    "title": "A Pediatric Asthma Risk Score to better predict asthma development in young children"
                  },
                  "components": [
                    {
                      "factor": "parental_asthma",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "eczema_before_age_3",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "wheezing_apart_from_colds",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "wheezing_before_age_3",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "african_american",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "spt_ge_2",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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": "pars",
                  "formula_expression": "PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable",
                  "max_score": 14,
                  "predicted_asthma_percent": 3,
                  "score": 0
                }
              ],
              "path": "/api/calc/pars"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "african_american": {
                            "description": "Caller-assigned African American race as used in Biagini Myers 2019 Table III. true scores 2. magent does not assign race. true or false.",
                            "type": "boolean"
                          },
                          "eczema_before_age_3": {
                            "description": "Eczema before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not examine the child. true or false.",
                            "type": "boolean"
                          },
                          "parental_asthma": {
                            "description": "Parental asthma as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not take a family history. true or false.",
                            "type": "boolean"
                          },
                          "spt_ge_2": {
                            "description": "Skin prick test positive to ≥2 aeroallergens and/or food allergens as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not perform SPT. true or false.",
                            "type": "boolean"
                          },
                          "wheezing_apart_from_colds": {
                            "description": "Wheezing apart from colds as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.",
                            "type": "boolean"
                          },
                          "wheezing_before_age_3": {
                            "description": "Wheezing before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "parental_asthma",
                          "eczema_before_age_3",
                          "wheezing_apart_from_colds",
                          "wheezing_before_age_3",
                          "african_american",
                          "spt_ge_2"
                        ],
                        "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"
  }
}