Skip to main content
Authenticated channel. Connect to: wss://wss.prime.kraken.com/ws/v1
Request stream of Quotes. All quote responses are sent as Quote updates. To request a quote, send a QuoteRequest message. The server responds with one or many Quote messages as the streaming prices update.

Subscribe Request

reqid
number
required
Request ID - will be echoed back in the response structure.
type
string
required
Request type. Value: subscribe
streams
array
required
Array containing the Quote stream configuration.

Response

reqid
number
required
A number that relates this response to a request.
type
string
required
The type of message sent.
ts
string
required
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
initial
boolean
If this is initial data for a request, the initial flag will be set.
seqNum
number
required
The sequence number for this response per request.
action
string
“Update” or “Remove” - tells the client if the given entity should be removed or added/updated.
data
array
required
Array of Quote data.

RFQ workflow

A typical RFQ flow looks like this:
  1. Subscribe to the Quote stream.
  2. Send a Quote Request to open an RFQ and receive streaming prices.
  3. When ready to trade, send a New Order Single with OrdType set to RFQ and QuoteID and RFQID from the latest Open quote update. See the RFQ Example tab on that page.
  4. Monitor fills on the Execution Report and Trade streams.
To cancel an open quote without trading, use Quote Cancel Request.