# Titan

> Agents can also search and read this documentation through its [MCP server](https://titan-exchange.gitbook.io/titan/~gitbook/mcp).

## 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): Credential types and headers for Titan API requests.
- [Get API Access](https://titan-exchange.gitbook.io/titan/developer-doc/getting-started/api-access.md): Self-serve and distributor paths to Titan API credentials.
- [Introduction](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/introduction.md): Set up your Titan API key and start building.
- [Quickstart](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/quickstart.md): Fetch a quote and assemble an executable swap transaction.
- [Authentication](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/authentication.md): Authenticate Portal requests with an API key.
- [API Reference](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/reference.md): Endpoint reference for the Titan Developers Portal API.
- [Quote Swap](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/reference/quote-swap.md): Query parameters and response fields for GET /api/v1/quote/swap.
- [Info, Venues & Providers](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/reference/info-venues-providers.md): Protocol version, parameter bounds, venue labels and provider IDs.
- [Plans, Rate Limits & Credits](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/plans-rate-limits-credits.md): Plan tiers, rate limit behavior, credit accrual and plan changes.
- [Titan Genesis 50](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/titan-genesis-50.md): First 50 seats get 25% off their first year. Offer ends 23 Oct 2026.
- [Latency and Server Locations](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/latency.md): API regions and colocation guidance for lowest latency.
- [Errors](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/errors.md): HTTP response codes and error bodies for the Titan Developers Portal.
- [FAQ](https://titan-exchange.gitbook.io/titan/developer-doc/developers-portal/faq.md): Common questions about the Titan Developers Portal.
- [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/special-order-types/overview.md): Server-to-server DCA, stop-loss, take-profit, OCO and Slice Orders on Solana, built on Titan-managed wallets.
- [Quickstart](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/quickstart.md): Onboard a user and create your first order in four steps.
- [Order Types](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/order-types.md): The five order types you can create, the conditional-entry option, and how to pick between them.
- [DCA](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/order-types/dca.md): Recurring swaps on a fixed schedule — config fields, progress tracking, and modification.
- [Stop-Loss & Take-Profit](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/order-types/stop-loss-take-profit.md): One-shot orders that sell the full deposit when the watched price crosses a trigger.
- [OCO Brackets](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/order-types/oco.md): One deposit, two triggers — a take-profit ceiling and a stop-loss floor where the first fill cancels the other.
- [Trailing Stops](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/order-types/trailing.md): Make a trigger follow the market with trailingStopBps — on a stop-loss, a take-profit, or an OCO's stop leg.
- [Slice Orders](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/order-types/slice.md): One deposit swapped as a sequence of smaller back-to-back swaps, each quoted after the previous one confirms, to reduce price impact.
- [Conditional Entry & Bracket](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/order-types/otoco.md): Buy on a condition, then protect the position automatically — one request, one signature, one deposit.
- [Guides](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/guides.md): Task-oriented guides for the parts of the integration every order type shares.
- [Onboarding (SIWS)](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/guides/onboarding.md): Bind a user's external wallet to a Titan-managed manager with one SIWS signature.
- [Creating Orders](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/guides/creating-orders.md): The two-step intent/confirm flow that creates every order type, and the fields they share.
- [Managing Orders](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/guides/managing-orders.md): Read order state, then modify, pause, resume, cancel, or retry — and what each order type supports.
- [Withdrawals](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/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/special-order-types/guides/platform-fees.md): Collect a platform fee on every execution — DCA cycles and trigger fills alike.
- [Lifecycle & Polling](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/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/special-order-types/reference.md): The complete contract — auth, endpoints, schema, errors, and limits.
- [Authentication](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/reference/authentication.md): The two headers that authenticate every request, and the three request tiers.
- [Endpoints](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/reference/endpoints.md): Every route — method, auth tier, request, and response — across all five order types.
- [Order & Execution Schema](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/reference/schema.md): Field-by-field reference for the Order, Execution, and balance-row objects, across all five order types.
- [Error Codes](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/reference/error-codes.md): Every error code, grouped by category, with what triggers it and how to handle it.
- [Limits & Idempotency](https://titan-exchange.gitbook.io/titan/developer-doc/special-order-types/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.
