Skip to main content

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 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.
{
"method": "SUBSCRIBE",
"id": int32
}

If the subscription was successful, the server responds with the message in the following format.

  • id corresponds to the subscription request ID.
{
"id": int32
}

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.
{
"method": "UNSUBSCRIBE",
"id": int32
}

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.
{
"e": string
"b": string
"q": string
"u": string
"d": int
}