> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kraken.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Unified FIX

> FIX 4.4 reference for Spot and Derivatives — message types, session establishment, and endpoint mapping

The Kraken Unified FIX API is a FIX 4.4 implementation that covers
both Spot and Derivatives markets through a single set of credentials.
It is the lowest-latency order-entry path on the platform, with
deterministic sequencing, cancel-on-disconnect, and session-based
message replay.

For protocol architecture, supported messages, ClOrdID rules, STP, and
performance details, see the [FIX overview
guide](/exchange/guides/fix/introduction).

## Connection

| Environment | Hostname                             |
| :---------- | :----------------------------------- |
| Production  | `colo-london.vip-fix.kraken.com`     |
| UAT         | `colo-london.vip-fix.uat.kraken.com` |

| Service                      | Port |
| :--------------------------- | :--- |
| Spot Trading                 | 4001 |
| Spot Market Data (L2)        | 4000 |
| Spot Market Data (L3)        | 4005 |
| Derivatives Trading          | 4003 |
| Derivatives Market Data (L2) | 4002 |
| Derivatives Market Data (L3) | 4004 |

All connections use TCP with TLS 1.3. DNS records carry a 5-minute
TTL — always resolve at connection time, never bind to static IPs.

## Authentication

Authentication uses a **Spot FIX API Key**. The same key authorises
both Spot and Derivatives sessions on the appropriate ports — no
separate Derivatives FIX credentials are required.

See [FIX authentication](/exchange/guides/fix/authentication) for the
logon message structure, IP allow-listing, and CompID provisioning.

## Hours of operation

FIX sessions operate 24/7 with a logical session rollover every day at
**22:00 UTC**. The rollover lasts approximately 30 seconds. Both
Trading and Market Data sequence numbers reset to `0` after rollover.

## Cancel scope

Single-order cancels on FIX (`OrderCancelRequest`) only affect orders
placed on the same FIX session. To cancel orders placed on another
session — whether FIX, WebSocket, or REST — use
`OrderMassCancelRequest` (Tag 35=q) or fall back to REST/WebSocket.

## Quick start

<CardGroup cols={2}>
  <Card title="Logon" icon="key" href="/exchange/api-reference/unified-fix/logon">
    Session establishment and parameters.
  </Card>

  <Card title="NewOrderSingle (D)" icon="plus" href="/exchange/api-reference/unified-fix/nos">
    Place an order on Spot or Derivatives.
  </Card>

  <Card title="ExecutionReport (8)" icon="receipt" href="/exchange/api-reference/unified-fix/er">
    Order acknowledgements, fills, cancels, and rejects.
  </Card>

  <Card title="OrderMassCancelRequest (q)" icon="ban" href="/exchange/api-reference/unified-fix/omcr">
    Cancel all orders on the account, regardless of session.
  </Card>
</CardGroup>

The full message catalog — `OrderCancelRequest`, `OrderCancelReplaceRequest`,
`MarketDataRequest`, `OrderStatusRequest`, `ResendRequest`,
`SequenceReset`, headers/trailers, and reject types — is available in
the **Unified FIX** dropdown in the left navigation.

<Note>
  Access to direct colocation requires VIP status, an executed NDA, and
  an Equinix London presence. Contact your Account Manager to begin
  onboarding.
</Note>

## Related

<CardGroup cols={2}>
  <Card title="FIX overview" icon="terminal" href="/exchange/guides/fix/introduction">
    Session architecture, supported messages, performance, ports.
  </Card>

  <Card title="FIX authentication" icon="key" href="/exchange/guides/fix/authentication">
    Logon message and CompID setup.
  </Card>

  <Card title="Choose your protocol" icon="code-compare" href="/exchange/guides/general/api-comparison">
    REST vs WebSocket vs FIX — sequencing, cancel scope, latency.
  </Card>

  <Card title="Colocation and connectivity" icon="server" href="/exchange/guides/general/colocation">
    Connectivity tiers, latency expectations, LOA process.
  </Card>
</CardGroup>
