API & AI Agents·5 min read·Updated: 2026-11-29
Public API & Gaia AI Agent Quickstart
Connect quantitative bots to the Binance-compatible GaiaEx Unified Futures API (/fapi/v1 & /fapi/v2) and explore the Gaia AI Agent workspace.
1. Endpoints & Authentication
GaiaEx exposes a unified REST and WebSocket API compatible with standard quantitative tooling (Python, TypeScript, Rust, CCXT):
- REST Base URL: https://openapi.gaiaex.com (public market data on /fapi/v1/ping, /fapi/v1/exchangeInfo, /fapi/v1/depth, /fapi/v1/klines, /fapi/v1/ticker/24hr).
- WebSocket Streams: wss://openapi.gaiaex.com and wss://ws.gaiaex.com for real-time order books, trades, and user data updates.
- Signed Requests: Pass X-MBX-APIKEY in the header and append timestamp + HMAC-SHA256 signature computed with your API secret.
- Automatic Venue Routing: Pass BTCUSDC for Hyperliquid USDC perps or BTCUSDT for Aster USDT perps on the exact same /fapi/v1/order endpoint.
2. Using the Gaia AI Agent Preview
Eligible accounts can open the Gaia AI Agent workspace (/ai-agent) to analyze positions, compare order types, and connect approved workflows. Developers building with Claude Code or OpenAI Codex can also load GaiaEx's official AI skill packs from /docs.
Note: Signing into the AI Agent workspace is separate from enabling trading permissions. Always review AI-proposed orders independently before execution.

