Back to Ccxt

Bitbank

wiki/exchanges-implicit/bitbank.md

4.5.644.0 KB
Original Source

Every endpoint in bitbank's api definition is exposed as an implicit method — a thin, generated wrapper around the raw exchange endpoint. Use these for exchange-specific functionality the CCXT API does not cover.

These methods are available in every CCXT language — TypeScript, JavaScript, Python, PHP, C# and Go. Call them by the camelCase name shown in the tables below (e.g. publicGetPairTicker); the snake_case alias (public_get_pair_ticker) also works in JavaScript, Python and PHP, and Go uses the PascalCase form (PublicGetPairTicker). Switch tabs for the call in each language:

<!-- tabs:start -->

JavaScript

javascript
const bitbank = new ccxt.bitbank ();
const response = await bitbank.publicGetPairTicker (params);

TypeScript

typescript
import ccxt from 'ccxt';
const bitbank = new ccxt.bitbank ();
const response = await bitbank.publicGetPairTicker (params);

Python

python
import ccxt
bitbank = ccxt.bitbank()
response = bitbank.public_get_pair_ticker(params)

PHP

php
$bitbank = new \ccxt\bitbank();
$response = $bitbank->public_get_pair_ticker($params);

C#

csharp
using ccxt;
var bitbank = new Bitbank();
var response = await bitbank.publicGetPairTicker(parameters);

Go

go
bitbank := ccxt.NewBitbank(nil)
response := <-bitbank.PublicGetPairTicker(params)
<!-- tabs:end -->

Path parameters wrapped in {} (e.g. {pair}) are substituted from params; everything else in params is sent as the query string or request body. Cost is the rate-limiter weight of each call.

📚 Official bitbank API documentation: docs.bitbank.cc

28 implicit endpoints across 3 access groups.

public

Base URL: https://public.{hostname}

MethodHTTPEndpointCost
publicGetPairTickerGET{pair}/ticker1
publicGetTickersGETtickers1
publicGetTickersJpyGETtickers_jpy1
publicGetPairDepthGET{pair}/depth1
publicGetPairTransactionsGET{pair}/transactions1
publicGetPairTransactionsYyyymmddGET{pair}/transactions/{yyyymmdd}1
publicGetPairCandlestickCandletypeYyyymmddGET{pair}/candlestick/{candletype}/{yyyymmdd}1
publicGetPairCircuitBreakInfoGET{pair}/circuit_break_info1

private

Base URL: https://api.{hostname}

MethodHTTPEndpointCost
privateGetUserAssetsGETuser/assets1
privateGetUserSpotOrderGETuser/spot/order1
privateGetUserSpotActiveOrdersGETuser/spot/active_orders1
privateGetUserMarginPositionsGETuser/margin/positions1
privateGetUserSpotTradeHistoryGETuser/spot/trade_history1
privateGetUserDepositHistoryGETuser/deposit_history1
privateGetUserUnconfirmedDepositsGETuser/unconfirmed_deposits1
privateGetUserDepositOriginatorsGETuser/deposit_originators1
privateGetUserWithdrawalAccountGETuser/withdrawal_account1
privateGetUserWithdrawalHistoryGETuser/withdrawal_history1
privateGetSpotStatusGETspot/status1
privateGetSpotPairsGETspot/pairs1
privatePostUserSpotOrderPOSTuser/spot/order1.66
privatePostUserSpotCancelOrderPOSTuser/spot/cancel_order1.66
privatePostUserSpotCancelOrdersPOSTuser/spot/cancel_orders1.66
privatePostUserSpotOrdersInfoPOSTuser/spot/orders_info1.66
privatePostUserConfirmDepositsPOSTuser/confirm_deposits1.66
privatePostUserConfirmDepositsAllPOSTuser/confirm_deposits_all1.66
privatePostUserRequestWithdrawalPOSTuser/request_withdrawal1.66

markets

Base URL: https://api.{hostname}

MethodHTTPEndpointCost
marketsGetSpotPairsGETspot/pairs1