> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tide.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Tide API Documentation

> Complete API reference for Tide - Decentralized Perpetual Aggregator

# Welcome to Tide

Tide is a decentralized perpetual aggregator that routes trades and aggregates orderbooks across multiple DEX adapters including **Hyperliquid**, **Aster**, **Lighter**, **Pacifica**, and **Avantis**.

<Note>
  **Public API:** You can use the Tide API right now without generating Tide dashboard API keys. Call the endpoints directly; exchange-level credentials are only needed where a venue requires them (see each guide).
</Note>

## What is Tide?

Tide provides unified access to multiple decentralized exchanges through a single API, offering:

* **Multi-Exchange Aggregation**: Access liquidity across multiple DEXes
* **Optimal Trade Routing**: Automatically find the best prices and execution
* **Real-time Data**: Live market data and account updates via WebSocket
* **Advanced Order Types**: Support for limit, market, stop-loss, and take-profit orders
* **Position Management**: Comprehensive position tracking and risk management

## Quick Start

<CardGroup cols={2}>
  <Card title="Get Started" icon="rocket" href="/quickstart">
    Make your first API call in minutes—no Tide API key required today
  </Card>

  <Card title="Market Data" icon="chart-line" href="/market-data">
    Access real-time market data, orderbooks, and trade history
  </Card>

  <Card title="Trading" icon="arrows-rotate" href="/trading">
    Place orders, manage positions, and execute trades across exchanges
  </Card>

  <Card title="WebSocket" icon="satellite-dish" href="/websocket">
    Real-time data streams for market data and account updates
  </Card>
</CardGroup>

## Supported Exchanges

<CardGroup cols={2}>
  <Card title="Hyperliquid">
    <img src="https://mintcdn.com/arcane-0ded8dd0/z4C1e-4U8Br-9RtW/brand-logos/hyperliquid.svg?fit=max&auto=format&n=z4C1e-4U8Br-9RtW&q=85&s=1ad5de358eaa312c1d6fdb95a1b58513" alt="Hyperliquid" className="h-9 w-auto max-w-[200px] object-contain object-left mb-3" draggable={false} width="1132" height="177" data-path="brand-logos/hyperliquid.svg" />

    High-performance perpetual DEX with deep liquidity
  </Card>

  <Card title="Aster">
    <img src="https://mintcdn.com/arcane-0ded8dd0/z4C1e-4U8Br-9RtW/brand-logos/aster.svg?fit=max&auto=format&n=z4C1e-4U8Br-9RtW&q=85&s=d08dd00450ec05569ecc211d529c82a3" alt="Aster" className="h-9 w-auto max-w-[200px] object-contain object-left mb-3" draggable={false} width="667" height="177" data-path="brand-logos/aster.svg" />

    Cross-chain perpetual trading platform
  </Card>

  <Card title="Lighter">
    <img src="https://mintcdn.com/arcane-0ded8dd0/z4C1e-4U8Br-9RtW/brand-logos/lighter.svg?fit=max&auto=format&n=z4C1e-4U8Br-9RtW&q=85&s=735b3ff9aa3cf3337e84b6db8249825f" alt="Lighter" className="h-9 w-auto max-w-[200px] object-contain object-left mb-3" draggable={false} width="550" height="177" data-path="brand-logos/lighter.svg" />

    Orderbook-based DEX with low fees
  </Card>

  <Card title="Pacifica">
    <img src="https://mintcdn.com/arcane-0ded8dd0/z4C1e-4U8Br-9RtW/brand-logos/pacifica.svg?fit=max&auto=format&n=z4C1e-4U8Br-9RtW&q=85&s=bcbc3cc892c9ab3ab2f3d25f2de93897" alt="Pacifica" className="h-9 w-auto max-w-[200px] object-contain object-left mb-3" draggable={false} width="643" height="177" data-path="brand-logos/pacifica.svg" />

    Advanced DEX platform on Solana
  </Card>

  <Card title="Avantis">
    <img src="https://mintcdn.com/arcane-0ded8dd0/z4C1e-4U8Br-9RtW/brand-logos/avantis.svg?fit=max&auto=format&n=z4C1e-4U8Br-9RtW&q=85&s=2c7cbb2711d19e9b389d0e8bf4b8b783" alt="Avantis" className="h-9 w-auto max-w-[200px] object-contain object-left mb-3" draggable={false} width="960" height="177" data-path="brand-logos/avantis.svg" />

    Perpetual trading on Base
  </Card>
</CardGroup>

## Key Features

<AccordionGroup>
  <Accordion title="Multi-Exchange Aggregation">
    Access liquidity from multiple exchanges through a single API. Tide automatically routes your orders to the best available exchange based on price, liquidity, and execution speed.
  </Accordion>

  <Accordion title="Real-time Data Streams">
    Get live market data, order updates, and position changes through WebSocket connections. Perfect for building real-time trading applications.
  </Accordion>

  <Accordion title="Advanced Order Management">
    Support for various order types including limit, market, stop-loss, and take-profit orders. Manage complex trading strategies with ease.
  </Accordion>

  <Accordion title="Risk Management">
    Built-in risk management tools including position monitoring, margin tracking, and liquidation protection across all connected exchanges.
  </Accordion>
</AccordionGroup>

## API Endpoints Overview

| Category                    | Description                             | Tide API access                                     |
| --------------------------- | --------------------------------------- | --------------------------------------------------- |
| [Market Data](/market-data) | Public market data, tickers, orderbooks | Open (no Tide key)                                  |
| [Trading](/trading)         | Order placement and management          | Open (no Tide key); venue credentials as documented |
| [Positions](/positions)     | Position tracking and history           | Open (no Tide key); venue credentials as documented |
| [Account](/account)         | Balances and account management         | Open (no Tide key); venue credentials as documented |
| [WebSocket](/websocket)     | Real-time data streams                  | Open (no Tide key); auth when channels require it   |
| [System](/system)           | System status and health                | Open (no Tide key)                                  |

## Getting Help

<CardGroup cols={3}>
  <Card title="Telegram Community" icon="telegram" href="https://t.me/tidedotag">
    Join our community for discussions and support
  </Card>

  <Card title="API Status" icon="chart-line" href="https://status.tide.ag">
    Check real-time API status and uptime
  </Card>

  <Card title="Support" icon="twitter" href="https://x.com/tide_ag">
    Follow us on X for updates and support
  </Card>
</CardGroup>

## Next Steps

1. **[Quick Start Guide](/quickstart)** - Make your first API call (no Tide API key required today)
2. **[API Reference](/introduction)** - Base URL, public access, and future auth format
3. **[WebSocket Streams](/websocket)** - Set up real-time data feeds
4. **[Tide Dashboard](https://app.tide.ag/)** - Optional: wallets and app features

***

<Note>
  **Ready to start trading?** Check out our [Quick Start Guide](/quickstart) to get up and running in minutes.
</Note>
