# Get Subscriptions

`WS` `request · cmd 5`

> **Quote Permission Required · Free**
> Included with OpenAPI activation — no extra purchase needed.
> _OpenAPI quote perms are separate from App/Web perms_

This API is used to obtain the subscription information.

```protobuf
message SubscriptionRequest {
}

message SubscriptionResponse {
  repeated SubTypeList sub_list = 1;
}

message SubTypeList {
  string symbol = 1;
  repeated SubType sub_type = 2;
}
```

## Response Fields

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `sub_list` | object[] | No | Subscribed data |
| `└ symbol` | string | No | Security code |
| `└ sub_type` | int32[] | No | Subscription type, see SubType |

## Response JSON Example

```json
{
  "sub_list": [
    {
      "symbol": "700.HK",
      "sub_type": [
        1,
        2,
        3
      ]
    },
    {
      "symbol": "AAPL.US",
      "sub_type": [
        2
      ]
    }
  ]
}
```
