Skip to main content

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 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

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.