List market configurations
/v2/trading/market-configReturns the markets available to the caller and the rules an order must respect in each
one: amount and price limits, minimum order value and decimal precision. Validate orders
against these values before sending them to avoid 412 rejections.
Authentication is optional and changes the result: restricted markets are listed only for
the users granted access, disabled markets are never listed, and enabled_at markets are
listed once their opening date has passed.
The response is a plain array; when limit is not sent, every market is returned.
Authorization
ApiKeyAuth For accessing these endpoints a valid API key must be sent in the X-Api-Key header.
In: header
Query Parameters
Only this market, as BASE/QUOTE. The response is still an array, empty when the market does not exist.
^[A-Z0-9]+/[A-Z0-9]+$Only markets in this state. disabled markets are never listed, so that value returns an
empty array.
Value in
- "enabled"
- "enabled_at"
- "frozen"
- "restricted"
- "disabled"
Maximum number of markets to return. All of them when omitted.
1 <= valueNumber of markets to skip.
0 <= value0Field to sort by. Any other value is ignored.
"symbol"Value in
- "id"
- "symbol"
- "minAmount"
- "maxAmount"
- "minPrice"
- "maxPrice"
- "tickSize"
- "minOrderSize"
- "pricePrecision"
- "amountPrecision"
Sort direction. Any other value is ignored.
Value in
- "asc"
- "desc"
Response Body
application/json
curl --request GET \ --url 'https://gateway.bit2me.com/v2/trading/market-config'[]Get last trades GET
Returns the most recent public trades of a market, newest first, as compact positional tuples `[side, price, amount, timestamp]`. No authentication is required. At most 50 trades are returned; a larger `limit` is silently reduced to 50. For a live feed use the trading websocket instead of polling.
Get the order book GET
Returns a snapshot of the aggregated order book of a market: resting orders grouped by price, up to 100 levels per side. No authentication is required. The snapshot can be a few moments old: rely on `timestamp` to know when it was taken, and use the trading websocket for a live book.