Market Data Feed

Cryptocurrency market data feed process


Bakkt provides a data feed via websocket connection for live cryptocurrency market data. Clients can use the data feed to stream cryptocurrency quotes directly to investors via their application.


Get the Authorization Token

  1. Prior to retrieving the market data feed, clients must get an authorization token using the Request Authorization Token (i.e., Login) endpoint. The token allows clients to successfully use the Request Websockets and Transfer Status URLs (i.e., Configuration) endpoint.
curl -X 'POST' \
  '' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "logonId": "username",
  "password": "password"
  "token": "XbifasdSFD0EiJRnPJQqwRcqduFStK7svPTLge_sQ"

Connect to the Websocket

  1. Client platforms can consume the market data by connecting to a websocket. Clients need a framework to handle the JSON serialization to communicate with the Market Data Session (e.g., Twirp).

Receive the Market Data URL

  1. Clients only need to retrieve the Market Data WebSocket URL for this information once. The streaming data feed provides investors with current market data regarding cryptocurrency including the symbol and current price. The Request Websockets and Transfer Status URLs endpoint provides clients with the cryptocurrency market data to provide to investors.
curl -X 'POST' \
  -H 'accept: application/json' \
  -H 'Authorization: "XbifasdSFD0EiJRnPJQqwRcqduFStK7svPTLge_sQ"'\
  -H 'Content-Type: application/json' \
  -d '{}'
  "streamingOrderEntryEventUrl": "wss://",
  "streamingQuoteUrl": "wss://",
  "streamingTransferStatusUrl": "wss://"

Use the Websocket Stream via Command Line

  1. Users can then use the Market Data Websocket URL in a command line to view the cryptocurrency streaming output including symbol, current price, bid size, asking prize and amount, along with a timestamp of the feed.
wscat -c wss://
Connected (press CTRL+C to quit)

Websocket Drivers

The following list provides links to commonly-used websocket drivers for more popular programming languages.