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

# 【Public】BBO Channel

Pushes the best bid and best ask price and quantity of a symbol.

### Pushing Rules

1. No user login required
2. Pushed every 10ms

### Request

> Request

```json theme={null}
{
  "id": "1",
  "cmd": "SUBSCRIBE",
  "params": ["bbo@PERP_BTC_USDT"]
}
```

Topic Format:

`bbo@<symbol>`

* symbol: Trading pair, such as `PERP_BTC_USDT`

### Response

> Response

```json theme={null}
{
  "topic": "bbo@PERP_BTC_USDT",
  "ts": 1618820361552,
  "data": {
    "s": "PERP_BTC_USDT",
    "ap": "42598.20",
    "aq": "1.05",
    "bp": "42598.10",
    "bq": "2.01",
    "ts": 1618820361540
  }
}
```

Return data description:

| Field | Type | Description |
| :- | :- | :- |
| s | String | Symbol |
| ap | String | Best ask price |
| aq | String | Best ask quantity |
| bp | String | Best bid price |
| bq | String | Best bid quantity |
| ts | Long | Matching engine generation time (in millisecond) |

***

## BBO (RPI)

Pushes the best bid and best ask of the book with both non-RPI and RPI orders.

### Request

> Request

```json theme={null}
{
  "id": "1",
  "cmd": "SUBSCRIBE",
  "params": ["bborpi@PERP_BTC_USDT"]
}
```

Topic Format:

`bborpi@<symbol>`

* symbol: Trading pair, such as `PERP_BTC_USDT`. Pushed every 10ms

### Response

The response format is the same as `bbo`, with `topic` being `bborpi@PERP_BTC_USDT`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.