Biztranex provides a simple and powerful REST API to allow you to programatically perform nearly all actions you can from our web interface. All requests use the application/json content type and go over https. The base url is https://biztranex.com/api-{version}/. All requests are GET requests and all responses come in a default response object with the result in the result field. Always check the success flag to ensure that your API call succeeded.

We are currently restricting orders to 500 open orders and 200,000 orders a day. We reserve the right to change these settings as we tune the system. If you are affected by these limits as an active trader, please open a support ticket.

If you have any questions, feedback or recommendation for API support you can post a question in our support center.

General

We provide a simple RESTful API. All calls are GETs and should be called via https. We will support n-1 versions of the API. Our current stable API is v1. The endpoints have a standard format as follows:

https://biztranex.com/api-{version}/{method}?param=value

Authentication

In the spirit of keeping things simple, we offer an easy to manage API Key authentication method. You can have multiple API keys, each with their own level of rights. To manage your API keys please go to Settings > API.

You have to pass apisign inside header of request, example pseudo code:

apisign = md5(REQUEST_EXCEPT_APIKEY+API_SECRET)

Example 1:

https://biztranex.com/api-v1/account/getbalance?currency=BTC&apikey=API_KEY

apisign = md5("currency=BTC"+API_SECRET)

Example 2:

https://biztranex.com/api-v1/market/sell?market=BTC-ETH&quantity=1&rate=0.02&apikey=API_KEY

apisign = md5("market=BTC-ETH&quantity=1&rate=0.02"+API_SECRET)

Note

You MUST have 2FA enabled to create an API key for your own safety.

  • Read Info - You can only view the balances, orders, and other details of the account
  • Withdraw - We allow you to programatically withdraw any currency to an address you provide. This can be used to quick arbitrage exchanges or move money into cold storage after thresholds.
  • Trade - This allows the API key to place uy and sell orders

API Reference

Our APIs are broken into three distinct groups

  • Public - Public information available without an API key
  • Market - For programmatic trading of crypto currencies
  • Account - For managing your account
public
  • public/getmarkets

    Used to get the open and available trading markets at Biztranex along with other meta data.
    Paramerters
    None
    Запрос
    https://biztranex.com/api-v1/public/getmarkets
    отклик
  • public/getcurrencies

    Used to get all supported currencies at Biztranex along with other meta data.
    Paramerters
    None
    Запрос
    https://biztranex.com/api-v1/public/getcurrencies
    отклик
  • public/getticker

    Used to get the current tick values for a market.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    Запрос
    https://biztranex.com/api-v1/public/getticker?market=BTC-ETH
    отклик
  • public/getmarketsummaries

    Used to get the last 24 hour summary of all active markets.
    Paramerters
    None
    Запрос
    https://biztranex.com/api-v1/public/getmarketsummaries
    отклик
  • public/getmarketsummary

    Used to get the last 24 hour summary of a specific market.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    Запрос
    https://biztranex.com/api-v1/public/getmarketsummary?market=BTC-ETH
    отклик
  • public/getorderbook

    Used to get retrieve the orderbook for a given market.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    type
    required
    buy, sell or both to identify the type of orderbook to return
    Запрос
    https://biztranex.com/api-v1/public/getorderbook?market=BTC-ETH&type=both
    отклик
  • public/getmarkethistory

    Used to retrieve the latest trades that have occured for a specific market.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    Запрос
    https://biztranex.com/api-v1/public/getmarkethistory?market=BTC-ETH
    отклик
  • public/getmarkethistory-new

    Paramerters
    None
    Запрос
    https://biztranex.com/api-v1/public/getmarkethistory-new
    отклик

market
  • market/buy

    Used to place a buy order in a specific market. Make sure you have the proper permissions set on your API keys for this call to work.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    quantity
    required
    the amount to purchase
    rate
    required
    the rate at which to place the order
    Запрос
    https://biztranex.com/api-v1/market/buy?market=BTC-ETH&quantity=0.5&rate=0.0832&apikey=API_KEY
    отклик
  • market/sell

    Used to place an sell order in a specific market. Make sure you have the proper permissions set on your API keys for this call to work.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    quantity
    required
    the amount to purchase
    rate
    required
    the rate at which to place the order
    Запрос
    https://biztranex.com/api-v1/market/sell?market=BTC-ETH&quantity=0.5&rate=0.08321&apikey=API_KEY
    отклик
  • market/cancel

    Used to cancel a buy or sell order.
    Paramerters
    uuid
    required
    uuid of buy or sell order
    Запрос
    https://biztranex.com/api-v1/market/cancel?uuid=z5n4xi3x&apikey=API_KEY
    отклик
  • market/getopenorders

    Get all orders that you currently have opened. A specific market can be requested.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    Запрос
    https://biztranex.com/api-v1/market/getopenorders?market=BTC-ETH&apikey=API_KEY
    отклик

account
  • account/getbalances

    Used to retrieve all balances from your account.
    Paramerters
    None
    Запрос
    https://biztranex.com/api-v1/account/getbalances?apikey=API_KEY
    отклик
  • account/getbalance

    Used to retrieve the balance from your account for a specific currency.
    Paramerters
    currency
    required
    a string literal for the market (ie. BTC)
    Запрос
    https://biztranex.com/api-v1/account/getbalance?currency=BTC&apikey=API_KEY
    отклик
  • account/getdepositaddress

    Used to retrieve or generate an address for a specific currency. If one does not exist, the call will fail and return ADDRESS_GENERATING until one is available.
    Paramerters
    currency
    required
    a string literal for the market (ie. BTC)
    Запрос
    https://biztranex.com/api-v1/account/getdepositaddress?currency=BTC&apikey=API_KEY
    отклик
  • account/withdraw

    Used to withdraw funds from your account. Note: please account for txfee.
    Paramerters
    currency
    required
    a string literal for the market (ie. BTC)
    quantity
    required
    the quantity of coins to withdraw
    address
    required
    the address where to send the funds
    Запрос
    https://biztranex.com/api-v1/account/withdraw?currency=BTC&quantity=1&address=3BEV18uSaKgsLqJ9EkDYfs92tYYNSvE6rM&apikey=API_KEY
    отклик
  • account/getorder

    Used to retrieve a single order by uuid.
    Paramerters
    uuid
    required
    the uuid of the buy or sell order
    Запрос
    https://biztranex.com/api-v1/account/getorderuuid=z5n4xi3x&apikey=API_KEY
    отклик
  • account/getorderhistory

    Used to retrieve your order history.
    Paramerters
    market
    required
    a string literal for the market (ex: BTC-LTC)
    Запрос
    https://biztranex.com/api-v1/account/getorderhistory?market=BTC-ETH&apikey=API_KEY
    отклик
  • account/getwithdrawalhistory

    Used to retrieve your withdrawal history
    Paramerters
    currency
    required
    a string literal for the currecy (ie. BTC). If omitted, will return for all currencies
    Запрос
    https://biztranex.com/api-v1/account/getwithdrawalhistory?currency=BTC&apikey=API_KEY
    отклик
  • account/getdeposithistory

    Used to retrieve your deposit history
    Paramerters
    currency
    required
    a string literal for the currecy (ie. BTC). If omitted, will return for all currencies
    Запрос
    https://biztranex.com/api-v1/account/getdeposithistory?currency=BTC&apikey=API_KEY
    отклик