Back to Ccxt

Toobit

wiki/exchanges-implicit/toobit.md

4.5.668.7 KB
Original Source

Every endpoint in toobit'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. commonGetApiV1Time); the snake_case alias (common_get_api_v1_time) also works in JavaScript, Python and PHP, and Go uses the PascalCase form (CommonGetApiV1Time). Switch tabs for the call in each language:

<!-- tabs:start -->

JavaScript

javascript
const toobit = new ccxt.toobit ();
const response = await toobit.commonGetApiV1Time (params);

TypeScript

typescript
import ccxt from 'ccxt';
const toobit = new ccxt.toobit ();
const response = await toobit.commonGetApiV1Time (params);

Python

python
import ccxt
toobit = ccxt.toobit()
response = toobit.common_get_api_v1_time(params)

PHP

php
$toobit = new \ccxt\toobit();
$response = $toobit->common_get_api_v1_time($params);

C#

csharp
using ccxt;
var toobit = new Toobit();
var response = await toobit.commonGetApiV1Time(parameters);

Go

go
toobit := ccxt.NewToobit(nil)
response := <-toobit.CommonGetApiV1Time(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 toobit API documentation: api-docs.toobit.com

87 implicit endpoints across 2 access groups.

common

Base URL: https://api.toobit.com

MethodHTTPEndpointCost
commonGetApiV1TimeGETapi/v1/time1
commonGetApiV1PingGETapi/v1/ping1
commonGetApiV1ExchangeInfoGETapi/v1/exchangeInfo1
commonGetQuoteV1DepthGETquote/v1/depth1
commonGetQuoteV1DepthMergedGETquote/v1/depth/merged1
commonGetQuoteV1TradesGETquote/v1/trades1
commonGetQuoteV1KlinesGETquote/v1/klines1
commonGetQuoteV1IndexKlinesGETquote/v1/index/klines1
commonGetQuoteV1IndexPriceComponentsGETquote/v1/indexPriceComponents1
commonGetQuoteV1MarkPriceKlinesGETquote/v1/markPrice/klines1
commonGetQuoteV1MarkPriceGETquote/v1/markPrice10
commonGetQuoteV1IndexGETquote/v1/index1
commonGetQuoteV1Ticker24hrGETquote/v1/ticker/24hr40
commonGetQuoteV1ContractTicker24hrGETquote/v1/contract/ticker/24hr40
commonGetQuoteV1TickerPriceGETquote/v1/ticker/price1
commonGetQuoteV1ContractTickerPriceGETquote/v1/contract/ticker/price1
commonGetQuoteV1TickerBookTickerGETquote/v1/ticker/bookTicker1
commonGetQuoteV1ContractTickerBookTickerGETquote/v1/contract/ticker/bookTicker1
commonGetApiV1FuturesFundingRateGETapi/v1/futures/fundingRate1
commonGetApiV1FuturesHistoryFundingRateGETapi/v1/futures/historyFundingRate1
commonGetApiV1FuturesRiskLimitsGETapi/v1/futures/riskLimits1

private

Base URL: https://api.toobit.com

MethodHTTPEndpointCost
privateGetApiV1AccountGETapi/v1/account5
privateGetApiV1AccountCheckApiKeyGETapi/v1/account/checkApiKey1
privateGetApiV1SpotOrderGETapi/v1/spot/order1.67
privateGetApiV1SpotOpenOrdersGETapi/v1/spot/openOrders1.67
privateGetApiV1FuturesOpenOrdersGETapi/v1/futures/openOrders1.67
privateGetApiV1SpotTradeOrdersGETapi/v1/spot/tradeOrders8.35
privateGetApiV1FuturesHistoryOrdersGETapi/v1/futures/historyOrders8.35
privateGetApiV1AccountTradesGETapi/v1/account/trades8.35
privateGetApiV1AccountBalanceFlowGETapi/v1/account/balanceFlow5
privateGetApiV1AccountDepositOrdersGETapi/v1/account/depositOrders5
privateGetApiV1AccountWithdrawOrdersGETapi/v1/account/withdrawOrders5
privateGetApiV1AccountDepositAddressGETapi/v1/account/deposit/address1
privateGetApiV1SubAccountGETapi/v1/subAccount5
privateGetApiV1AccountSubAccountGETapi/v1/account/subAccount5
privateGetApiV1SubAccountListGETapi/v1/subAccount/list5
privateGetApiV1FuturesAccountLeverageGETapi/v1/futures/accountLeverage1
privateGetApiV1FuturesOrderGETapi/v1/futures/order1.67
privateGetApiV1FuturesPositionsGETapi/v1/futures/positions8.35
privateGetApiV1FuturesHistoryPositionsGETapi/v1/futures/historyPositions5
privateGetApiV1FuturesBalanceGETapi/v1/futures/balance5
privateGetApiV1FuturesUserTradesGETapi/v1/futures/userTrades8.35
privateGetApiV1FuturesBalanceFlowGETapi/v1/futures/balanceFlow5
privateGetApiV1FuturesCommissionRateGETapi/v1/futures/commissionRate5
privateGetApiV1FuturesTodayPnlGETapi/v1/futures/todayPnl5
privateGetApiV1AccountDownloadDetailGETapi/v1/account/download/detail10
privateGetApiV1AgentInviteUserListGETapi/v1/agent/inviteUserList1
privateGetApiV1AgentCommissionDataListGETapi/v1/agent/commissionDataList1
privateGetApiV1AgentCommissionDataInfoGETapi/v1/agent/commissionDataInfo1
privateGetApiV1AgentInviteRelationCheckGETapi/v1/agent/inviteRelationCheck1
privateGetApiV1AgentDepositDetailListGETapi/v1/agent/depositDetailList1
privateGetApiV1AgentQuerySubAgentDataGETapi/v1/agent/querySubAgentData1
privateGetApiV1AgentSpotOrdersListGETapi/v1/agent/spotOrdersList1
privateGetApiV1AgentFuturesOrdersListGETapi/v1/agent/futuresOrdersList1
privateGetApiV1AgentFuturesPositionsListGETapi/v1/agent/futuresPositionsList1
privateGetApiV1AgentInviteCommissionDetailGETapi/v1/agent/invite-commission-detail1
privateGetApiV1AgentUserExportGETapi/v1/agent/user/export1
privateGetApiV1AgentExportListGETapi/v1/agent/export-list1
privateGetApiV1AgentExportUrlGETapi/v1/agent/export-url1
privatePostApiV1SpotOrderTestPOSTapi/v1/spot/orderTest1.67
privatePostApiV1SpotOrderPOSTapi/v1/spot/order1.67
privatePostApiV1FuturesOrderPOSTapi/v1/futures/order1.67
privatePostApiV1SpotBatchOrdersPOSTapi/v1/spot/batchOrders3.34
privatePostApiV1SubAccountTransferPOSTapi/v1/subAccount/transfer1
privatePostApiV1AccountWithdrawPOSTapi/v1/account/withdraw1
privatePostApiV1FuturesMarginTypePOSTapi/v1/futures/marginType1
privatePostApiV1FuturesLeveragePOSTapi/v1/futures/leverage1
privatePostApiV1FuturesBatchOrdersPOSTapi/v1/futures/batchOrders3.34
privatePostApiV1FuturesPositionTradingStopPOSTapi/v1/futures/position/trading-stop5.01
privatePostApiV1FuturesPositionMarginPOSTapi/v1/futures/positionMargin1
privatePostApiV1FuturesOrderUpdatePOSTapi/v1/futures/order/update3.34
privatePostApiV1FuturesAutoAddMarginPOSTapi/v1/futures/autoAddMargin1
privatePostApiV1FuturesFlashClosePOSTapi/v1/futures/flashClose1
privatePostApiV1FuturesReversePositionPOSTapi/v1/futures/reversePosition5
privatePostApiV1AccountDownloadApplyPOSTapi/v1/account/download/apply1000
privatePostApiV1UserDataStreamPOSTapi/v1/userDataStream1
privatePostApiV1ListenKeyPOSTapi/v1/listenKey1
privateDeleteApiV1SpotOrderDELETEapi/v1/spot/order1.67
privateDeleteApiV1FuturesOrderDELETEapi/v1/futures/order1.67
privateDeleteApiV1SpotOpenOrdersDELETEapi/v1/spot/openOrders8.35
privateDeleteApiV1FuturesBatchOrdersDELETEapi/v1/futures/batchOrders5.01
privateDeleteApiV1SpotCancelOrderByIdsDELETEapi/v1/spot/cancelOrderByIds8.35
privateDeleteApiV1FuturesCancelOrderByIdsDELETEapi/v1/futures/cancelOrderByIds5.01
privateDeleteApiV1UserDataStreamDELETEapi/v1/userDataStream1
privateDeleteApiV1ListenKeyDELETEapi/v1/listenKey1
privatePutApiV1UserDataStreamPUTapi/v1/userDataStream1
privatePutApiV1ListenKeyPUTapi/v1/listenKey1