Market Data - FIX API

Financial Information eXchange (FIX) protocol is an electronic communications protocol initiated in 1992 for international real-time exchange of information related to the securities transactions and markets. You can use it to receive real-time market data from us and it's an alternative to WebSocket protocol.

Implemented Standards:

Endpoints

FIX client configuration file for encrypted connection:

[DEFAULT]
ConnectionType=initiator
ReconnectInterval=2
FileStorePath=store
FileLogPath=log
StartTime=00:00:00
EndTime=00:00:00
NonStopSession=Y
UseDataDictionary=Y
ValidateFieldsOutOfOrder=N
DataDictionary=FIX44.xml
SocketConnectHost=fix.coinapi.io
SocketConnectPort=3302
SSLEnable=Y
SSLServerName=fix.coinapi.io
SSLValidateCertificates=Y
SSLCheckCertificateRevocation=Y
LogoutTimeout=5
ResetOnLogon=Y
 
[SESSION]
BeginString=FIX.4.4
SenderCompID=YOUR_API_KEY
TargetCompID=COINAPI_V2
HeartBtInt=10

FIX client configuration file for unencrypted connection:

[DEFAULT]
ConnectionType=initiator
ReconnectInterval=2
FileStorePath=store
FileLogPath=log
StartTime=00:00:00
EndTime=00:00:00
NonStopSession=Y
UseDataDictionary=Y
ValidateFieldsOutOfOrder=N
DataDictionary=FIX44.xml
SocketConnectHost=fix.coinapi.io
SocketConnectPort=3303
SSLEnable=N
LogoutTimeout=5
ResetOnLogon=Y
 
[SESSION]
BeginString=FIX.4.4
SenderCompID=YOUR_API_KEY
TargetCompID=COINAPI_V2
HeartBtInt=10

Our production endpoint configuration parameters:

ParameterValue
Hostnamefix.coinapi.io
Port Unecnrypted3302
Port TLS3303
Protocol versionFIX.4.4 (XML FIX Specification can be downloaded here: FIX44.xml (opens in a new tab))
Gateway timezoneUTC

We recommend using our SDK or listed client libraries depending on your language requirements:

LanguageLibraries
C++https://github.com/quickfix/quickfix (opens in a new tab)
C#https://github.com/coinapi/coinapi-sdk/tree/master/csharp-fix (opens in a new tab)
https://github.com/connamara/quickfixn (opens in a new tab)
Javahttps://github.com/quickfix-j/quickfixj (opens in a new tab)
Pythonhttps://github.com/quickfix/quickfix/tree/master/src/python (opens in a new tab)
Rubyhttps://github.com/quickfix/quickfix/tree/master/src/ruby (opens in a new tab)
Gohttps://github.com/quickfixgo/quickfix/ (opens in a new tab)

Security

Stunnel configuation:

[COINAPI]
client = yes
accept = 3301
connect = fix.coinapi.io:3302
verify = 2

Communication with our FIX gateway is secured by TLS protocol if you are using the encrypted port. If your FIX protocol implementation does not support establishing a connection over a secure channel, you must use a proxy between your client and our FIX gateway to unbundle encryption or use unencrypted port. We recommend stunnel (opens in a new tab) as a proxy if a secure connection can't be established directly from your client and you can't allow the unencrypted traffic.

oneZero Hub

Our FIX Connector is passing oneZero Conformance Tests. If you need establish session using the FIX with your company oneZero Hub, please contact our support at CoinAPI Support (opens in a new tab).


Copyright 2022 COINAPI LTD or its affiliates. All rights reserved.
StatusPage: