Back to Ccxt

Bit2c

wiki/exchanges-implicit/bit2c.md

4.5.643.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# and Go. 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}/Ticker
publicGetExchangesPairOrderbookGETExchanges/{pair}/orderbook
publicGetExchangesPairTradesGETExchanges/{pair}/trades
publicGetExchangesPairLasttradesGETExchanges/{pair}/lasttrades

private

MethodHTTPEndpointCost
privatePostMerchantCreateCheckoutPOSTMerchant/CreateCheckout
privatePostFundsAddCoinFundsRequestPOSTFunds/AddCoinFundsRequest
privatePostOrderAddFundPOSTOrder/AddFund
privatePostOrderAddOrderPOSTOrder/AddOrder
privatePostOrderGetByIdPOSTOrder/GetById
privatePostOrderAddOrderMarketPriceBuyPOSTOrder/AddOrderMarketPriceBuy
privatePostOrderAddOrderMarketPriceSellPOSTOrder/AddOrderMarketPriceSell
privatePostOrderCancelOrderPOSTOrder/CancelOrder
privatePostOrderAddCoinFundsRequestPOSTOrder/AddCoinFundsRequest
privatePostOrderAddStopOrderPOSTOrder/AddStopOrder
privatePostPaymentGetMyIdPOSTPayment/GetMyId
privatePostPaymentSendPOSTPayment/Send
privatePostPaymentPayPOSTPayment/Pay
privateGetAccountBalanceGETAccount/Balance
privateGetAccountBalanceV2GETAccount/Balance/v2
privateGetOrderMyOrdersGETOrder/MyOrders
privateGetOrderGetByIdGETOrder/GetById
privateGetOrderAccountHistoryGETOrder/AccountHistory
privateGetOrderOrderHistoryGETOrder/OrderHistory