One API. From order to settlement.
REST endpoints, WebSocket channels, and MCP tools for trading and account management.
API Addresses
Section titled “API Addresses”| Interface | Base URL | Version |
|---|---|---|
| REST | https://api.trade8.xyz |
/v1 |
| WebSocket | wss://ws.trade8.xyz |
/v1 |
| MCP | https://mcp.trade8.xyz/mcp |
2026-07-28 |
Start Building
Section titled “Start Building”Connect Your AI AgentConfigure MCP, set permissions, and connect your agent.
MCP Tool Reference19 tools with argument schemas, permissions, and exchange and custody examples.
QuickstartRead markets, sign a request, and follow a Binance/Bybit order.
REST API ReferenceEndpoint groups, permissions, required fields, signed requests, and response schemas.
WebSocket ReferenceTwelve channels for market data, orders, fills, risk, collateral, and settlements.
Authentication and API KeysHMAC signing, account grants, IP restrictions, and credential rotation.
Follow the Trading Workflow
Section titled “Follow the Trading Workflow”- Markets and Exchange Contracts: Binance, Bybit, OKX, Hyperliquid, and dYdX mappings, precision, and settlement assets.
- Orders and Execution: lifecycle states, partial fills, stop-loss and take-profit orders, amendments, and cancellations.
- Routing Controls: exchange selection, slippage boundaries, direct routing, and collateral eligibility.
- Positions and Margin: exposure, leverage, cross and isolated margin, and liquidation risk.
- Custody and Settlement: linked providers, Ceffu/Binance allocations, Copper/OKX settlement, deposits, and transfers.
Keep State Consistent
Section titled “Keep State Consistent”Requests and RetriesCursor pagination, idempotency, timeout recovery, and rate-limit headers.
WebSocket ConnectionsSession authentication, subscription acknowledgements, heartbeats, and reconnects.
Order-Book RecoveryApply snapshots and deltas with decimal precision and sequence checks.
Market-Making WorkflowsQuote generation, subaccounts, post-only orders, and dead-man-switch protection.
Download the OpenAPI specification, WebSocket channel schemas, and Node.js or Python signing examples. For operational questions, see the Help Center or Contact Us.