Public API

Description

Methods

info ticker depth trades

This method provides information on the latest transactions.

Additionally, it takes an optional GET parameter limit, which specifies how many transactions is to be output (150 by default).

It takes a value of no more than 2000.

The example of request:

https://askbtc.org/v1/api/trades/btc_usd

The example of response:

{
  "btc_usd":[
    {
      "type":"sell",
      "currency_price":403.6,
      "volume":0.101,
      "id":486,
      "createdAt":1482149807
    },
    {
      "type":"buy",
      "currency_price":403.989,
      "volume":1.51414,
      "id":487,
      "createdAt":1482149805
    },
    ...
  ]
  ...
}

type: sell - selling, buy - purchase.

currency_price: price of purchase/sale.

volume: the volume of bought/sold.

id: identifier of transaction.

createdAt: UNIX time of transaction.