{"uid":"cap_rzEhNMAXcIfKDxRPoLhfX","slug":"magent-astral-score-calculator-56d90486","name":"magent ASTRAL Score Calculator","description":"Ntaios 2012 ASTRAL integer score for 3-month mRS >2 in acute ischemic stroke. Age 1/5 years + NIHSS (caller 0-42) + 2 if onset-to-admission >180 min + 2 if visual field defect + 1 if glucose <3.7 or >7.3 mmol/L (mg/dL /18) + 3 if impaired consciousness. Score 31 is 50% unfavorable. Not a tPA decision. magent does not compute NIHSS.","url":"https://api.magentlab.com/api/calc/astral","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":["age","nihss","delay_gt_180","visual_field_defect","loc_impaired"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Ntaios 2012 integer weight is 1 point per 5 years (integer division). magent does not date the patient."},"nihss":{"type":"integer","description":"Caller-assigned NIH Stroke Scale total (integer 0-42). 1 point per NIHSS point. magent does not compute NIHSS or examine the patient."},"delay_gt_180":{"type":"boolean","description":"Onset-to-admission delay >180 minutes (Ntaios 2012 time item). true scores 2; false (including 180 min) scores 0. magent does not clock the delay."},"loc_impaired":{"type":"boolean","description":"Impaired consciousness as assigned by the caller (Ntaios 2012; NIHSS item 1a >0). true scores 3; false scores 0. magent does not compute NIHSS."},"glucose_mg_dl":{"type":"number","description":"Admission glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both."},"glucose_mmol_l":{"type":"number","description":"Admission glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 1 point if <3.7 or >7.3; 3.7 and 7.3 do not score."},"visual_field_defect":{"type":"boolean","description":"Any stroke-related visual field defect as assigned by the caller (Ntaios 2012 range of visual fields). true scores 2; false scores 0. magent does not examine the patient."}}}},"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_ywiyJnNGgEbi4EDlu_sCA","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 Ntaios 2012 ASTRAL integer score to predict 3-month unfavorable functional outcome (mRS >2) after acute ischemic stroke","exampleAgentPrompt":"Calculate the ASTRAL score for a 75-year-old ischemic stroke patient with a caller-assigned NIHSS of 14, onset-to-admission delay over 180 minutes, a visual field defect present, admission glucose of 160 mg/dL, and no impaired consciousness.","exampleUseCases":[{"title":"Stroke unit 3-month outcome prognostication","prompt":"My patient is a 68-year-old with acute ischemic stroke, NIHSS of 18, arrived more than 3 hours after onset, has a visual field defect, blood glucose on admission was 210 mg/dL, and consciousness is impaired — what's their ASTRAL score and how likely is a poor 3-month outcome?"},{"title":"Neurology trainee learning ASTRAL thresholds","prompt":"Walk me through the ASTRAL score for a 55-year-old stroke patient with NIHSS 6, no delay over 180 minutes, no visual field defect, glucose of 5.0 mmol/L, and normal consciousness — and tell me whether the score crosses the 50% unfavorable-outcome threshold."},{"title":"Research data pipeline stroke scoring","prompt":"Score these acute ischemic stroke cases for ASTRAL: patient is 82 years old, NIHSS 22, admission was delayed more than 180 minutes, visual field defect is present, glucose 95 mg/dL, and consciousness is impaired."}],"resultDescription":"Returns the computed ASTRAL integer score derived from weighted contributions of age, NIHSS, onset-to-admission delay, visual field defect, glucose level, and impaired consciousness; a score ≥31 indicates approximately 50% probability of unfavorable 3-month functional outcome (mRS >2). The endpoint does not compute NIHSS or assess the patient directly — all clinical values must be caller-supplied.","failureModes":["Missing required parameters (age, nihss, delay_gt_180, visual_field_defect, loc_impaired) returns a validation error","Both glucose_mg_dl and glucose_mmol_l supplied simultaneously causes a conflict error","Age outside 18–120 or NIHSS outside 0–42 range may return a validation or out-of-range error","Glucose value outside expected range (mg/dL 50–1000 or mmol/L 2.8–55.5) may be rejected","Missing payment header (x402) results in 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a validated, guideline-referenced integer prognostic score for 3-month mRS outcome after acute ischemic stroke and all five required clinical inputs (age, NIHSS, delay, visual field defect, impaired consciousness) are already available from the clinician. It is not a tPA eligibility or treatment decision tool. Prefer it over manual calculation to avoid arithmetic errors in the weighted ASTRAL formula, especially in research pipelines or EHR-integrated clinical decision support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:27.815Z","isFirstParty":false}