Back to Ccxt

Bit2c

wiki/exchanges-implicit/bit2c.md

4.5.733.5 KB
Original Source

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

<!-- tabs:start -->

JavaScript

javascript
const bit2c = new ccxt.bit2c ();
const response = await bit2c.publicGetExchangesPairTicker (params);

TypeScript

typescript
import ccxt from 'ccxt';
const bit2c = new ccxt.bit2c ();
const response = await bit2c.publicGetExchangesPairTicker (params);

Python

python
import ccxt
bit2c = ccxt.bit2c()
response = bit2c.public_get_exchanges_pair_ticker(params)

PHP

php
$bit2c = new \ccxt\bit2c();
$response = $bit2c->public_get_exchanges_pair_ticker($params);

C#

csharp
using ccxt;
var bit2c = new Bit2c();
var response = await bit2c.publicGetExchangesPairTicker(parameters);

Go

go
bit2c := ccxt.NewBit2c(nil)
response := <-bit2c.PublicGetExchangesPairTicker(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 bit2c API documentation: bit2c.co.il · github.com

23 implicit endpoints across 2 access groups.

public

MethodHTTPEndpointCost
publicGetExchangesPairTickerGETExchanges/{pair}/Ticker1
publicGetExchangesPairOrderbookGETExchanges/{pair}/orderbook1
publicGetExchangesPairTradesGETExchanges/{pair}/trades1
publicGetExchangesPairLasttradesGETExchanges/{pair}/lasttrades1

private

MethodHTTPEndpointCost
privatePostMerchantCreateCheckoutPOSTMerchant/CreateCheckout1
privatePostFundsAddCoinFundsRequestPOSTFunds/AddCoinFundsRequest1
privatePostOrderAddFundPOSTOrder/AddFund1
privatePostOrderAddOrderPOSTOrder/AddOrder1
privatePostOrderGetByIdPOSTOrder/GetById1
privatePostOrderAddOrderMarketPriceBuyPOSTOrder/AddOrderMarketPriceBuy1
privatePostOrderAddOrderMarketPriceSellPOSTOrder/AddOrderMarketPriceSell1
privatePostOrderCancelOrderPOSTOrder/CancelOrder1
privatePostOrderAddCoinFundsRequestPOSTOrder/AddCoinFundsRequest1
privatePostOrderAddStopOrderPOSTOrder/AddStopOrder1
privatePostPaymentGetMyIdPOSTPayment/GetMyId1
privatePostPaymentSendPOSTPayment/Send1
privatePostPaymentPayPOSTPayment/Pay1
privateGetAccountBalanceGETAccount/Balance1
privateGetAccountBalanceV2GETAccount/Balance/v21
privateGetOrderMyOrdersGETOrder/MyOrders1
privateGetOrderGetByIdGETOrder/GetById1
privateGetOrderAccountHistoryGETOrder/AccountHistory1
privateGetOrderOrderHistoryGETOrder/OrderHistory1