okx_get_ticker
Get current price, 24h change, and volume for any OKX instrument. Specify spot or perpetual futures and trading pair to receive real-time market data.
Instructions
Get current price, 24h change, and volume for any OKX instrument (BTC-USDT, ETH-USDT, SOL-USDT, OKB-USDT)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instType | No | SWAP = perpetual futures, SPOT = spot | SWAP |
| instrument | No | Trading pair, e.g. BTC-USDT, ETH-USDT, SOL-USDT | BTC-USDT |