Navigation
Mobile DocsNavigation
Mobile Docs⚠️ Derivatives trading, spot market, and futures
Connect to ByBit API for cryptocurrency derivatives trading, spot trading, and futures contracts. Access market data, execute trades, manage positions, and track order history. Supports perpetual contracts, inverse futures, and spot trading. Uses API key authentication. ⚠️ REGULATORY NOTICE: This integration is for authorized use only. Derivatives and futures trading carries extremely high financial risk and may result in total loss. Users must comply with all applicable regulations. Not available in restricted jurisdictions.
⚠️ Keep your API keys secure. Use testnet for testing.
Placeholder: Your ByBit API Key
Layout: full
Placeholder: Your ByBit API Secret
Layout: full
Enable for testing with fake funds
Layout: half
Layout: full
Options: Get Server Time, Get Kline/Candlestick, Get Latest Ticker, Get Order Book
Layout: half
Condition: operation = ["get_ticker","get_orderbook","get_kline","get_recent_trades","get_wallet_balance","get_positions","get_active_orders","place_order","cancel_order","set_leverage"]
Options: Spot, USDT Perpetual, Inverse Perpetual, Options
Placeholder: BTCUSDT, ETHUSDT
Layout: half
Condition: operation = ["get_ticker","get_orderbook","get_kline","get_recent_trades","get_positions","get_active_orders","place_order","set_leverage","get_funding_rate"]
Layout: half
Condition: operation = "get_kline"
Options: 1 Minute, 5 Minutes, 15 Minutes, 1 Hour
Placeholder: 200
Layout: half
Condition: operation = ["get_kline","get_orderbook","get_recent_trades","get_order_history"]
Layout: half
Condition: operation = "place_order"
Options: 🟢 Buy, 🔴 Sell
Layout: half
Condition: operation = "place_order"
Options: Market, Limit
Placeholder: 0.01
Layout: half
Condition: operation = "place_order"
Placeholder: 50000
Layout: half
Condition: operation = "place_order"
Layout: half
Condition: operation = "place_order"
Options: Good Till Cancel, Immediate or Cancel, Fill or Kill
Placeholder: Order ID to cancel
Layout: full
Condition: operation = "cancel_order"
Placeholder: 10 (1-100)
Layout: half
Condition: operation = "set_leverage"
Required
Required
Optional
Required
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Primary response type:
{
"success": "boolean",
"data": "any"
}EXTREME RISK WARNING: Derivatives and futures trading carries exceptionally high financial risk and may result in total loss exceeding initial capital due to leverage. This block is intended for experienced traders only. Users must comply with all applicable financial regulations, KYC/AML requirements, and derivatives trading laws. ByBit services are restricted in numerous jurisdictions. Margin trading and leveraged products are extremely risky and may not be suitable for all investors. Users are solely responsible for ensuring compliance with local laws and regulations.