# Tide API Documentation ## Docs - [Create Server Wallet](https://docs.tide.ag/account/create-wallet.md): Create a new MPC-secured server wallet for a user - [Deposit Funds](https://docs.tide.ag/account/deposit.md) - [Get Account Balances](https://docs.tide.ag/account/get-balances.md): Returns balance data for a specific exchange and wallet address. Supports Hyperliquid, Lighter, Aster, and Avantis. - [Import Lighter Credentials](https://docs.tide.ag/account/import-lighter-credentials.md): Import existing Lighter API credentials for a wallet. Used when delegation or server wallet generation is not possible. - [Register API Key](https://docs.tide.ag/account/register-api-key.md): Register API keys with exchanges to enable trading operations. Links server wallet to exchange accounts. - [Withdraw Funds](https://docs.tide.ag/account/withdraw.md) - [Error Handling](https://docs.tide.ag/errors.md): The Tide API uses conventional HTTP response codes and provides detailed error information to help you handle various error conditions gracefully. - [API Reference](https://docs.tide.ag/introduction.md): Complete API reference for Tide endpoints - [Get Aggregated Order Book](https://docs.tide.ag/market-data/orderbook.md): Fetch aggregated order book across all or selected DEXes - [Get Ticker Data](https://docs.tide.ag/market-data/ticker.md): Retrieve mark price, 24h statistics, and funding data for a symbol across supported exchanges. - [Get Token Pairs](https://docs.tide.ag/market-data/token-pairs.md): Retrieve all available token pairs across supported trading platforms - [Get Recent Trades](https://docs.tide.ag/market-data/trades.md): Get recent public trades for a symbol - [Get Open Positions](https://docs.tide.ag/positions/get-positions.md): Fetch normalized open positions for a wallet across all connected derivatives venues (Lighter, Aster, Hyperliquid, Avantis) - [Quick Start](https://docs.tide.ag/quickstart.md): Get up and running with HyperDEX API in 5 steps - [Schema Reference](https://docs.tide.ag/schema.md): TypeScript interfaces and data models for the Tide API - [Get System Status](https://docs.tide.ag/system/get-status.md): Get health status of the aggregator and connected exchange adapters - [Close Position](https://docs.tide.ag/trading/close-position.md): Close an existing position using a reduce-only order - [Execute Smart Order](https://docs.tide.ag/trading/execute-smart-order.md): Executes a trade by automatically routing it to the exchange with the best price, or to a preferred exchange if specified. - [Get Order Status](https://docs.tide.ag/trading/get-order-status.md): Retrieve the latest status for any order placed through the aggregator. Normalizes venue-specific payloads from Lighter, Aster, Hyperliquid, and Avantis. - [Place Order](https://docs.tide.ag/trading/open-position.md) - [Get Routing Recommendation](https://docs.tide.ag/trading/routing-recommendation.md): Fetches the current best exchange and price for a symbol without executing a trade. - [Set Leverage (Aster)](https://docs.tide.ag/trading/set-leverage.md) - [User Flow Documentation](https://docs.tide.ag/user-flow.md): Complete guide for setting up and using Lighter DEX integration with HyperDEX - [WebSocket API](https://docs.tide.ag/websocket.md): Real-time data streams for market data and account updates ## OpenAPI Specs - [openapi](https://docs.tide.ag/openapi.json) ## Optional - [API Status](https://api.tide.ag/health) - [Community](https://t.me/tidedotag) - [Support](https://x.com/tide_ag)