Websocket obtains "limited depth information". How to identify which symbol the pushed depth data belongs to?

This is the pushed limited depth data obtained:

{
“lastUpdateId”: 44498793872,
“bids”: [
[
“65546.76000000”,
“2.45457000”
],
[
“65546.75000000”,
“0.01275000”
],
[
“65546.72000000”,
“0.01950000”
],
[
“65546.39000000”,
“0.32000000”
],
[
“65545.73000000”,
“0.10280000”
],
[
“65545.61000000”,
“0.38000000”
],
[
“65544.73000000”,
“0.00010000”
],
[
“65544.01000000”,
“0.08072000”
],
[
“65544.00000000”,
“0.13450000”
],
[
“65543.22000000”,
“0.00053000”
],
[
“65542.26000000”,
“0.00137000”
],
[
“65542.04000000”,
“0.00010000”
],
[
“65541.69000000”,
“0.08348000”
],
[
“65541.52000000”,
“0.00053000”
],
[
“65541.18000000”,
“0.06000000”
],
[
“65540.19000000”,
“0.28000000”
],
[
“65540.18000000”,
“0.10000000”
],
[
“65540.07000000”,
“0.38205000”
],
[
“65540.00000000”,
“0.13450000”
],
[
“65539.82000000”,
“0.00053000”
]
],
“asks”: [
[
“65546.77000000”,
“1.81218000”
],
[
“65546.86000000”,
“0.07633000”
],
[
“65546.89000000”,
“0.14442000”
],
[
“65548.64000000”,
“0.74492000”
],
[
“65548.80000000”,
“0.00010000”
],
[
“65549.49000000”,
“0.15265000”
],
[
“65549.99000000”,
“0.34267000”
],
[
“65550.00000000”,
“0.58067000”
],
[
“65551.49000000”,
“0.00010000”
],
[
“65551.57000000”,
“0.00129000”
],
[
“65551.90000000”,
“0.08348000”
],
[
“65552.00000000”,
“0.13450000”
],
[
“65552.95000000”,
“0.00010000”
],
[
“65553.44000000”,
“0.00053000”
],
[
“65554.29000000”,
“0.06841000”
],
[
“65554.46000000”,
“0.08363000”
],
[
“65554.76000000”,
“0.08072000”
],
[
“65555.03000000”,
“0.00010000”
],
[
“65555.26000000”,
“0.15264000”
],
[
“65556.00000000”,
“0.13450000”
]
]
}

You need to use ”combined streams” (see docs).

For example, instead of listening to wss://stream.binance.com/ws/btcusdt@depth you should listen to wss://stream.binance.com/stream?streams=btcusdt@depth. In that case the events will include the stream name which has the symbol in it:

{
  "stream": "btcusdt@depth",
  "data": {
    "e": "depthUpdate",
    "E": 1710738377323,
    "s": "BTCUSDT",
    "U": 44546162069,
    "u": 44546162138,
    "b": [
      [
        "68251.29000000",
        "4.37119000"
      ],
      [
        "68251.20000000",
        "0.00000000"
      ]
    ],
    "a": [
      [
        "68251.30000000",
        "3.44928000"
      ],
      [
        "68299.38000000",
        "0.00000000"
      ]
    ]
  }
}

You can also switch between “raw” and “combined” modes after establishing a connection, before subscribing to the streams.