> 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/getting-started/api-access.md).

# Get API Access

Self-serve and distributor paths to Titan API credentials.

Titan API access is available in two ways: self-serve through the Developers Portal, or through a distributor.

## Developers Portal

Sign in at [developer.titan.exchange](https://developer.titan.exchange/), create an API key, and call `portal.api.titan.exchange` over REST. The Sandbox plan is free; paid plans raise the rate limit and included credits.

|                 |                                         |
| --------------- | --------------------------------------- |
| Credential      | API key, sent in the `x-api-key` header |
| Interfaces      | REST                                    |
| Response format | JSON or MessagePack                     |
| Plans           | Sandbox (free), Build, Scale, Growth    |

See the [Developers Portal](/titan/developer-doc/developers-portal/introduction.md) section for setup, plans and reference.

## Through a distributor

Titan is available through the following distributors:

* [**Triton**](https://docs.triton.one/trading-apis/titan-swap-api) — Titan Swap API documentation on Triton
* [**QuickNode**](https://marketplace.quicknode.com/add-on/titan-swap) — Titan Swap add-on on the QuickNode Marketplace

Distributors issue a JWT and a base URL, and provide Titan Gateway (REST) and, for enterprise customers, Titan Direct (WebSocket streaming). Titan Direct is served at `/api/v1/ws` and Titan Gateway endpoints under `/api/v1/` on that base URL. Existing Triton or QuickNode customers can obtain access without contacting Titan.

|                 |                                                  |
| --------------- | ------------------------------------------------ |
| Credential      | JWT, sent as `Authorization: Bearer` or `?auth=` |
| Interfaces      | REST and WebSocket                               |
| Response format | MessagePack                                      |

## Which path

| Requirement                                      | Path                                        |
| ------------------------------------------------ | ------------------------------------------- |
| Self-serve signup with no distributor account    | Developers Portal                           |
| JSON responses                                   | Developers Portal                           |
| Streaming quotes that update with on-chain state | Distributor (Titan Direct, enterprise only) |
| Existing Triton or QuickNode account             | Distributor                                 |

Routing quality is identical on every path.

{% hint style="info" %}
Once you have credentials, go to the [Developers Portal Quickstart](/titan/developer-doc/developers-portal/quickstart.md) for API-key access or the [Swap API Quickstart](/titan/developer-doc/swap-api/quickstart.md) for distributor access.
{% endhint %}
