> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the program for a symbol

> **Required scope:** read

**Required scope:** `read`

### Path parameters

<ParamField path="symbol_id" type="integer (int64)" required>
  Symbol ID
</ParamField>

### Response

`ProgramResponse`

<ResponseField name="depth" type="integer" required>
  Program depth
</ResponseField>

<ResponseField name="program" type="string" required>
  Program representation (simplified)
</ResponseField>

<ResponseField name="symbol_id" type="integer (int64)" required>
  Symbol ID
</ResponseField>

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Program found                                      |
| `401` | Unauthorized — missing or invalid credentials      |
| `403` | Forbidden — the key/token lacks the required scope |
| `404` | Program not found                                  |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.nsr.stateset.com/api/v1/nsr/programs/{symbol_id}' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "depth": 1,
    "program": "string",
    "symbol_id": 1001
  }
  ```
</ResponseExample>
