Contract

Public

Security: None

Endpoints under Public section can be accessed freely without requiring any API-key or signatures

1) Test Connectivity

This endpoint checks connectivity to the host

URL: https://futuresopenapi.koinbay.com/fapi/v1/ping

Method: Get

Parameters: No

Success Response:

{}

2) Check Server Time

URL: https://futuresopenapi.koinbay.com/fapi/v1/time

Method: Get

Parameters: No

Success Response:{

{
   "serverTime":1607702400000,
    "timezone":Chinese standard time
}

3) Operation Summary

URL: https://futuresopenapi.koinbay.com/fapi/v1/contracts

Method: Get

Parameters: No

Success Response:

[
    {
        "symbol": "H-HT-USDT",
        "pricePrecision": 8,
        "side": 1,
        "maxMarketVolume": 100000,
        "multiplier": 6,
        "minOrderVolume": 1,
        "maxMarketMoney": 10000000,
        "type": "H",
        "maxLimitVolume": 1000000,
        "maxValidOrder": 20,
        "multiplierCoin": "HT",
        "minOrderMoney": 0.001,
        "maxLimitMoney": 1000000,
        "status": 1
    }
]

Market

Security: None​

Market section can be accessed freely without requiring any API-key or signatures.

1) Depth

Market Depth Data

URL: https://futuresopenapi.koinbay.com/fapi/v1/depth

Parameters

Query

Success Response:

{
  "bids": [
    [
      "3.90000000",   // price
      "431.00000000"  // quantity
    ],
    [
      "4.00000000",
      "431.00000000"
    ]
  ],
  "asks": [
    [
      "4.00000200",  // price
      "12.00000000"  // quantity
    ],
    [
      "5.10000000",
      "28.00000000"
    ]
  ]
}

The fields bids and asks are lists of order book price level entries, sorted from best to worst.

2) 24 hours ticker

24 hr price change statistics

URL: https://futuresopenapi.koinbay.com/fapi/v1/ticker

Method: Get

Parameters:

Success Response of obtaining ticker info:

{
    "high": "9279.0301",
    "vol": "1302",
    "last": "9200",
    "low": "9279.0301",
    "rose": "0",
    "time": 1595563624731
}

3) Get index/marked price

URL: https://futuresopenapi.koinbay.com/fapi/v1/index

Method: Get

Parameters

Success Responses:

{
    "markPrice": 581.5,
    "indexPrice": 646.3933333333333,
    "lastFundingRate": 0.001,
    "contractName": "E-ETH-USDT",
    "time": 1608273554063
}

Trading

Publishing Soon

Account

Publishing Soon

Last updated