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

# 获取最新成交

`获取最新成交数据。`

#### 请求URL

`GET https://api.woox.io/v3/public/marketTrades`

#### 请求限制

每个 IP 每 1 秒最多 10 次请求

#### 请求参数

> 请求

```shell theme={null}
curl "https://api.woox.io/v3/public/marketTrades?symbol=PERP_BTC_USDT&limit=1"
```

| 参数 | 类型 | 是否必填 | 描述 |
| :- | :- | :- | :- |
| symbol | String | 是 | 交易对，如 `PERP_BTC_USDT` |
| limit | Integer | 否 | 查询的成交笔数，默认 `10`，最大 `1000` |

#### 响应详情

> 响应

```json theme={null}
{
  "success": true,
  "timestamp": 1794963202342,
  "data": {
    "rows": [
      {
        "symbol": "PERP_BTC_USDT",
        "side": "BUY",
        "source": 0,
        "executedPrice": "64728",
        "executedQuantity": "0.06963",
        "executedTimestamp": 1794963200835,
        "rpi": false
      }
    ]
  }
}
```

| 字段 | 类型 | 描述 |
| :- | :- | :- |
| symbol | String | 交易对 |
| side | String | 成交方向 |
| source | Number | 成交来源 -`1`=内部（WOO X 上的成交） -`0`=外部（聚合来源的成交） |
| executedPrice | String | 成交价格 |
| executedQuantity | String | 成交数量 |
| executedTimestamp | Long | 成交时间（毫秒） |
| rpi | Boolean | 是否与 RPI 订单撮合 |


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