{"uid":"cap_l0B_A4Q02BTZO0vQkvjLR","slug":"magent-pars-pediatric-asthma-risk-score-calculator-429bc36d","name":"magent PARS – Pediatric Asthma Risk Score Calculator","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.","url":"https://api.magentlab.com/api/calc/pars","method":"GET","headers":{},"bodySchema":{"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":["parental_asthma","eczema_before_age_3","wheezing_apart_from_colds","wheezing_before_age_3","african_american","spt_ge_2"],"properties":{"spt_ge_2":{"type":"boolean","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."},"parental_asthma":{"type":"boolean","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."},"african_american":{"type":"boolean","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."},"eczema_before_age_3":{"type":"boolean","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."},"wheezing_before_age_3":{"type":"boolean","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."},"wheezing_apart_from_colds":{"type":"boolean","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."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QMZ67SUZDdjJ4bEUdm7sn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Biagini Myers 2019 Pediatric Asthma Risk Score (PARS) and returns the predicted probability of asthma by age 7 as an integer percent","exampleAgentPrompt":"Calculate the Pediatric Asthma Risk Score for a child who has parental asthma, had eczema before age 3, wheezes apart from colds, wheezed before age 3, is caller-assigned African American, and whose skin prick test was positive to 2 or more allergens — all six risk factors are true.","exampleUseCases":[{"title":"Asthma risk screening in pediatric clinic","prompt":"I'm reviewing a 2-year-old whose parent has asthma, had eczema before age 3, and has wheezed before age 3 but not apart from colds. No African American race assigned and skin prick test was only positive to one allergen. What's the PARS score and predicted chance of asthma by age 7?"},{"title":"Telemedicine triage decision support","prompt":"Can you run the Biagini Myers PARS score for a toddler with wheezing apart from colds and wheezing before age 3, no parental asthma, no eczema, not caller-assigned African American, and SPT not positive to 2 or more allergens?"},{"title":"Population health risk stratification","prompt":"Score this child's PARS: parental asthma yes, eczema before age 3 no, wheezing apart from colds yes, wheezing before age 3 no, caller-assigned African American no, SPT positive to 2 or more allergens yes. Give me the total score and the percent predicted asthma risk."}],"resultDescription":"Returns a JSON object containing the computed PARS total score (0–14, with 1 and 13 being unattainable) and the predicted probability of asthma by age 7 as an integer percentage derived from Biagini Myers 2019 Figure E1. Not a diagnosis.","failureModes":["Missing one or more required boolean query parameters returns a validation error","Invalid non-boolean values for flag parameters cause a 400 error","Score of 1 or 13 is unattainable by definition and will not be returned","Payment failure or missing x402 payment header results in 402 Payment Required","Network timeouts if the API is temporarily unreachable"],"whenToPreferThis":"Use this endpoint when you need to apply the published Biagini Myers 2019 Table III weights to compute PARS and look up the Figure E1 asthma probability, and you have already gathered all six boolean clinical flags from your own clinical assessment. Prefer this over manual arithmetic to guarantee the exact published integer rounding and Figure E1 lookup. Not appropriate as a substitute for clinical diagnosis, SPT, physical examination, or family history taking — the caller must supply all flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:03:33.836Z","isFirstParty":false}