exchangeNames[]: (array) List of exchange names (e.g. Binance).
tokenSymbols: (string) Token symbol (e.g. BTC).
active: (boolean) Specifies wether the tokens should be active.
Description:
The /api/v1/crypto/markets endpoint with a GET method is designed to provide a comprehensive list of cryptocurrency markets available across various exchanges. It supports a range of query parameters to tailor the response according to specific needs, such as pagination through offset and limit, filtering by exchangeNames[] to include markets from specific exchanges, specifying tokenSymbols to filter markets by the trading pairs involving a particular token, and determining whether the market collector should be active.
The /api/v1/crypto/markets/:id endpoint is used to retrieve detailed information about a specific cryptocurrency market, identified by its id in the database. This GET request provides comprehensive details of the market, including its internal and external identifiers, information about the base and quote tokens (such as their IDs), the exchange on which the market is listed, and other metadata like description and image URL. Additionally, it indicates whether the market is currently active and includes timestamps for when the market was created and last updated.