> For the complete documentation index, see [llms.txt](https://docs.triton.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.triton.one/solana/rpc-methods/sending-transactions/titan.md).

# Titan

Titan swap API under /titan on Triton Solana mainnet endpoints: stream swap quotes over a WebSocket and get the instructions to execute each swap.

Titan's swap API is available on your Triton Solana mainnet endpoint under the `/titan` path. Triton passes everything after `/titan` to Titan's API, so these are the paths to use:

| Endpoint                                                                               | What it does                                                                                                                  |
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `wss://<your-endpoint>.mainnet.rpcpool.com/<your-token>/titan/api/v1/ws`               | Streams live swap quotes over a WebSocket. See [Titan quotes](/solana/rpc-methods/sending-transactions/titan/titan-quote.md). |
| `GET https://<your-endpoint>.mainnet.rpcpool.com/<your-token>/titan/api/v1/quote/swap` | Returns swap quotes with the instructions to execute them, over REST.                                                         |

The WebSocket uses binary MessagePack frames. The REST endpoint returns MessagePack by default; send `Accept: application/json` to get JSON instead. To execute a quote, see [Titan swaps](/solana/rpc-methods/sending-transactions/titan/titan-swap.md).

***

<i class="fa-life-ring">:life-ring:</i> Contact support by clicking the chat icon in your [customer dashboard](https://customers.triton.one)\ <i class="fa-briefcase">:briefcase:</i> Sales questions? [Contact us](https://triton.one/contact)\ <i class="fa-sparkles">:sparkles:</i> AI agent? Read [llms.txt](https://docs.triton.one/llms.txt)\ <i class="fa-rss">:rss:</i> Follow updates: [Blog](https://blog.triton.one) · [X](https://x.com/triton_one) · [YouTube](https://www.youtube.com/@triton_one_ltd) · [Telegram](https://t.me/tritonone) · [GitHub](https://github.com/rpcpool)
