Public Data

GET Instruments

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-instrumentsarrow-up-right

Function Name:

getInstruments()

Usage:

import { createExchange } from "./exchanges/exchange.js";

   let myBlofinExchange  = createExchange({
      exchange: "blofin",
      authenticate: "true",
      key: "myKey",
      secret: "mySecret",
      passphrase: "myPassphrase",
      label: "blofin"
  });

async function getInstruments(exchange, options) {
    try {
        let result = await exchange.getInstruments(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

let result = await getInstruments(myBlofinExchange, 
});

GET Tickers

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-tickersarrow-up-right

Function Name:

Usage:

GET Order Book

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-order-bookarrow-up-right

Function Name:

Usage:

GET Trades

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-tradesarrow-up-right

Function Name:

Usage:

GET Mark Price

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-mark-pricearrow-up-right

Function Name:

Usage:

GET Funding Rate

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-funding-ratearrow-up-right

Function Name:

Usage:

GET Funding Rate History

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-funding-rate-historyarrow-up-right

Function Name:

Usage:

GET Candlesticks

circle-info

Please refer to the official BloFin API Docs for the Required parameters.

https://docs.blofin.com/index.html#get-candlesticksarrow-up-right

Function Name:

Usage:

Last updated