Skip to main content

Get Orderbook

GET 

/v1/markets/:market_id/orderbook

List the current bid and ask offers of a specific market.

Request

Path Parameters

    market_id stringrequired

    Market identification.

Query Parameters

    max_depth integer

    Possible values: non-empty and <= 100 characters, >= 1 and <= 100

    Maximum number of itens. Default: 20.

Responses

OK

Schema
    result object
    asks object[]

    List of asks (from sellers) offers.

  • Array [
  • price string

    The value that will be paid to seller.

    size string

    The amount to be selled.

  • ]
  • bids object[]

    List of bid (from buyers) offers.

  • Array [
  • price string

    The value will be paid to buyer.

    size string

    The amount to be buyed.

  • ]
  • updated_at updated_at (integer)

    Timestamp of when this object was last updated.

Loading...