# QIDS-SR16 Score Calculator (Rush 2003)

> QIDS-SR16 Score Calculator (Rush 2003) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

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.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/qids
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qids-sr16-score-calculator-rush-2003-ee55ef02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OVjx2fKvA3JArqXdmnpj5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability qids-sr16-score-calculator-rush-2003-ee55ef02
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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": "
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qids-sr16-score-calculator-rush-2003-ee55ef02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
