API


API v4 is rolling out - Read More

Public API (v3)

  • Public API is used to provide access to the list of used currencies with real-time market data on each.


  • info
    Type: GET
    Endpoint: /api/info

    Parameters: none

    Method provides information on active pairs: currency scale (number of digits to the right of the decimal point), minimum price, maximum price, minimum order amount, market status, trading fee.

    Example:

    https://www.bithash.net/api/info


  • ticker
    Type: GET
    Endpoint: /api/ticker

    Parameters: none or various hyphen-separated currency pairs (example: btc_usd-btc_eur)

    With no parameters passed you get information on all active pairs.

    Method provides information on active markets for the past 24 hours: maximum price, minimum price, average price, trading value, trading volume, last price, buy price, sell price.

    Examples:

    https://www.bithash.net/api/ticker
    https://www.bithash.net/api/ticker/btc_usd
    https://www.bithash.net/api/ticker/btc_usd-btc_rub


  • depth
    Type: GET
    Endpoint: /api/depth

    Parameters: none or various hyphen-separated currency pairs (example: btc_usd-btc_eur)

    With no parameters passed you get information on all active pairs.

    Method provides information on active order books: sell orders (ASK), buy orders (BID).

    Examples:

    https://www.bithash.net/api/depth
    https://www.bithash.net/api/depth/btc_usd
    https://www.bithash.net/api/depth/btc_usd-btc_rub

    Limits:

    500 (Default)


  • trades
    Type: GET
    Endpoint: /api/trades

    Parameters: none or various hyphen-separated currency pairs (example: btc_usd-btc_eur)

    With no parameters passed you get information on all active pairs.

    Method provides information on the last active trades: type, price, amount, trade ID, timestamp.

    Examples:

    https://www.bithash.net/api/trades
    https://www.bithash.net/api/trades/btc_usd
    https://www.bithash.net/api/trades/btc_usd-btc_rub

    Limits:

    500 (Default)


Need help with API? - Submit a ticket

Trading financial products involves significant risk and can result in the loss of your invested capital. You should not invest more than you can afford to lose and should ensure that you fully understand the risks involved. Before trading, please take into consideration your level of experience, investment objectives and seek independent financial advice if necessary.

BitHash Exchange is operated by PHOENIX TRADING SOLUTIONS LTD, a company incorporated under the International Business Companies Act of 2016 of the Republic of Seychelles with company number 214028.
© 2016 - 2020 PHOENIX TRADING SOLUTIONS LTD. All Rights Reserved.