Order book fetcher

[apis/poloniex/public/Order book fetcher]

icon

Returns the order book for a given market, as well as a sequence number used by websockets for synchronization of book updates and an indicator specifying whether the market is frozen. You may set currencyPair to "all" to get the order books of all markets. https://docs.poloniex.com/#returnorderbook


Keywords: order book, asks, bids, price, token, currency, pair, sample, fetch, retrieve

Input ports

  • query: {"currencyPair": string, optional "depth": number}

Output ports

  • data:

    {
      "asks": [string, number][],
      "bids": [string, number][],
      "isFrozen": string,
      "postOnly": string,
      "seq": number
    }
  • response:

    {"status": number, "headers": {string: any}, "body": string}
  • error: {"error": string}

Last updated