Skip to main content

Ticker (Level 1)

CHANNEL

wss://ws.kraken.com

ticker

Ticker information on currency pair.

Subscription Request

MESSAGE BODY

event string required
Value: subscribe
pair array of strings required
Example: ["BTC/USD", "MATIC/GBP"]
The currency pairs for this request.
subscription object
name string required
Value: ticker
reqid string
Optional client originated request identifier sent as acknowledgment in the response.

Subscription Snapshot and Update Response

MESSAGE BODY

array [
[0] channel_id integer deprecated
Deprecated Usage: Use 'channel_name' and 'pair'.
Channel identifier.
[1] ticker object
a array [

Best Ask

[0] price string
Best ask price.
[1] whole_lot_volume integer
Whole lot volume.
[2] decimal string
Lot volume

]
b array [

Best Bid

[0] price string
Best bid price.
[1] whole_lot_volume integer
Whole lot volume.
[2] decimal string
Lot volume

]
c array [

Close

[0] price string
Price.
[1] lot_volume string
Lot volume

]
v array [

Volume

[0] today string
Value today.
[1] last_24h string
Value over last 24 hours

]
p array [

Volume Weighted Average Price

[0] today string
Value today.
[1] last_24h string
Value over last 24 hours

]
t array [

Number of trades

[0] today integer
Value today.
[1] last_24h integer
Value over last 24 hours

]
l array [

Low price

[0] today string
Value today.
[1] last_24h string
Value over last 24 hours

]
h array [

High price

[0] today string
Value today.
[1] last_24h string
Value over last 24 hours

]
o array [

Open Price

[0] today string
Value today.
[1] last_24h string
Value over last 24 hours

]
[2] pair string
Example: "BTC/USD"
The symbol of the currency pair.
[3] channel_name string
Value: ticker
The name of the channel.
]
OSZAR »