{"uid":"cap_ge8L8_OuK0agDDFZx617u","slug":"asthma-predictive-index-castro-rodriguez-2000-calculator-985ecfaf","name":"Asthma Predictive Index (Castro-Rodriguez 2000) Calculator","description":"Asthma Predictive Index (Castro-Rodriguez 2000, Tucson Children's Respiratory Study). Stringent positive if early frequent wheeze (parent frequency scale > 3) plus 1+ major or 2+ minor criteria. Loose positive if any early wheeze plus the same risk factors. Majors: parental MD asthma, MD eczema. Minors: MD allergic rhinitis, wheezing apart from colds, circulating eosinophils >4% of WBC (caller-assigned). Not mAPI. Not an asthma diagnosis. magent does not examine the child. Not a medical device.","url":"https://api.magentlab.com/api/calc/asthma_api","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":["wheeze","parental_md_asthma","md_eczema","md_allergic_rhinitis","wheezing_apart_from_colds","eosinophilia_gt_4pct"],"properties":{"wheeze":{"enum":["none","any","frequent"],"type":"string","description":"Early-wheeze class from Castro-Rodriguez 2000. none = not an early wheezer; any = early wheezer (chest ever sounded wheezy in the first 3 years); frequent = early frequent wheezer (parent frequency scale > 3). Loose index requires any or frequent. Stringent index requires frequent."},"md_eczema":{"type":"boolean","description":"Physician-diagnosed eczema as assigned by the caller. true or false. Major criterion (Castro-Rodriguez 2000 Table 1). magent does not examine the child."},"parental_md_asthma":{"type":"boolean","description":"Parental physician-diagnosed asthma as assigned by the caller. true or false. Major criterion (Castro-Rodriguez 2000 Table 1). magent does not take a family history."},"eosinophilia_gt_4pct":{"type":"boolean","description":"Circulating eosinophils >4% of WBC as assigned by the caller (Castro-Rodriguez 2000 Table 1). true or false. Minor criterion. magent does not take an eosinophil percent and does not interpret a CBC."},"md_allergic_rhinitis":{"type":"boolean","description":"Physician-diagnosed allergic rhinitis as assigned by the caller. true or false. Minor criterion (Castro-Rodriguez 2000 Table 1). magent does not examine the child."},"wheezing_apart_from_colds":{"type":"boolean","description":"Wheezing apart from colds as assigned by the caller. true or false. Minor criterion (Castro-Rodriguez 2000 Table 1). magent does not auscultate."}}}},"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_GO2BY_kF5FtWWvtl64M50","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":"Calculates the Asthma Predictive Index (API) per Castro-Rodriguez 2000, returning stringent and loose positive/negative classifications based on early wheeze pattern and major/minor risk criteria.","exampleAgentPrompt":"Can you calculate the Asthma Predictive Index for a child who is a frequent early wheezer — their parent has physician-diagnosed asthma, they have physician-diagnosed eczema, physician-diagnosed allergic rhinitis, they do wheeze apart from colds, and their eosinophils are not above 4%?","exampleUseCases":[{"title":"Frequent wheezer with family history screening","prompt":"Run the Castro-Rodriguez Asthma Predictive Index for a toddler who wheezes frequently — their parent has physician-diagnosed asthma, they don't have eczema, they do have physician-diagnosed allergic rhinitis, no wheezing apart from colds, and eosinophils are not elevated above 4%."},{"title":"Any wheezer loose API check","prompt":"Check the loose Asthma Predictive Index for a child who has had any early wheezing — no parental asthma, no physician-diagnosed eczema, they do have physician-diagnosed allergic rhinitis, they wheeze apart from colds, and eosinophilia is greater than 4%."},{"title":"Stringent API with two major criteria","prompt":"Calculate the stringent and loose Asthma Predictive Index for a frequent early wheezer whose parent has physician-diagnosed asthma and who also has physician-diagnosed eczema — no allergic rhinitis, no wheezing apart from colds, and eosinophils are below 4%."}],"resultDescription":"Returns a structured result indicating whether the child meets the stringent positive API (frequent early wheeze plus ≥1 major or ≥2 minor criteria), loose positive API (any early wheeze plus the same risk factor thresholds), or neither, along with which major and minor criteria were satisfied.","failureModes":["Missing required query parameters (wheeze, parental_md_asthma, md_eczema, md_allergic_rhinitis, wheezing_apart_from_colds, eosinophilia_gt_4pct) returns a 400 error","Invalid enum value for 'wheeze' (must be none, any, or frequent) returns a validation error","Payment not provided or insufficient funds returns 402 Payment Required","Service unavailable or timeout returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need a structured, reproducible calculation of the Castro-Rodriguez 2000 Asthma Predictive Index (stringent and loose) for a child based on pre-assigned clinical data. Prefer it over manual lookup when building clinical decision support workflows or automated pediatric risk scoring pipelines. Note that this is a scoring tool, not a diagnostic device — the caller must supply clinician-assigned values; the API does not examine patients or interpret raw lab results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:12:59.880Z","isFirstParty":false}