Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

bingx-trading-api

mnguyenz135MIT2.0.1TypeScript support: included

BingX Exchange APIs Connector using Typescript

BingX, BingX API, API, Crypto, Trading, BTC, Trading Bots

readme

Node.js & Typescript BingX (Cryptocurrency Exchange) API

This library is a lightweight, easy, simple and clean connector to the BingX Cryptocurrency Exchange API.

Right now I'm focus on Spot APIs, I will try to complete other APIs later

Installation

npm install bingx-trading-api

Documentation

Init client

const client = new Spot(API_KEY, API_SECRET);

Make requests

const spotTradingSymbol = await client.spotTradingSymbols({ symbol });

const queryAssets = await client.queryAssets();

const symbolPriceTicker = await client.symbolPriceTicker({ symbol });

...

Support

For support my efforts, please register with my referral links:

BingX

Binance

Bybit

OKX

Or buy me a coffee

BTC (BEP20): 0x613c399b33c33c0445dc802592580695a4d41134
ETH (ERC20): 0x613c399b33c33c0445dc802592580695a4d41134
ETH (BEP20): 0x613c399b33c33c0445dc802592580695a4d41134
USDT (TRC20): TLtBXUHcUYSJg4pftQbbJ2ZuvM22C1p8nG
USDT (BEP20): 0x613c399b33c33c0445dc802592580695a4d41134

Thank you so much for all the support

Features

The list BingX supported APIs. I am implementing the ones I am using first, then the others later. Contact me at mnguyen2606@gmail.com if you need any specific APIs, and I will prioritize it. Thank you.

  • <input checked="" disabled="" type="checkbox"> Spot Trading
    • <input checked="" disabled="" type="checkbox"> Market
      • <input checked="" disabled="" type="checkbox">
        1. Spot Trading Symbols
      • <input checked="" disabled="" type="checkbox">
        1. Recent Trades List
      • <input checked="" disabled="" type="checkbox">
        1. Order Book
      • <input checked="" disabled="" type="checkbox">
        1. Kline/Candlestick Data
      • <input checked="" disabled="" type="checkbox">
        1. 24hr Ticker Price Change Statistics
      • <input checked="" disabled="" type="checkbox">
        1. Order Book Aggregation
      • <input checked="" disabled="" type="checkbox">
        1. Symbol Price Ticker
      • <input checked="" disabled="" type="checkbox">
        1. Symbol Order Book Ticker
      • <input checked="" disabled="" type="checkbox">
        1. Historical K-line
      • <input checked="" disabled="" type="checkbox">
        1. Old Trade Lookup
    • <input checked="" disabled="" type="checkbox"> Fund Acount
      • <input checked="" disabled="" type="checkbox">
        1. Query Assets
      • <input checked="" disabled="" type="checkbox">
        1. Asset transfer records
    • <input checked="" disabled="" type="checkbox"> Trade
      • <input checked="" disabled="" type="checkbox">
        1. Place Order
      • <input checked="" disabled="" type="checkbox">
        1. Cancel Order
      • <input checked="" disabled="" type="checkbox">
        1. Cancel all Open Orders on a Symbol
      • <input checked="" disabled="" type="checkbox">
        1. Query Order Details
      • <input checked="" disabled="" type="checkbox">
        1. Current Open Orders
      • <input checked="" disabled="" type="checkbox">
        1. Query Order History
      • <input checked="" disabled="" type="checkbox">
        1. Query Trading Commission Rate