Market Data

List market configurations

GET/v2/trading/market-config

Returns 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
X-Api-Key<token>

For accessing these endpoints a valid API key must be sent in the X-Api-Key header.

In: header

Query Parameters

symbol?string

Only this market, as BASE/QUOTE. The response is still an array, empty when the market does not exist.

Match^[A-Z0-9]+/[A-Z0-9]+$
marketEnabled?string

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"
limit?integer

Maximum number of markets to return. All of them when omitted.

Range1 <= value
offset?integer

Number of markets to skip.

Range0 <= value
Default0
sort?string

Field to sort by. Any other value is ignored.

Default"symbol"

Value in

  • "id"
  • "symbol"
  • "minAmount"
  • "maxAmount"
  • "minPrice"
  • "maxPrice"
  • "tickSize"
  • "minOrderSize"
  • "pricePrecision"
  • "amountPrecision"
direction?string

Sort direction. Any other value is ignored.

Value in

  • "asc"
  • "desc"

Response Body

application/json

List market configurations
curl --request GET \  --url 'https://gateway.bit2me.com/v2/trading/market-config'
Example1 of 3
[]