Listing (beta)
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.
method
specifies the type of request.id
uniquely 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.
id
corresponds 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.
method
specifies the type of request.id
uniquely identifies the subscription request.
- schema
- example
{
"method": "UNSUBSCRIBE",
"id": int32
}
{
"method": "UNSUBSCRIBE",
"id": 1
}
Response
- The
e
represents exchange name. - The
b
represents the base currency. - The
q
represents the quote currency - The
u
represents url of ths listing page. - The
d
represents the listing date in UNIX milliseconds.
- schema
- example
{
"e": string
"b": string
"q": string
"u": string
"d": int
}
{
"e": "bithumb",
"b": "WCT",
"q": "KRW",
"u": "https://feed.bithumb.com/notice/1648153"
"d": 1744792350000
}