API

We are currently working towards a full API release. In the meantime, we offer a read-only API.
Current supported trading pairs: "xbtcad"


Ticker

URL

https://www.ezbtc.ca/api/ticker

Input

pair = the currency pair to return the ticker for (optional)

Result

last = The last rate
low = The lowest rate in the past 24 hours
high = The highest rate in the past 24 hours
volume = The volume in the past 24 hours

Order Book

URL

https://www.ezbtc.ca/api/order-book

Input

pair = the currency pair to return the order book for (optional)

Result

A dictionary of bid and ask arrays each containing that top 50 arrays of [rate, amount] sorted by rate (descending for bid, ascending for ask).

Completed Trades

URL

https://www.ezbtc.ca/api/transactions

Input

pair = the currency pair to return the ticker for (optional)

Result

A list of the last 50 completed trades, sorted by the most recent trade first.

type = "buy" or "sell" indicating the type of the taker order
amount = The amount of XBT executed
rate = The rate per XBT
pair = The pair that was traded