Skip to main content

Getting started

The HTTP API offers a straightforward way to access market data. Unlike WebSockets, HTTP is a request-response protocol, making it ideal for applications that don't require real-time updates but still need reliable data retrieval.

General Considerations

  • To establish a connection with the TradeWatch WebSockets API, TLS with Server Name Indication (SNI) is required.

  • All data exchanged through the HTTP API is formatted in JSON format. To maintain accuracy, all decimal fields, including timestamps, are presented in quotes.

  • It's important to note that timestamps are not unique and should not be used as substitutes for IDs.

  • To keep your data up-to-date, you can periodically poll the API for the latest information.

  • For retrieving the list of pairs available for subscription via the HTTP API, please refer to the REST API Available symbols methods.