---
title: "Access and credentials"
url: https://docs.truemarkets.co/institutional/access-and-credentials
description: "Sign in, connect to the exchange and create the API key you use for REST, WebSocket and FIX."
---

Docs index: https://docs.truemarkets.co/llms.txt

# Access and credentials

Before your first order, your firm needs an account, a way to reach the exchange and an API key. The steps are the same for every firm, market makers included.

## Get access

Sign in or create an account at [app.truemarkets.co](https://app.truemarkets.co). Your firm's exchange access, API keys and wallet all live on that account.

Access depends on where you connect from. We restrict it by the location of the IP address your requests come from, so connect from a location we serve. Email [support@truemarkets.co](mailto:support@truemarkets.co) with questions about access.

## Connect to the exchange

REST and WebSocket are reachable over the internet. REST is at `https://api.truex.co`, and WebSocket at `wss://api.truemarkets.co/v1/cefi/market`. The [Exchange REST reference](https://docs.truemarkets.co/api/institutional/exchange-rest) and the [Exchange WebSocket reference](https://docs.truemarkets.co/api/websocket/institutional) have the details.

FIX runs over a private network connection between your firm and the exchange. Email [support@truemarkets.co](mailto:support@truemarkets.co) and we set it up with you.

## Create your API key

One API key works for REST, WebSocket and FIX. Create it at [app.truemarkets.co](https://app.truemarkets.co), under Settings, API keys. Your browser generates an EC P-256 key pair and downloads a file with your `key_id` and the private key. Only the public half reaches us.

How you use the key depends on the protocol:

- **REST:** sign a challenge with the private key to mint a JWT, then send the JWT in `Authorization: Bearer`. The JWT carries your client id, so you don't send one. [Trade over REST](https://docs.truemarkets.co/institutional/trade-over-rest) shows the calls.
- **WebSocket:** sign each private subscription with the private key, using ES256. The [Exchange WebSocket reference](https://docs.truemarkets.co/api/websocket/institutional) has the payload.
- **FIX:** send your `key_id` in `Username` and an ES256 signature of the `Logon` in `Password`. [Administrative messages](https://docs.truemarkets.co/api/fix/admin) lists the Logon fields. We assign the `TargetCompID`.

Every signature is ES256: ECDSA over P-256 with SHA-256, as the raw 64-byte `r || s`, base64url-encoded without padding.

Keep the key file out of source control and chat tools. Anyone with it can place orders as your firm. If it leaks, revoke it at app.truemarkets.co and create a new one.

## Test your FIX sessions before you trade

Before you trade over FIX, run your order entry, market data and drop copy sessions with our team against the [`TrueX_FIX50SP2.xml`](https://github.com/true-markets/specification/blob/develop/TrueX_FIX50SP2.xml) specification. The [FIX overview](https://docs.truemarkets.co/api/fix/overview) explains each session.

## Fees

The exchange charges a maker fee or a taker fee on each executed order, in basis points of the executed notional. A maker order rests on the book before it fills; a taker order fills against a resting order. The [fee schedule](https://docs.truemarkets.co/documentation/fee-schedule) has the current rates.

Next: [Account models](https://docs.truemarkets.co/institutional/account-models)