Order book

Get the order book of specified market.

get

Get the order book of specified market.

Path parameters
marketstring · enumRequiredPossible values:
Query parameters
asks_limitinteger · int32 · min: 1 · max: 200Optional

Limit the number of returned sell orders. Default to 20.

bids_limitinteger · int32 · min: 1 · max: 200Optional

Limit the number of returned buy orders. Default to 20.

Responses
200
Get the order book of specified market.
application/json
get
GET /api/v2/live/public/markets/{market}/order-book HTTP/1.1
Host: www.mameex.com
Accept: */*
200

Get the order book of specified market.

[
  {
    "asks": [
      {
        "id": 1,
        "uuid": "text",
        "side": "text",
        "ord_type": "text",
        "price": 1,
        "avg_price": 1,
        "state": "text",
        "market": "text",
        "created_at": "text",
        "updated_at": "text",
        "origin_volume": 1,
        "remaining_volume": 1,
        "executed_volume": 1,
        "maker_fee": 1,
        "taker_fee": 1,
        "trades_count": 1,
        "trades": [
          {
            "id": "text",
            "price": 1,
            "amount": 1,
            "total": 1,
            "fee_currency": 1,
            "fee": 1,
            "fee_amount": 1,
            "market": "text",
            "created_at": "text",
            "taker_type": "text",
            "side": "text",
            "order_id": 1
          }
        ]
      }
    ],
    "bids": [
      {
        "id": 1,
        "uuid": "text",
        "side": "text",
        "ord_type": "text",
        "price": 1,
        "avg_price": 1,
        "state": "text",
        "market": "text",
        "created_at": "text",
        "updated_at": "text",
        "origin_volume": 1,
        "remaining_volume": 1,
        "executed_volume": 1,
        "maker_fee": 1,
        "taker_fee": 1,
        "trades_count": 1,
        "trades": [
          {
            "id": "text",
            "price": 1,
            "amount": 1,
            "total": 1,
            "fee_currency": 1,
            "fee": 1,
            "fee_amount": 1,
            "market": "text",
            "created_at": "text",
            "taker_type": "text",
            "side": "text",
            "order_id": 1
          }
        ]
      }
    ]
  }
]

Last updated