Back to Ccxt

Bitbns

wiki/exchanges-implicit/bitbns.md

4.5.734.5 KB
Original Source

Every endpoint in bitbns'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#, Go and Java. Call them by the camelCase name shown in the tables below (e.g. wwwGetOrderFetchMarkets); the snake_case alias (www_get_order_fetchmarkets) also works in JavaScript, Python and PHP, and Go uses the PascalCase form (WwwGetOrderFetchMarkets). Switch tabs for the call in each language:

<!-- tabs:start -->

JavaScript

javascript
const bitbns = new ccxt.bitbns ();
const response = await bitbns.wwwGetOrderFetchMarkets (params);

TypeScript

typescript
import ccxt from 'ccxt';
const bitbns = new ccxt.bitbns ();
const response = await bitbns.wwwGetOrderFetchMarkets (params);

Python

python
import ccxt
bitbns = ccxt.bitbns()
response = bitbns.www_get_order_fetchmarkets(params)

PHP

php
$bitbns = new \ccxt\bitbns();
$response = $bitbns->www_get_order_fetchmarkets($params);

C#

csharp
using ccxt;
var bitbns = new Bitbns();
var response = await bitbns.wwwGetOrderFetchMarkets(parameters);

Go

go
bitbns := ccxt.NewBitbns(nil)
response := <-bitbns.WwwGetOrderFetchMarkets(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 bitbns API documentation: bitbns.com

36 implicit endpoints across 3 access groups.

www

Base URL: https://{hostname}

MethodHTTPEndpointCost
wwwGetOrderFetchMarketsGETorder/fetchMarkets1
wwwGetOrderFetchTickersGETorder/fetchTickers1
wwwGetOrderFetchOrderbookGETorder/fetchOrderbook1
wwwGetOrderGetTickerWithVolumeGETorder/getTickerWithVolume1
wwwGetExchangeDataOhlcGETexchangeData/ohlc1
wwwGetExchangeDataOrderBookGETexchangeData/orderBook1
wwwGetExchangeDataTradedetailsGETexchangeData/tradedetails1

v1

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

MethodHTTPEndpointCost
v1GetPlatformStatusGETplatform/status1
v1GetTickersGETtickers1
v1GetOrderbookSellSymbolGETorderbook/sell/{symbol}1
v1GetOrderbookBuySymbolGETorderbook/buy/{symbol}1
v1PostCurrentCoinBalanceEVERYTHINGPOSTcurrentCoinBalance/EVERYTHING1
v1PostGetApiUsageStatusUSAGEPOSTgetApiUsageStatus/USAGE1
v1PostGetOrderSocketTokenUSAGEPOSTgetOrderSocketToken/USAGE1
v1PostCurrentCoinBalanceSymbolPOSTcurrentCoinBalance/{symbol}1
v1PostOrderStatusSymbolPOSTorderStatus/{symbol}1
v1PostDepositHistorySymbolPOSTdepositHistory/{symbol}1
v1PostWithdrawHistorySymbolPOSTwithdrawHistory/{symbol}1
v1PostWithdrawHistoryAllSymbolPOSTwithdrawHistoryAll/{symbol}1
v1PostDepositHistoryAllSymbolPOSTdepositHistoryAll/{symbol}1
v1PostListOpenOrdersSymbolPOSTlistOpenOrders/{symbol}1
v1PostListOpenStopOrdersSymbolPOSTlistOpenStopOrders/{symbol}1
v1PostGetCoinAddressSymbolPOSTgetCoinAddress/{symbol}1
v1PostPlaceSellOrderSymbolPOSTplaceSellOrder/{symbol}1
v1PostPlaceBuyOrderSymbolPOSTplaceBuyOrder/{symbol}1
v1PostBuyStopLossSymbolPOSTbuyStopLoss/{symbol}1
v1PostSellStopLossSymbolPOSTsellStopLoss/{symbol}1
v1PostCancelOrderSymbolPOSTcancelOrder/{symbol}1
v1PostCancelStopLossOrderSymbolPOSTcancelStopLossOrder/{symbol}1
v1PostListExecutedOrdersSymbolPOSTlistExecutedOrders/{symbol}1
v1PostPlaceMarketOrderSymbolPOSTplaceMarketOrder/{symbol}1
v1PostPlaceMarketOrderQntySymbolPOSTplaceMarketOrderQnty/{symbol}1

v2

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

MethodHTTPEndpointCost
v2PostOrdersPOSTorders1
v2PostCancelPOSTcancel1
v2PostGetordersnewPOSTgetordersnew1
v2PostMarginOrdersPOSTmarginOrders1