Listing
The listing data stream provides real-time updates on new listings across various exchanges. This stream is useful for traders and investors who want to stay informed about new trading pairs and opportunities.
Connect
- websocat
- wscat
websocat wss://api.datamaxiplus.com/ws/v1/announcement/listing -H 'X-DTMX-APIKEY: $YOUR_API_KEY'
wscat -c wss://api.datamaxiplus.com/ws/v1/announcement/listing -H 'X-DTMX-APIKEY: $YOUR_API_KEY'
Subscribe
To subscribe to the listing data stream, send a subscription request.
methodspecifies the type of request.iduniquely identifies the subscription request.
- schema
- example
{
"method": "SUBSCRIBE",
"id": int32
}
{
"method": "SUBSCRIBE",
"id": 1
}
If the subscription was successful, the server responds with the message in the following format.
idcorresponds to the subscription request ID.
- schema
- example
{
"id": int32
}
{
"id": 1
}
Unsubscribe
Unsubscribe from the data stream using the same format as the subscription request.
methodspecifies the type of request.iduniquely identifies the subscription request.
- schema
- example
{
"method": "UNSUBSCRIBE",
"id": int32
}
{
"method": "UNSUBSCRIBE",
"id": 1
}
Response
- Schema
- Example
Schema
estring
Exchange name.
bstring
Base currency.
qstring
Quote currency.
ustring
URL of the listing page.
dinteger
Detection time (when the listing was first detected) in UNIX milliseconds.
{
"e": "bithumb",
"b": "WCT",
"q": "KRW",
"u": "https://feed.bithumb.com/notice/1648153",
"d": 1744792350000
}