{"uid":"cap_OVjx2fKvA3JArqXdmnpj5","slug":"qids-sr16-score-calculator-rush-2003-ee55ef02","name":"QIDS-SR16 Score Calculator (Rush 2003)","description":"Rush 2003 QIDS-SR16 from 16 caller-assigned integers 0-3 mapped to nine DSM-IV domains. Sleep is the max of four sleep items; appetite/weight is the max of four appetite and weight items; psychomotor is the max of retardation and agitation; remaining items add as published. Total 0-27. Severity: 0-5 none, 6-10 mild, 11-15 moderate, 16-20 severe, 21-27 very_severe. magent does not interpret items or administer a depression interview. Not a diagnosis, not QIDS-C, not IDS-30, and not PHQ-9.","url":"https://api.magentlab.com/api/calc/qids","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":["sleep_onset","mid_nocturnal","early_morning","hypersomnia","sad_mood","decreased_appetite","increased_appetite","decreased_weight","increased_weight","concentration","self_view","suicidal_ideation","interest","energy","psychomotor_retardation","psychomotor_agitation"],"properties":{"energy":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 14 (integer 0-3): energy / fatigability. Adds as published (one domain). magent does not interpret the item."},"interest":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 13 (integer 0-3): general interest. Adds as published (one domain). magent does not interpret the item."},"sad_mood":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 5 (integer 0-3): feeling sad. Adds as published (one domain). magent does not interpret the item."},"self_view":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 11 (integer 0-3): view of myself / self-criticism. Adds as published (one domain). magent does not interpret the item."},"hypersomnia":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 4 (integer 0-3): sleeping too much. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item."},"sleep_onset":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 1 (integer 0-3): falling asleep / initial insomnia over the prior 7 days. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item."},"concentration":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 10 (integer 0-3): concentration / decision making. Adds as published (one domain). magent does not interpret the item."},"early_morning":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 3 (integer 0-3): waking up too early / late insomnia. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item."},"mid_nocturnal":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 2 (integer 0-3): sleep during the night / middle insomnia. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item."},"decreased_weight":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 8 (integer 0-3): decreased weight. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item."},"increased_weight":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 9 (integer 0-3): increased weight. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item."},"suicidal_ideation":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 12 (integer 0-3): thoughts of death or suicide. Adds as published (one domain). magent does not interpret the item."},"decreased_appetite":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 6 (integer 0-3): decreased appetite. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item."},"increased_appetite":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 7 (integer 0-3): increased appetite. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item."},"psychomotor_agitation":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 16 (integer 0-3): feeling restless. The psychomotor domain is the maximum of items 15-16, not the sum. magent does not interpret the item."},"psychomotor_retardation":{"type":"integer","description":"Caller-assigned Rush 2003 QIDS-SR item 15 (integer 0-3): feeling slowed down. The psychomotor domain is the maximum of items 15-16, not the sum. magent does not interpret the item."}}}},"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_rZxtwOQoH9rcu1rIVc3A2","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 Quick Inventory of Depressive Symptomatology Self-Report (QIDS-SR16) total score and severity category from 16 caller-supplied item ratings using the Rush 2003 domain aggregation rules.","exampleAgentPrompt":"Calculate the QIDS-SR16 total score and severity for a patient whose items are: sleep_onset=1, mid_nocturnal=2, early_morning=0, hypersomnia=0, sad_mood=2, decreased_appetite=1, increased_appetite=0, decreased_weight=1, increased_weight=0, concentration=2, self_view=1, suicidal_ideation=1, interest=2, energy=2, psychomotor_retardation=1, psychomotor_agitation=0.","exampleUseCases":[{"title":"Score a completed QIDS-SR16 survey","prompt":"I have a patient's completed QIDS-SR16 self-report: sleep_onset=2, mid_nocturnal=1, early_morning=2, hypersomnia=0, sad_mood=3, decreased_appetite=0, increased_appetite=1, decreased_weight=0, increased_weight=2, concentration=2, self_view=2, suicidal_ideation=1, interest=3, energy=2, psychomotor_retardation=1, psychomotor_agitation=0 — what is their total score and severity category?"},{"title":"Track depression severity over time","prompt":"My app collected QIDS-SR16 item responses this week: sleep_onset=0, mid_nocturnal=1, early_morning=0, hypersomnia=0, sad_mood=1, decreased_appetite=1, increased_appetite=0, decreased_weight=0, increased_weight=0, concentration=1, self_view=1, suicidal_ideation=0, interest=1, energy=1, psychomotor_retardation=0, psychomotor_agitation=0 — compute the Rush 2003 domain-aggregated total so I can store it in the trend chart."},{"title":"Research pipeline batch scoring","prompt":"For a research dataset record, score these QIDS-SR16 item values using the Rush 2003 rules: sleep_onset=3, mid_nocturnal=2, early_morning=3, hypersomnia=1, sad_mood=3, decreased_appetite=2, increased_appetite=0, decreased_weight=2, increased_weight=0, concentration=3, self_view=3, suicidal_ideation=2, interest=3, energy=3, psychomotor_retardation=2, psychomotor_agitation=1 — give me the total and whether it falls in the severe or very_severe range."}],"resultDescription":"Returns the QIDS-SR16 total score (integer 0-27) derived from nine DSM-IV domains using Rush 2003 aggregation rules (sleep = max of four sleep items; appetite/weight = max of four appetite/weight items; psychomotor = max of retardation and agitation; remaining six items added directly), plus a severity label: none (0-5), mild (6-10), moderate (11-15), severe (16-20), or very_severe (21-27).","failureModes":["Missing any of the 16 required query parameters returns a 400 error","Item values outside 0-3 integer range may cause validation errors","Non-integer (float or string) values for item scores may be rejected","Network timeout if the API is unreachable"],"whenToPreferThis":"Use this endpoint when you need to programmatically score a completed QIDS-SR16 questionnaire following the exact Rush 2003 domain aggregation rules (max-of-group for sleep and appetite/weight domains) without implementing the scoring logic yourself. Prefer it over PHQ-9 scoring endpoints when the instrument used is specifically the 16-item QIDS self-report. Do not use it to administer the questionnaire, interpret individual items clinically, or as a substitute for the clinician-administered QIDS-C or the full IDS-30.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:09:08.074Z","isFirstParty":false}