WSper connection-minute$0.0001 / min
WS /ws/v1/{channel}
WebSocket streams — Real-time pushes on 9 channels. Billed per connection-minute while the socket is open.
StreamsLatest tier
# curl cannot hold a socket open; websocat can. websocat -H "X-DTMX-APIKEY: $DATAMAXI_API_KEY" wss://api.datamaxiplus.com/ws/v1/funding-rate # subscribe with SYMBOL@exchange; message format in the WebSocket docs
Browsers cannot attach the X-DTMX-APIKEY header to a WebSocket, so streams are tried from your own code. Pick a channel to update the sample above.
| Channel | Subscribe with | |
|---|---|---|
| /announcement/listing | — | |
| /forex | SYMBOL | |
| /funding-rate | SYMBOL@exchange | |
| /liquidation | SYMBOL@exchange | |
| /liquidation/feed | — | |
| /open-interest | SYMBOL@exchange | |
| /premium | src:tgt:tokenId:srcQuote:tgtQuote:srcMkt:tgtMkt | |
| /ticker/futures | SYMBOL@exchange[@currency@conversionBase] | |
| /ticker/spot | SYMBOL@exchange[@currency@conversionBase] |
{
"e": "binance",
"s": "BTC-USDT",
"f": 0.0001,
"i": 8,
"d": 1763337600000
}Sample message · /funding-rate