Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Public channel. Connect to: wss://wss.prime.kraken.com/ws/v1
Request for stream of currency conversion rates.
Subscribe Request
Request ID - will be echoed back in the response structure.
Request type. Value: subscribe
Array containing the Currency Conversion stream configuration.
Subscription name. Value: CurrencyConversion
Quote currency to base the conversion rates on.
List of currencies and securities to generate conversion rates for; defaults to all available currencies.
Optional throttle interval for conversion rate updates. Minimal/default value: 10s.
Optional param to indicate what conversion rate percent change should trigger sending out an update. Minimal/default value: 0.0001 which means 1 bps.
{
"reqid": 4,
"type": "subscribe",
"streams": [
{
"name": "CurrencyConversion",
"EquivalentCurrency": "USD",
"Currencies": ["BTC", "ETH", "BCH-USD"],
"Throttle": "15s",
"Tolerance": "0.0002"
}
]
}
Response
A number that relates this response to a request.
The type of message sent.
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
If this is initial data for a request, the initial flag will be set.
The sequence number for this response per request.
“Update” or “Remove” - tells the client if the given entity should be removed or added/updated.
Array of CurrencyConversion data.
Timestamp of message publication.
Currency symbol for equivalent currency.
Currency symbol for base currency on conversion.
Currency conversion rate.
Status of the conversion rate.
Path used for the conversion.
{
"reqid": 4,
"type": "CurrencyConversion",
"ts": "2021-09-14T22:16:18.604996Z",
"initial": true,
"seqNum": 1,
"data": [
{
"Timestamp": "2021-09-14T22:16:18.604674Z",
"EquivalentCurrency": "USD",
"Currency": "ETH",
"Rate": "3368.16",
"Status": "Online",
"ConversionPath": "(ETH-USD)"
},
{
"Timestamp": "2021-09-14T22:16:18.604674Z",
"EquivalentCurrency": "USD",
"Currency": "BTC",
"Rate": "46841.35",
"Status": "Online",
"ConversionPath": "(BTC-USD)"
}
]
}