Crypto recent trades (OKX)
crypto_recent_tradesFetch recent public trades for any crypto spot or swap instrument, including price, size, side, and timestamp.
Instructions
Most recent public trades for an instrument: price, size, side, trade id, timestamp. Works for spot and swap ids. Example: { instId: "BTC-USDT", limit: 50 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| instId | Yes | e.g. BTC-USDT or BTC-USDT-SWAP |