Bibipom API

Bibipom Exchange - Endpoints Overview

Endpoin summary

No. Endpoint Description
1 /pairs Details on cryptoassets traded on an exchange.
2 /tickers Market related statistics for all markets for the last 24 hours.
3 /orderbook Order book depth of any given trading pair, split into two different arrays for bid and ask orders.
4 /historical Historical trade data for any given trading pair.

Endpoint 1 - /pairs

The /pair endpoint provides a summary of the swap pairs available within bibipom.

GET Call:
https://www.bibipom.com/Api/External/pairs/

Response

{
    "status": 1,
    "data": {
        "market": [
            {
                "ticker_id": "ETH_USDT",
                "base": "USDT",
                "target": "ETH"
            },
            {
                "ticker_id": "BTC_USDT",
                "base": "USDT",
                "target": "BTC"
            },
            ....
Name Data Type Description
ticker_id String Target/base currency pair separated by _
base String Symbol/currency code of a the base cryptoasset, eg. BTC
target String Symbol/currency code of the target cryptoasset, eg. USDT

Endpoint 2 - /tickers

The /tickers endpoint provides 24-hour pricing and volume information on each market pair available on an exchange.

GET Call:
https://www.bibipom.com/Api/External/tickers/

Response

{
    "status": 1,
    "data": {
        "market": [
            {
                "ticker_id": "ETH_USDT",
                "base_currency": "USDT",
                "target_currency": "ETH",
                "last_price": "1730.04872210",
                "base_volume": 8.05783641,
                "target_volume": 8.05783641,
                "bid": "1691.74203700",
                "ask": "1728.89374310",
                "high": "1751.59843075",
                "low": "1633.08625200"
            },
            ....
Name Data Type Description
ticker_id String Target/base currency pair separated by _, eg. ETH_USDT
base_currency String Symbol/currency code of a the base cryptoasset, eg. USDT
target_currency String Symbol/currency code of the target cryptoasset, eg. ETH
last_price Decimal Last transacted price of base currency based on given target currency
base_volume Decimal 24 hour trading volume in base pair volume
target_volume Decimal 24 hour trading volume in target pair volume
bid Decimal Current highest bid price
ask Decimal Current lowest ask price
high Decimal Rolling 24-hours highest transaction price
low Decimal Rolling 24-hours lowest transaction price

Endpoint 3 - /orderbook

The /orderbook/ticker_id endpoint is to provide order book information with at least depth = 100 (50 each side) returned for a given market pair/ticker.

GET Call:
https://www.bibipom.com/Api/External/orderbook?ticker_id=BTC_USDT&depth=100

Endpoint Parameters

Name Data Type Description
ticker_id String A ticker such as "BTC_USDT", with delimiter between different cryptoassets
depth Integer Orders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side. Note that for more liquid or closely priced pairs, the lack of order depth may result in miscalculation of depth/spread.

Response

{
    "status": 1,
    "data": {
        "depth": {
            "bids": [
                [
                    "50874.19188665",
                    "0.00129224"
                ],
            ....
            ],
             "asks": [
                [
                    "51956.47348100",
                    "0.00091408"
                ],
            ....
Name Data Type Description
ticker_id String A pair such as "BTC_USDT", with delimiter between different cryptoassets
bid Decimal An array containing 2 elements. The offer price and quantity for each bid order.
ask Decimal An array containing 2 elements. The ask price and quantity for each ask order.

Endpoint 4 - /historical_trades

The /historical_trades/ticker_id is used to return data on historical completed trades for a given market pair.

GET Call:
https://www.bibipom.com/Api/External/historical_trades?ticker_id=ETH_BTC&depth=1000&type=sell

Endpoint Parameters

Name Data Type Description
ticker_id String A pair such as "ETH_BTC", with delimiter between different cryptoassets
depth Integer Orders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side. Note that for more liquid or closely priced pairs, the lack of order depth may result in miscalculation of depth/spread.
type String To indicate nature of trade - buy/sell

Response

{
    "status": 1,
    "data": {
        "market": "eth_btc",
        "sell": [
            {
                "trade_id": "227449",
                "price": "0.03416388",
                "base_volume": "0.02819586",
                "target_volume": "0.00096328",
                "type": "sell",
                "timestamp": "1615215264000"
            },
            ....
Name Data Type Description
trade_id Integer A unique ID associated with the trade for the currency pair transaction Note: Unix timestamp does not qualify as trade_id.
price Decimal Transaction price in base pair volume.
base_volume Decimal Transaction amount in base pair volume.
target_volume Decimal Transaction amount in target pair volume.
type String To indicate nature of trade - buy/sell
timestamp timestamp Unix timestamp in milliseconds for when the transaction occurred.