Retrieve information for the account associated with the request. For now, it only echoes the subaccount if one was specified in the header, which can be used to verify that one is operating on the intended account. More fields will be added later.
Get trade fee for the given marketSymbol. Get trade fees for each markets when marketSymbol is not provided.
Get trade fee for the given marketSymbol.
Get currency permissions for a single currency. Get all currency permissions when marketSymbol is not provided.
Get trading permissions when marketSymbol is not provided. Get trading permissions for a single market.
Get 30 day volume for account
Request provisioning of a deposit address for a currency for which no address has been requested or provisioned.
Retrieve the status of the deposit address for a particular currency for which one has been requested or provisioned. Alias of addresses(marketSymbol)
symbol of the currency to retrieve the deposit address for
List deposit addresses that have been requested or provisioned. Retrieve the status of the deposit address for a particular currency for which one has been requested or provisioned.
Retrieve the status of the deposit address for a particular currency for which one has been requested or provisioned. Alias of addressesStatus(marketSymbol)
symbol of the currency to retrieve the deposit address for
Retrieve account balance for a specific currency. Request will always succeed when the currency exists, regardless of whether there is a balance or address.
List account balances across available currencies. Returns a Balance entry for each currency for which there is either a balance or an address.
Create a new batch request. Currently batch requests are limited to placing and cancelling orders. The request model corresponds to the equivalent individual operations. Batch operations are executed sequentially in the order they are listed in the request. The response will return one result for each operation in the request in the same order. The status and response payload are the same as the responses would be if individual API requests were made for each operation.
List of operations in the batch
Cancel a conditional order.
(uuid-formatted string) - ID of order to cancel
Retrieve information on a specific conditional order.
(uuid-formatted string) - ID of conditional order to retrieve
List closed conditional orders. StartDate and EndDate filters apply to the ClosedAt field. Pagination and the sort order of the results are in inverse order of the ClosedAt field.
Create a new conditional order.
information specifying the conditional order to create
List open conditional orders.
filter by market (optional)
List currencies.
Retrieve info on a specified currency.
symbol of the currency to retrieve
Retrieve information for a specific deposit.
(uuid-formatted string) - ID of the deposit to retrieve
Retrieves all deposits for this account with the given TxId
the transaction id to lookup
List closed deposits. StartDate and EndDate filters apply to the CompletedAt field. Pagination and the sort order of the results are in inverse order of the CompletedAt field.
List open deposits. Results are sorted in inverse order of UpdatedAt, and are limited to the first 1000.
Gets sequence number and last execution id.
Retrieve information on a specific execution. NOTE: Executions from before 5/27/2019 are not available. Also, there may be a delay before an executed trade is visible in this endpoint.
(uuid-formatted string) - ID of execution to retrieve
List historical executions for account. Pagination and the sort order of the results are in inverse order of the Executed field.
NOTE: Executions from before 5/27/2019 are not available. Also, there may be a delay before an executed trade is visible in this endpoint.
Get details about a linked bank account
(uuid-formatted string) - ID of funds transfer method to retrieve
Get sequence of balances snapshot.
Get sequence of open conditional orders snapshot.
Get open deposits sequence.
Get sequence number for executions.
Retrieve the current sequence number for the specified market's candles snapshot.
symbol of market to retrieve candles for
desired time interval between candles
type of candles (trades or midpoint). This portion of the url may be omitted if trade based candles are desired (e.g. /candles/{candleInterval}/recent will return trade based candles)
Retrieve the current sequence number for the specified market's order book snapshot.
symbol of market to retrieve order book for
maximum depth of order book to return (optional, allowed values are [1, 25, 500], default is 25)
Retrieve the current sequence number for the specified market's recent trades snapshot.
symbol of market to retrieve order book for
Retrieve the current sequence number for the market summaries snapshot.
Retrieve the current sequence number for the tickers snapshot.
Get sequence of open orders snapshot.
Retrieve information for a specific market.
symbol of market to retrieve
Retrieve recent candles for a specific market and candle interval. The maximum age of the returned candles depends on the interval as follows: (MINUTE_1: 1 day, MINUTE_5: 1 day, HOUR_1: 31 days, DAY_1: 366 days). Candles for intervals without any trading activity will match the previous close and volume will be zero.
symbol of market to retrieve candles for
desired time interval between candles
type of candles (trades or midpoint). This portion of the url may be omitted if trade based candles are desired (e.g. /candles/{candleInterval}/recent will return trade based candles)
Retrieve recent candles for a specific market and candle interval. The date range of returned candles depends on the interval as follows: (MINUTE_1: 1 day, MINUTE_5: 1 day, HOUR_1: 31 days, DAY_1: 366 days). Candles for intervals without any trading activity will match the previous close and volume will be zero.
WARNING: (Not documented in the official API). The optional params are not arbitrary, are not really "optional".
If you specify YEAR, MONTH and DAY, interval must be DAY_1
If you specify YEAR and MONTH (omit day), interval must be HOUR_1
If you only specify YEAR (omit month and day), interval must be MINUTE_1 or MINUTE_5
In the future: Overload function to lock fixed params depending on the candleInterval value to avoid api call errors.
symbol of market to retrieve candles for
desired time interval between candles
desired year to start from
type of candles (trades or midpoint). This portion of the url may be omitted if trade based candles are desired (e.g. /candles/{candleInterval}/historical/{year} will return trade based candles)
desired month to start from (if applicable)
desired day to start from (if applicable)
Retrieve the order book for a specific market.
symbol of market to retrieve order book for
maximum depth of order book to return (optional, allowed values are [1, 25, 500], default is 25)
Retrieve summary of the last 24 hours of activity for a specific market.
symbol of market to retrieve summary for
Retrieve the ticker for a specific market.
symbol of market to retrieve ticker for
Retrieve the recent trades for a specific market.
symbol of market to retrieve recent trades for
List markets.
List summaries of the last 24 hours of activity for all markets.
List tickers for all markets.
Retrieve information on a specific order.
(uuid-formatted string) - ID of order to retrieve
Create a new order.
information specifying the order to create
Cancel an order.
(uuid-formatted string) - ID of order to cancel
List closed orders. StartDate and EndDate filters apply to the ClosedAt field. Pagination and the sort order of the results are in inverse order of the ClosedAt field.
Bulk cancel all open orders (can be limited to a specified market)
Retrieve executions for a specific order.
Results are sorted in inverse order of execution time, and are limited to the first 1000.
NOTE: Executions from before 5/27/2019 are not available.
Also, there may be a delay before an executed trade is visible in this endpoint.
List open orders.
filter by market (optional)
Convert ISO String dates to Date instances
Pings the service
Creates an axios request with signed headers
request method (GET, POST, HEAD...)
base url without query string
Create a pre-sign string, and sign via HmacSHA512, using your API secret as the signing secret. Hex-encode the result of this operation and populate the Api-Signature header with it.
query string params
Clean up object removing undefined keys in order to avoid useless query params in the request.
Create a new subaccount.
(NOTE: This API is limited to partners and not available for traders.)
(WARNING: Official API doesn't provide information about NewSubaccount body payload)
List closed withdrawals for all subaccounts.
StartDate and EndDate filters apply to the CompletedAt field.
Pagination and the sort order of the results are in inverse order of the CompletedAt field.
List open withdrawals for all subaccounts.
Results are sorted in inverse order of the CreatedAt field, and are limited to the first 1000.
List subaccounts.
(NOTE: This API is limited to partners and not available for traders.)
Pagination and the sort order of the results are in inverse order of the CreatedAt field.
Retrieve details for a specified subaccount. (NOTE: This API is limited to partners and not available for traders.)
(uuid-formatted string) - ID of the subaccount to retrieve details for
List closed deposits for all subaccounts.
StartDate and EndDate filters apply to the CompletedAt field.
Pagination and the sort order of the results are in inverse order of the CompletedAt field.
Retrieve information on the specified transfer. (NOTE: This API is limited to partners and not available for traders.)
(uuid-formatted string) - ID of the transfer to retrieve
Executes a new transfer. (NOTE: This API is limited to partners and not available for traders.)
information specifying the transfer to execute
List received transfers. (NOTE: This API is limited to partners and not available for traders.) Pagination and the sort order of the results are in inverse order of the Executed field.
List sent transfers. (NOTE: This API is limited to partners and not available for traders.) Pagination and the sort order of the results are in inverse order of the Executed field.
Retrieve information on a specified withdrawal.
(uuid-formatted string) - ID of withdrawal to retrieve
Retrieves all withdrawals for this account with the given TxId
the transaction id to lookup
Create a new withdrawal.
To initiate a fiat withdrawal specify a funds transfer method id instead of a crypto address.
information specifying the withdrawal to create
Cancel a withdrawal.
(Withdrawals can only be cancelled if status is REQUESTED, AUTHORIZED, or ERROR_INVALID_ADDRESS.)
Returns a list of allowed addresses.
List closed withdrawals.
StartDate and EndDate filters apply to the CompletedAt field.
Pagination and the sort order of the results are in inverse order of the CompletedAt field.
List open withdrawals. Results are sorted in inverse order of the CreatedAt field, and are limited to the first 1000.
Generated using TypeDoc
Create a new client instance with API Keys