Messages
{
"action": "subscribe",
"platform": "chainlink",
"version": 1,
"type": "crypto",
"filters": {
"feeds": [
"BTC/USD",
"ETH/USD"
]
}
}{
"action": "unsubscribe",
"subscription_id": "sub_2f4b15b33798"
}{
"action": "update",
"subscription_id": "sub_2f4b15b33798",
"filters": {
"users": [
"0xnew_address..."
],
"status": "all"
}
}{
"type": "ack",
"subscription_id": "sub_2f4b15b33798",
"channel": "trades"
}{
"event_type": "price_feed",
"feed": "BTC/USD",
"price": 66225.49,
"bid": 66221.69,
"ask": 66229.46,
"observed_at": 1774672588,
"timestamp": 1774672588
}Crypto Prices
Crypto Prices Playground
Real-time crypto price ticks relayed from Chainlink Data Streams (Mercury). One tick per upstream observation.
WSS
Messages
{
"action": "subscribe",
"platform": "chainlink",
"version": 1,
"type": "crypto",
"filters": {
"feeds": [
"BTC/USD",
"ETH/USD"
]
}
}{
"action": "unsubscribe",
"subscription_id": "sub_2f4b15b33798"
}{
"action": "update",
"subscription_id": "sub_2f4b15b33798",
"filters": {
"users": [
"0xnew_address..."
],
"status": "all"
}
}{
"type": "ack",
"subscription_id": "sub_2f4b15b33798",
"channel": "trades"
}{
"event_type": "price_feed",
"feed": "BTC/USD",
"price": 66225.49,
"bid": 66221.69,
"ask": 66229.46,
"observed_at": 1774672588,
"timestamp": 1774672588
}api_key
type:httpApiKey
Your Predexon API key
Subscribe to Crypto Prices
type:object
Subscribe to Chainlink Data Streams crypto price ticks. Use the chainlink platform with type 'crypto'. Only feeds filter or wildcard supported.
Unsubscribe
type:object
Remove a subscription by ID.
Update Subscription
type:object
Replace filters on an existing subscription. Not supported on the orderbook channel.
Acknowledgement
type:object
Server acknowledgement for subscribe, unsubscribe, and update actions.
Price Feed Tick
type:object
Single price tick from a Chainlink Data Streams feed.
⌘I
