# Titan

## Products

- [Welcome to Titan](https://titan-exchange.gitbook.io/titan/readme.md)
- [Quickstart](https://titan-exchange.gitbook.io/titan/getting-started/quickstart.md): How to interact with the Titan platform
- [Prime Mode and Custom Settings](https://titan-exchange.gitbook.io/titan/getting-started/quickstart-1.md): Transaction settings on Titan and how to set your own custom settings
- [Private Beta](https://titan-exchange.gitbook.io/titan/getting-started/publish-your-docs.md)
- [Titan Limit Orders](https://titan-exchange.gitbook.io/titan/getting-started/titan-limit-orders.md)
- [Titan Private Swaps](https://titan-exchange.gitbook.io/titan/getting-started/titan-private-swaps.md)
- [Analytics](https://titan-exchange.gitbook.io/titan/getting-started/analytics.md)
- [Usernames and Referrals](https://titan-exchange.gitbook.io/titan/getting-started/usernames-and-referrals.md)
- [Titan DEX Integrations](https://titan-exchange.gitbook.io/titan/getting-started/titan-dex-integrations.md)
- [Titan DART](https://titan-exchange.gitbook.io/titan/getting-started/titan-dart.md): How to use DART when trading on Titan
- [How Swaps Work](https://titan-exchange.gitbook.io/titan/codex-of-knowledge/how-swaps-work.md)
- [DEX Aggregators](https://titan-exchange.gitbook.io/titan/codex-of-knowledge/dex-aggregators.md)
- [Titan's Unique Algorithm](https://titan-exchange.gitbook.io/titan/codex-of-knowledge/editor.md): How Titan provides outperformance
- [Meta Aggregation](https://titan-exchange.gitbook.io/titan/codex-of-knowledge/markdown.md)
- [DART Routing](https://titan-exchange.gitbook.io/titan/codex-of-knowledge/dart-routing.md): Titan's onchain routing engine — the first router that dynamically re-optimizes a trade at the exact moment of execution, not seconds before

## Developer Docs

- [Home](https://titan-exchange.gitbook.io/titan/developer-doc/home.md): Build on the best swap execution on Solana.
- [Introduction](https://titan-exchange.gitbook.io/titan/developer-doc/getting-started/introduction.md): What Titan is, what it offers, and where to start.
- [Authentication](https://titan-exchange.gitbook.io/titan/developer-doc/getting-started/authentication.md): How to authenticate with the Titan API.
- [Get API Access](https://titan-exchange.gitbook.io/titan/developer-doc/getting-started/api-access.md): How to get an API token to start building with Titan.
- [Quickstart](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/quickstart.md): Get your first swap quote with Titan.
- [Guides](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/guides.md): Step-by-step guides for common Titan Swap API workflows.
- [Swap V2 vs Swap V3](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/guides/swap-v2-vs-v3.md): What Swap V3 changes over V2 and how to opt in.
- [Stream & Execute a Swap](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/guides/stream-and-execute.md): Connect to Titan Direct, stream live quotes, and execute a swap end to end.
- [Configure Routing](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/guides/configure-routing.md): Control which venues, providers, and route shapes Titan uses when computing swap quotes.
- [Fee Collection](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/guides/fee-collection.md): Collect a fee on every swap by specifying a fee account and basis-point rate in your request.
- [Transaction Template](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/guides/transaction-template.md): Reserve room in the swap transaction for your own instructions and address lookup tables — so the route Titan returns still fits when you assemble the final transaction.
- [Error Handling & Reconnect](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/guides/error-handling.md): Handle server errors, stream failures, and connection drops in Titan Direct integrations.
- [API Reference](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference.md): Complete API reference for Titan Direct (WebSocket) and Titan Gateway (REST).
- [Titan Direct vs Titan Gateway](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct-vs-gateway.md): Side-by-side comparison of Titan's two integration paths.
- [Titan Direct](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct.md): Titan Direct — persistent WebSocket API with real-time streaming swap quotes.
- [Connection & Negotiation](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct/connection.md): Connect to Titan Direct, negotiate the protocol version and compression, and send your first request.
- [GetInfo](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct/get-info.md): Read the server's protocol version and default settings before opening streams.
- [NewSwapQuoteStream](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct/new-swap-quote-stream.md): Open a streaming swap quote that updates continuously as on-chain state changes.
- [StopStream](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct/stop-stream.md): Stop an active quote stream by its ID.
- [GetVenues / ListProviders](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct/venues-providers.md): Discover available venues and quote providers at runtime.
- [GetSwapPrice](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/direct/get-swap-price.md): Get a price-only quote without transaction data.
- [Titan Gateway](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/gateway.md): Titan Gateway — simple REST endpoints backed by the Argos routing engine.
- [Quote Swap](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/gateway/gateway-quote-swap.md): Request swap quotes with executable instructions via REST.
- [Quote Price](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/gateway/gateway-quote-price.md): Get a price-only quote via REST without transaction data.
- [Info / Venues / Providers](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/gateway/gateway-info.md): Server info, venues, and providers via REST.
- [Wire Protocol](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/wire-protocol.md): MessagePack encoding conventions, data types, and serialization rules for Titan's API.
- [Types Reference](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/types.md): Quick reference index for all Titan API types — links to the page where each type is defined.
- [Error Codes](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference/error-codes.md): Error codes returned by the Titan API.
- [Overview](https://titan-exchange.gitbook.io/titan/developer-doc/dart-swap-api/overview.md): DART — Dynamically Allocated Real Time Routing for best swap execution on Solana.
- [Get API Access](https://titan-exchange.gitbook.io/titan/developer-doc/dart-swap-api/get-api-access.md): How to get access to the DART Swap API.
- [How to Use](https://titan-exchange.gitbook.io/titan/developer-doc/dart-swap-api/how-to-use.md): Guide for the DART public endpoint — free, no API key, 1 req/sec, JSON responses.
- [Overview](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/overview.md): Server-to-server Dollar-Cost-Averaging on Solana, built on Titan-managed wallets.
- [Quickstart](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/quickstart.md): Onboard a user and create your first DCA order in four steps.
- [Guides](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/guides.md): Task-oriented guides for integrating Titan DCA.
- [Onboarding (SIWS)](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/guides/onboarding.md): Bind a user's external wallet to a Titan-managed manager with one SIWS signature.
- [Create & Manage Orders](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/guides/orders.md): Create, modify, pause, resume, retry, and cancel DCA orders.
- [Withdrawals](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/guides/withdrawals.md): Return funds from a user's manager to their external wallet — wallet-level and per-order.
- [Platform Fees](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/guides/platform-fees.md): Collect a per-cycle platform fee on DCA swaps, configured per tenant.
- [Lifecycle & Polling](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/guides/lifecycle.md): Order statuses, the withdrawal lifecycle, and how to keep your UI in sync by polling.
- [API Reference](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/reference.md): The complete DCA Partner API contract — auth, endpoints, schema, errors, and limits.
- [Authentication](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/reference/authentication.md): The two headers that authenticate every DCA Partner API request, and the request tiers.
- [Endpoints](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/reference/endpoints.md): Every DCA Partner API route — method, auth tier, request, and response.
- [Order & Execution Schema](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/reference/schema.md): Field-by-field reference for the Order, Execution, and balance-row objects.
- [Error Codes](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/reference/error-codes.md): Every DCA Partner API error code, grouped by category, with what triggers it.
- [Limits & Idempotency](https://titan-exchange.gitbook.io/titan/developer-doc/dca-partner-api/reference/limits.md): Row caps, TTLs, per-cycle minimums, and the idempotency contract.
- [Overview](https://titan-exchange.gitbook.io/titan/developer-doc/searchers-limit-orders/overview.md): On-chain limit orders with partial fills, searcher execution, and configurable time-in-force.
- [Placing Taker Orders](https://titan-exchange.gitbook.io/titan/developer-doc/searchers-limit-orders/take-order.md): Fill limit orders as a searcher — instruction layout, accounts, WSOL edge cases, and full execution code.
- [Limit Order Events](https://titan-exchange.gitbook.io/titan/developer-doc/searchers-limit-orders/events.md): Parse limit order events from program logs using Borsh deserialization.
- [Error Codes](https://titan-exchange.gitbook.io/titan/developer-doc/searchers-limit-orders/error-codes.md): Custom error codes thrown by the Titan Limit Order program.
- [SDK Reference](https://titan-exchange.gitbook.io/titan/developer-doc/resources/sdk.md): Official SDKs for Titan Direct — TypeScript (high-level client) and Rust (types + codec).
- [Community & Support](https://titan-exchange.gitbook.io/titan/developer-doc/resources/community-and-support.md): Get help, report issues, and connect with the Titan community.
- [AI / LLM Integration](https://titan-exchange.gitbook.io/titan/developer-doc/resources/ai-llm-integration.md): Integrate Titan swap functionality into AI agents and LLM-powered applications.
