> For the complete documentation index, see [llms.txt](https://titan-exchange.gitbook.io/titan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference.md).

# API Reference

**Full reference for every RPC method, endpoint, type, and error code across both Titan interfaces.** Choose [Titan Direct](/titan/developer-doc/swap-api/reference/direct-vs-gateway.md) for real-time WebSocket streams or [Titan Gateway](/titan/developer-doc/swap-api/reference/direct-vs-gateway.md) for simple REST calls — both are backed by the same Argos routing engine.
