Back to Ccxt

Whitebit

wiki/exchanges-implicit/whitebit.md

4.5.739.7 KB
Original Source

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

<!-- tabs:start -->

JavaScript

javascript
const whitebit = new ccxt.whitebit ();
const response = await whitebit.webGetV1Healthcheck (params);

TypeScript

typescript
import ccxt from 'ccxt';
const whitebit = new ccxt.whitebit ();
const response = await whitebit.webGetV1Healthcheck (params);

Python

python
import ccxt
whitebit = ccxt.whitebit()
response = whitebit.web_get_v1_healthcheck(params)

PHP

php
$whitebit = new \ccxt\whitebit();
$response = $whitebit->web_get_v1_healthcheck($params);

C#

csharp
using ccxt;
var whitebit = new Whitebit();
var response = await whitebit.webGetV1Healthcheck(parameters);

Go

go
whitebit := ccxt.NewWhitebit(nil)
response := <-whitebit.WebGetV1Healthcheck(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 whitebit API documentation: github.com

111 implicit endpoints across 4 access groups.

web

MethodHTTPEndpointCost
webGetV1HealthcheckGETv1/healthcheck1

v1

MethodHTTPEndpointCost
v1PublicGetMarketsGETmarkets1
v1PublicGetTickersGETtickers1
v1PublicGetTickerGETticker1
v1PublicGetSymbolsGETsymbols1
v1PublicGetDepthResultGETdepth/result1
v1PublicGetHistoryGEThistory1
v1PublicGetKlineGETkline1
v1PrivatePostAccountBalancePOSTaccount/balance1
v1PrivatePostOrderNewPOSTorder/new1
v1PrivatePostOrderCancelPOSTorder/cancel1
v1PrivatePostOrdersPOSTorders1
v1PrivatePostAccountOrderHistoryPOSTaccount/order_history1
v1PrivatePostAccountExecutedHistoryPOSTaccount/executed_history1
v1PrivatePostAccountExecutedHistoryAllPOSTaccount/executed_history/all1
v1PrivatePostAccountOrderPOSTaccount/order1

v2

MethodHTTPEndpointCost
v2PublicGetMarketsGETmarkets1
v2PublicGetTickerGETticker1
v2PublicGetAssetsGETassets1
v2PublicGetFeeGETfee1
v2PublicGetDepthMarketGETdepth/{market}1
v2PublicGetTradesMarketGETtrades/{market}1

v4

MethodHTTPEndpointCost
v4PublicGetAssetsGETassets1
v4PublicGetCollateralMarketsGETcollateral/markets1
v4PublicGetFeeGETfee1
v4PublicGetFundingHistoryMarketGETfunding-history/{market}1
v4PublicGetOrderbookDepthMarketGETorderbook/depth/{market}1
v4PublicGetOrderbookMarketGETorderbook/{market}1
v4PublicGetTickerGETticker1
v4PublicGetTradesMarketGETtrades/{market}1
v4PublicGetTimeGETtime1
v4PublicGetPingGETping1
v4PublicGetMarketsGETmarkets1
v4PublicGetFuturesGETfutures1
v4PublicGetPlatformStatusGETplatform/status1
v4PublicGetMiningPoolGETmining-pool1
v4PrivatePostCollateralAccountBalancePOSTcollateral-account/balance1
v4PrivatePostCollateralAccountBalanceSummaryPOSTcollateral-account/balance-summary1
v4PrivatePostCollateralAccountPositionsHistoryPOSTcollateral-account/positions/history1
v4PrivatePostCollateralAccountLeveragePOSTcollateral-account/leverage1
v4PrivatePostCollateralAccountPositionsOpenPOSTcollateral-account/positions/open1
v4PrivatePostCollateralAccountSummaryPOSTcollateral-account/summary1
v4PrivatePostCollateralAccountFundingHistoryPOSTcollateral-account/funding-history1
v4PrivatePostMainAccountAddressPOSTmain-account/address1
v4PrivatePostMainAccountBalancePOSTmain-account/balance1
v4PrivatePostMainAccountCreateNewAddressPOSTmain-account/create-new-address1
v4PrivatePostMainAccountCodesPOSTmain-account/codes1
v4PrivatePostMainAccountCodesApplyPOSTmain-account/codes/apply1
v4PrivatePostMainAccountCodesMyPOSTmain-account/codes/my1
v4PrivatePostMainAccountCodesHistoryPOSTmain-account/codes/history1
v4PrivatePostMainAccountFiatDepositUrlPOSTmain-account/fiat-deposit-url1
v4PrivatePostMainAccountHistoryPOSTmain-account/history1
v4PrivatePostMainAccountWithdrawPOSTmain-account/withdraw1
v4PrivatePostMainAccountWithdrawPayPOSTmain-account/withdraw-pay1
v4PrivatePostMainAccountTransferPOSTmain-account/transfer1
v4PrivatePostMainAccountSmartPlansPOSTmain-account/smart/plans1
v4PrivatePostMainAccountSmartInvestmentPOSTmain-account/smart/investment1
v4PrivatePostMainAccountSmartInvestmentClosePOSTmain-account/smart/investment/close1
v4PrivatePostMainAccountSmartInvestmentsPOSTmain-account/smart/investments1
v4PrivatePostMainAccountFeePOSTmain-account/fee1
v4PrivatePostMainAccountSmartInterestPaymentHistoryPOSTmain-account/smart/interest-payment-history1
v4PrivatePostTradeAccountBalancePOSTtrade-account/balance1
v4PrivatePostTradeAccountExecutedHistoryPOSTtrade-account/executed-history1
v4PrivatePostTradeAccountOrderHistoryPOSTtrade-account/order/history1
v4PrivatePostTradeAccountOrderPOSTtrade-account/order1
v4PrivatePostOrderCollateralLimitPOSTorder/collateral/limit1
v4PrivatePostOrderCollateralMarketPOSTorder/collateral/market1
v4PrivatePostOrderCollateralStopLimitPOSTorder/collateral/stop-limit1
v4PrivatePostOrderCollateralTriggerMarketPOSTorder/collateral/trigger-market1
v4PrivatePostOrderCollateralBulkPOSTorder/collateral/bulk1
v4PrivatePostOrderNewPOSTorder/new1
v4PrivatePostOrderMarketPOSTorder/market1
v4PrivatePostOrderStockMarketPOSTorder/stock_market1
v4PrivatePostOrderStopLimitPOSTorder/stop_limit1
v4PrivatePostOrderStopMarketPOSTorder/stop_market1
v4PrivatePostOrderCancelPOSTorder/cancel1
v4PrivatePostOrderCancelAllPOSTorder/cancel/all1
v4PrivatePostOrderKillSwitchPOSTorder/kill-switch1
v4PrivatePostOrderKillSwitchStatusPOSTorder/kill-switch/status1
v4PrivatePostOrderBulkPOSTorder/bulk1
v4PrivatePostOrderModifyPOSTorder/modify1
v4PrivatePostOrderConditionalCancelPOSTorder/conditional-cancel1
v4PrivatePostOrdersPOSTorders1
v4PrivatePostOcoOrdersPOSToco-orders1
v4PrivatePostOrderCollateralOcoPOSTorder/collateral/oco1
v4PrivatePostOrderOcoCancelPOSTorder/oco-cancel1
v4PrivatePostOrderOtoCancelPOSTorder/oto-cancel1
v4PrivatePostProfileWebsocketTokenPOSTprofile/websocket_token1
v4PrivatePostConvertEstimatePOSTconvert/estimate1
v4PrivatePostConvertConfirmPOSTconvert/confirm1
v4PrivatePostConvertHistoryPOSTconvert/history1
v4PrivatePostSubAccountCreatePOSTsub-account/create1
v4PrivatePostSubAccountDeletePOSTsub-account/delete1
v4PrivatePostSubAccountEditPOSTsub-account/edit1
v4PrivatePostSubAccountListPOSTsub-account/list1
v4PrivatePostSubAccountTransferPOSTsub-account/transfer1
v4PrivatePostSubAccountBlockPOSTsub-account/block1
v4PrivatePostSubAccountUnblockPOSTsub-account/unblock1
v4PrivatePostSubAccountBalancesPOSTsub-account/balances1
v4PrivatePostSubAccountTransferHistoryPOSTsub-account/transfer/history1
v4PrivatePostSubAccountApiKeyCreatePOSTsub-account/api-key/create1
v4PrivatePostSubAccountApiKeyEditPOSTsub-account/api-key/edit1
v4PrivatePostSubAccountApiKeyDeletePOSTsub-account/api-key/delete1
v4PrivatePostSubAccountApiKeyListPOSTsub-account/api-key/list1
v4PrivatePostSubAccountApiKeyResetPOSTsub-account/api-key/reset1
v4PrivatePostSubAccountApiKeyIpAddressListPOSTsub-account/api-key/ip-address/list1
v4PrivatePostSubAccountApiKeyIpAddressCreatePOSTsub-account/api-key/ip-address/create1
v4PrivatePostSubAccountApiKeyIpAddressDeletePOSTsub-account/api-key/ip-address/delete1
v4PrivatePostMiningRewardsPOSTmining/rewards1
v4PrivatePostMarketFeePOSTmarket/fee1
v4PrivatePostConditionalOrdersPOSTconditional-orders1