API Documentation

Category: Tiendas Virtuales

hitbtc login api

not the official hitbtc exchange. just lost $, cannot even login to my hitbtc account using this fake app, it asks me for my api keys lol. don't. conwaytransport.com.au client for the HitBTC API. The latest Tweets from HitBTC (@hitbtc). Our API is one of the fastest in the market and uses up to date tech to provide you with a seamless trading experience. hitbtc login api

ABOUT HitBTC API

HitBTC REST & Streaming API version provides programmatic access to HitBTC’s next generation trading engine.

We strongly recommend that our new customers use API version to get the best trading experience. We also recommend that our current traders switch to the newest version

By using the HitBTC API you confirm that you have read and accepted the API License Agreement.

API Explorer

You can explore the API using SwaggerUI including methods requiring authorization.

API URLs

RESTStreaming Market DataStreaming Trading
conwaytransport.com.auwss://conwaytransport.com.auwss://conwaytransport.com.au

Demo environment (sandbox):

RESTStreaming Market DataStreaming Trading
conwaytransport.com.auwss://conwaytransport.com.auwss://conwaytransport.com.au
Note: single streaming location /api/2/ws is deprecated and won't support any of the new features. Deprecated location will be supported till

DateTime Format

All timestamps are returned in ISO format (UTC).
Example: "TZ"

Number Format

All finance data, e.g. price, quantity, fee, etc., should be arbitrary precision numbers and have a string representation.
Example: ""

Pagination

Parameters:

ParameterDescription
limitNumber of results per call
Accepted range: 0 -
Default value:
offsetNumber of results offset
Default value: 0
sortSort direction
Accepted values: (ascending order), (descending order)
Default value:
byDefines filter type
Accepted values: ,
fromInterval initial value (optional parameter)
If filter by is used, then parameter type is , otherwise
tillInterval end value (optional parameter)
If filter by is used, then parameter type is , otherwise

The following Rate Limits are applied:

  • For the Market data, the limit is requests per second for one IP;
  • For Trading, the limit is requests per second for one user;
  • For other requests, including Trading history, the limit is 10 requests per second for one user.

Significantly exceeding the Rate Limits can lead to suspension.

  • Margin trading feature available over REST and socket API
  • New market data only streaming endpoint
  • New trading only streaming endpoint
  • Single streaming location /api/2/ws is deprecated

The HitBTC API development team strives to bring the best trading experience to API users. This manual contains a set of best practices for using the API as efficiently as possible.

HTTP Persistent Connection

The underlying TCP connection is kept active for multiple requests/responses. Subsequent requests will result in reduced latency as the TCP handshaking process is no longer required.

If you use the HTTP client, please ensure it supports the Keep-Alive directive and submit the ''Connection: Keep-Alive'' header with your request.

Keep-Alive is a part of the HTTP protocol and enabled by default on compliant clients. However, you will have to ensure your implementation does not set other values as the connection header.

Retrieving and updating account state

Use the Streaming API for real-time updates of your orders, trades and any transaction changes.

HTTP Status codes

  • OK. Successful request
  • Bad Request. Returns JSON with the error message
  • Unauthorized. Authorization is required or has been failed
  • Forbidden. Action is forbidden for API key
  • Too Many Requests. Your connection has been rate limited
  • Internal Server. Internal Server Error
  • Service Unavailable. Service is down for maintenance
  • Gateway Timeout. Request timeout expired

Error response

All error responses have error and human readable fields. Some errors contain an additional field.

Example of error response:

Currencies

Get a list of all currencies or specified currencies

The above command returns JSON structured like this:

Return the actual list of available currencies, tokens, etc.

You can optionally use comma-separated list of currencies. If it is not provided, null or empty, the request returns all currencies.

Requires no API key Access Rights.

Parameter:

NameTypeDescription
currenciesStringComma-separated list of currency codes. Optional parameter

Responses:

NameTypeDescription
idStringCurrency identifier (code), for example, ''BTC''
Note: description will simply use in the future.
fullNameStringCurrency full name, for example, ''Bitcoin''
cryptoBooleanDetermines whether currency belongs to blockchain
payinEnabledBooleanDetermines whether it is allowed to generate addresses for a deposit
payinPaymentIdBooleanDetermines whether it is required to provide additional information other than the address for deposit
payinConfirmationsNumberCount of blocks confirmations, which are needed for deposit
payoutEnabledBooleanDetermines whether withdraw is allowed
payoutIsPaymentIdBooleanDetermines whether providing of additional information for withdraw is allowed
transferEnabledBooleanDetermines whether transfer between trading account and bank account is allowed (may be disabled on maintenance)
delistedBoolean if currency is delisted (deposit and trading are stopped)
payoutFeeNumberDefault withdraw fee
payoutMinimalAmountStringMinimum withdraw amount
precisionPayoutNumberCurrency precision for payout (number of digits after the decimal point)
precisionTransferNumberCurrency precision for transfer (number of digits after the decimal point)

Get a certain currency

The above command returns JSON structured like this:

Returns the data for a certain currency.

Requires no API key Access Rights.

Responses:

NameTypeDescription
idStringCurrency identifier (code), for example, ''BTC''
Note: description will simply use in the future.
fullNameStringCurrency full name, for example, ''Bitcoin''
cryptoBooleanDetermines whether currency belongs to blockchain
payinEnabledBooleanDetermines whether it is allowed to generate addresses for a deposit
payinPaymentIdBooleanDetermines whether it is required to provide additional information other than the address for deposit
payinConfirmationsNumberCount of blocks confirmations, which are needed for deposit
payoutEnabledBooleanDetermines whether withdraw is allowed
payoutIsPaymentIdBooleanDetermines whether providing of additional information for withdraw is allowed
transferEnabledBooleanDetermines whether transfer between trading account and bank account is allowed (may be disabled on maintenance)
delistedBoolean if currency is delisted (deposit and trading are stopped)
payoutFeeNumberDefault withdraw fee
payoutMinimalAmountStringMinimum withdraw amount
precisionPayoutNumberCurrency precision for payout (number of digits after the decimal point)
precisionTransferNumberCurrency precision for transfer (number of digits after the decimal point)

Symbols

Get a list of all symbols or specified symbols

The above command returns JSON structured like this:

Return the actual list of currency symbols (currency pairs) traded on exchange. The first listed currency of a symbol is called the base currency, and the second currency is called the quote currency. The currency pair indicates how much of the quote currency is needed to purchase one unit of the base currency. Read more

You can optionally use comma-separated list of symbols. If it is not provided, null or empty, the request returns all symbols.

Requires no API key Access Rights.

Parameter:

NameTypeDescription
symbolsStringComma-separated list of symbol codes. Optional parameter

Responses:

NameTypeDescription
idStringSymbol (currency pair) identifier, for example, ''ETHBTC''
Note: description will simply use in the future.
baseCurrencyStringName (code) of base currency, for example, ''ETH''
quoteCurrencyStringName of quote currency
quantityIncrementNumberSymbol quantity should be divided by this value with no remainder
tickSizeNumberSymbol price should be divided by this value with no remainder
takeLiquidityRateNumberDefault fee rate
provideLiquidityRateNumberDefault fee rate for market making trades
feeCurrencyStringValue of charged fee

Get a certain symbol

The above command returns JSON structured like this:

Returns the data for a certain symbol.

Requires no API key Access Rights.

Responses:

NameTypeDescription
idStringSymbol (currency pair) identifier, for example, ''ETHBTC''
Note: description will simply use in the future.
baseCurrencyStringName (code) of base currency, for example, ''ETH''
quoteCurrencyStringName of quote currency
quantityIncrementNumberSymbol quantity should be divided by this value with no remainder
tickSizeNumberSymbol price should be divided by this value with no remainder
takeLiquidityRateNumberDefault fee rate
provideLiquidityRateNumberDefault fee rate for market making trades
feeCurrencyStringValue of charged fee

Tickers

Get tickers for all symbols or for specified symbols

The above command returns JSON structured like this:

Returns ticker information.

You can optionally use comma-separated list of symbols. If it is not provided, null or empty, the request returns tickers for all symbols.

Requires no API key Access Rights.

Parameter:

NameTypeDescription
symbolsStringComma-separated list of symbol codes. Optional parameter

Responses:

NameTypeDescription
askNumber or nullBest ask price. Can return 'null' if no data
bidNumber or nullBest bid price. Can return 'null' if no data
lastNumber or nullLast trade price. Can return 'null' if no data
openNumber or nullLast trade price 24 hours ago. Can return 'null' if no data
lowNumberLowest trade price within 24 hours
highNumberHighest trade price within 24 hours
volumeNumberTotal trading amount within 24 hours in base currency
volumeQuoteNumberTotal trading amount within 24 hours in quote currency
timestampDatetimeLast update or refresh ticker timestamp
symbolStringSymbol name

Get ticker for a certain symbol

The above command returns JSON structured like this:

Returns the ticker for a certain symbol.

Requires no API key Access Rights.

Responses:

NameTypeDescription
askNumber or nullBest ask price. Can return 'null' if no data
bidNumber or nullBest bid price. Can return 'null' if no data
lastNumber or nullLast trade price. Can return 'null' if no data
openNumber or nullLast trade price 24 hours ago. Can return 'null' if no data
lowNumberLowest trade price within 24 hours
highNumberHighest trade price within 24 hours
volumeNumberTotal trading amount within 24 hours in base currency
volumeQuoteNumberTotal trading amount within 24 hours in quote currency
timestampDatetimeLast update or refresh ticker timestamp
symbolStringSymbol name

Trades

Get trades for all symbols or for specified symbols

The above command returns JSON structured like this:

Returns trades information for a symbol with a symbol Id.

You can optionally use comma-separated list of symbols. If it is not provided, null or empty, the request returns trades for all symbols.

Requires no API key Access Rights.

Parameters:

NameTypeDescription
sortStringSort direction
Accepted values: ,
Default value:
fromDatetime or NumberInterval initial value (optional parameter)
If sorting by is used, then , otherwise of index value
tillDatetime or NumberInterval end value (optional parameter)
If sorting by is used, then , otherwise of index value
limitNumberDefault value:
Max value:
offsetNumberDefault value: 0
Max value:
symbolsStringComma-separated list of symbol codes. Optional parameter

Responses:

NameTypeDescription
idNumberTrade identifier
priceNumberTrade price
quantityNumberTrade quantity
sideStringTrade side
Accepted values: or
timestampDatetimeTrade timestamp

Get trades for a certain symbol

The above command returns JSON structured like this:

Returns trades information for a symbol with a symbol Id.

Requires no API key Access Rights.

Parameters:

NameTypeDescription
sortStringSort direction
Accepted values: ,
Default value:
byStringDefines filter type
Accepted values: ,
Default value:
fromDatetime or NumberInterval initial value (optional parameter)
If sorting by is used, then , otherwise of index value
tillDatetime or NumberInterval end value (optional parameter)
If sorting by is used, then , otherwise of index value
limitNumberDefault value:
Max value:
offsetNumberDefault value: 0
Max value:

Responses:

NameTypeDescription
idNumberTrade identifier
priceNumberTrade price
quantityNumberTrade quantity
sideStringTrade side
Accepted values: or
timestampDatetimeTrade timestamp

Order Book

Get Order Book for all symbols or for specified symbols

The above command returns JSON structured like this:

An Order Book is an electronic list of buy and sell orders for a specific symbol, structured by price level.

You can optionally use comma-separated list of symbols. If it is not provided, null or empty, the request returns an Order Book for all symbols.

Requires no API key Access Rights.

Parameters:

NameTypeDescription
limitNumberLimit of Order Book levels
Default value:
Set 0 to view full list of Order Book levels.
symbolsStringComma-separated list of symbol codes. Optional parameter

Responses:

NameTypeDescription
askArrayAsk side array of levels
bidArrayBid side array of levels
sizeNumberTotal volume of orders with the specified price
priceNumberPrice level

Get Order Book for a certain symbol

The above command returns JSON structured like this:

The request returns an Order Book for a certain symbol.

Requires no API key Access Rights.

Parameters:

NameTypeDescription
limitNumberLimit of Order Book levels
Default value:
Set 0 to view full list of Order Book levels.
volumeNumberDesired volume for market depth search

Please note that if the is specified, the will be ignored, and are returned in response.

Responses:

NameTypeDescription
askArrayAsk side array of levels
bidArrayBid side array of levels
sizeNumberTotal volume of orders with the specified price
priceNumberPrice level
askAveragePriceNumberAverage aggregated price for the ask side orders
bidAveragePriceNumberAverage aggregated price for the bid side orders

Candles

Get candles for all symbols or for specified symbols

The above command returns JSON structured like this:

Candles are used for the representation of a specific symbol as an OHLC chart.

You can optionally use comma-separated list of symbols. If it is not provided, null or empty, the request returns candles for all symbols.

Requires no API key Access Rights.

Parameters:

NameTypeDescription
periodStringAccepted values: (one minute), , , , , (one hour), , (one day), , (one month)
Default value: (30 minutes)
sortStringSort direction
Accepted values: ,
Default value:
fromDatetimeInterval initial value (optional parameter)
tillDatetimeInterval end value (optional parameter)
limitNumberLimit of candles
Default value:
Max value:
offsetNumberDefault value: 0
Max value:
symbolsStringComma-separated list of symbol codes. Optional parameter

Responses:

NameTypeDescription
timestampDatetimeCandle timestamp
openNumberOpen price
closeNumberClosing price
minNumberLowest price for the period
maxNumberHighest price for the period
volumeNumberVolume in base currency
volumeQuoteNumberVolume in quote currency
The result contains candles with non-zero volume only (no trades = no candles).

Get candles for a certain symbol

The above command returns JSON structured like this:

The request returns candles for a certain symbol.

Requires no API key Access Rights.

Parameters:

NameTypeDescription
periodStringAccepted values: (one minute), , , , , (one hour), , (one day), , (one month)
Default value: (30 minutes)
sortStringSort direction
Accepted values: ,
Default value:
fromDatetimeInterval initial value (optional parameter)
tillDatetimeInterval end value (optional parameter)
limitNumberLimit of candles
Default value:
Max value:
offsetNumberDefault value: 0
Max value:

Responses:

NameTypeDescription
timestampDatetimeCandle timestamp
openNumberOpen price
closeNumberClosing price
minNumberLowest price for the period
maxNumberHighest price for the period
volumeNumberVolume in base currency
volumeQuoteNumberVolume in quote currency
The result contains candles with non-zero volume only (no trades = no candles).

Public market data are available without authentication. Authentication is required for other requests.

You should create API keys on the API Setting page. You can create multiple API keys with different access rights for your applications.

Use Basic Authentication to access the REST API.

Источник: conwaytransport.com.au

By -

2 thoughts on “Hitbtc login api”

Leave a Reply

Your email address will not be published. Required fields are marked *