Public Data

GET Instruments

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

https://docs.blofin.com/index.html#get-instruments

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

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

https://docs.blofin.com/index.html#get-tickers

Function Name:

Usage:

GET Order Book

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

https://docs.blofin.com/index.html#get-order-book

Function Name:

Usage:

GET Trades

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

https://docs.blofin.com/index.html#get-trades

Function Name:

Usage:

GET Mark Price

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

https://docs.blofin.com/index.html#get-mark-price

Function Name:

Usage:

GET Funding Rate

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

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

Function Name:

Usage:

GET Funding Rate History

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

https://docs.blofin.com/index.html#get-funding-rate-history

Function Name:

Usage:

GET Candlesticks

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

https://docs.blofin.com/index.html#get-candlesticks

Function Name:

Usage:

Last updated