Messages
{
"type": "subscribe",
"channel": "trades",
"id": "BTC-USD"
}{
"type": "channel_data",
"channel": "oraclePrices",
"contents": {
"epoch": 1780410803000000000,
"prices": [
{
"marketDisplayName": "SLV-USD",
"marketId": 20,
"price": "68.39",
"markPrice": "68.39",
"markEpochNanos": 1780410803000000000
},
{
"marketDisplayName": "BTC-USD",
"marketId": 1,
"price": "94501.00",
"markPrice": "94500.50",
"markEpochNanos": 1780410803000000000
}
]
}
}Market data
Oracle prices
Endpoint:
wss://api.arcus.xyz/v1/ws— one socket multiplexes every channel and RPC request. Click Connect, then send the example subscribe message below to start receiving data.
Per-market oracle price updates sourced from the on-chain slinky aggregator. Pushes a new price on each oracle update.
WSS
/
v1
/
ws?channel=oraclePrices
Messages
{
"type": "subscribe",
"channel": "trades",
"id": "BTC-USD"
}{
"type": "channel_data",
"channel": "oraclePrices",
"contents": {
"epoch": 1780410803000000000,
"prices": [
{
"marketDisplayName": "SLV-USD",
"marketId": 20,
"price": "68.39",
"markPrice": "68.39",
"markEpochNanos": 1780410803000000000
},
{
"marketDisplayName": "BTC-USD",
"marketId": 1,
"price": "94501.00",
"markPrice": "94500.50",
"markEpochNanos": 1780410803000000000
}
]
}
}Subscribe to a market channel
type:object
Oracle Price Update
Was this page helpful?