An AI coding assistant skill library for the BingX Exchange API, supporting Claude Code, Cursor, Codex, and OpenCode.
npx skills add https://github.com/bingx-api/api-ai-skills --skill bingx-standard-tradeقم بتثبيت هذه المهارة باستخدام واجهة سطر الأوامر (CLI) وابدأ في استخدام سير عمل SKILL.md في مساحة عملك.
A BingX Exchange API Skills Library for AI coding assistants — 16 skill modules covering perpetual futures, spot trading, coin-margined contracts, copy trading, and account management.
Once installed, you can interact with the AI using natural language to query market data, place trades, and manage accounts — no manual API coding required.
Supported AI Assistants: OpenClaw、Claude Code, Cursor, and other AI coding assistants that support the skills mechanism.
Works with OpenClaw, Cursor, Claude Code, and other AI coding assistants
Simply tell your AI:
Set up the skills https://github.com/BingX-API/api-ai-skills
The AI will automatically recognize and complete the installation, no commands needed!
/plugin marketplace add BingX-API/api-ai-skills
/plugin install bingx-ai-skills
npx skills add BingX-API/api-ai-skills
Works with Cursor, Windsurf, and other AI assistants that support the skills mechanism
After installation, the AI assistant will automatically recognize the following skills:
USDT-M Perpetual Futures:
Spot Trading:
Coin-M Perpetual Futures:
Copy Trading:
Account Management:
Standard Contract:
Announcements:
The following market data skills can be used without an API key:
bingx-swap-market (perpetual futures market data)bingx-spot-market (spot market data)bingx-coinm-market (coin-margined futures market data)bingx-announcement (official announcements)All other trading and account skills require the following environment variables:
BINGX_API_KEY — Your API KeyBINGX_SECRET_KEY — Your Secret KeyCreate your API Key at BingX User Center → API Management.
| Environment | Description | Primary URL | Fallback URL |
|---|---|---|---|
prod-live |
Production (real funds) | https://open-api.bingx.com |
https://open-api.bingx.pro |
prod-vst |
Simulated trading (testnet) | https://open-api-vst.bingx.com |
https://open-api-vst.bingx.pro |
For full authentication technical details, see skills/references/authentication.md
After installation, you can talk to the AI in natural language. Here are 3 typical scenarios:
Place a BTC-USDT USDT-M perpetual market buy order on BingX, go long 0.01 BTC
The AI will use the
bingx-swap-tradeskill to build a signed request and submit the order. In theprod-liveenvironment, you will be asked to type CONFIRM before execution.
Query the ETH-USDT USDT-M perpetual klines on BingX for the last 4 hours, 15-minute interval
The AI will use the
bingx-swap-marketskill to fetch kline data. This endpoint requires no authentication and returns results directly.
Market buy 50 USDT worth of BTC-USDT on BingX spot market
The AI will use the
bingx-spot-tradeskill to place the order. Spot market buy orders use thequoteOrderQtyparameter to specify the spending amount.
This repository is a Skills collection designed for AI coding assistants, enabling AI to directly understand and call BingX Exchange REST APIs without users having to write request code manually.
Each skill module consists of two files:
SKILL.md — Agent behavior instructions
api-reference.md — Complete API documentation
After reading these files, the AI can autonomously handle HMAC SHA256 signing, request construction, and response parsing, allowing users to query market data, place trades, and manage accounts through natural language.
| Skill | Purpose | Auth Required |
|---|---|---|
bingx-swap-market |
Market data: price, depth, klines, funding rate, open interest, etc. | No |
bingx-swap-trade |
Trading: place/cancel orders, set leverage, margin mode, etc. | Yes |
bingx-swap-account |
Account: balance, positions, commission rate, fund flow, etc. | Yes |
| Skill | Purpose | Auth Required |
|---|---|---|
bingx-spot-market |
Market data: price, depth, klines, recent trades, etc. | No |
bingx-spot-trade |
Trading: place/cancel orders, order queries, OCO orders, etc. | Yes |
bingx-spot-account |
Account: balance, asset overview, asset transfers, etc. | Yes |
bingx-spot-wallet |
Wallet: deposit, withdraw, transfer records, etc. | Yes |
| Skill | Purpose | Auth Required |
|---|---|---|
bingx-coinm-market |
Market data: price, depth, klines, funding rate, etc. | No |
bingx-coinm-trade |
Trading: place/cancel orders, leverage, margin mode, etc. | Yes |
| Skill | Purpose | Auth Required |
|---|---|---|
bingx-copytrade-spot |
Spot copy trading: sell copy positions, query profit, etc. | Yes |
bingx-copytrade-swap |
Futures copy trading: close positions, set TP/SL, commission, etc. | Yes |
| Skill | Purpose | Auth Required |
|---|---|---|
bingx-fund-account |
Fund account: balance query, asset overview, inter-account transfers, etc. | Yes |
bingx-sub-account |
Sub-account: create/freeze sub-accounts, API key management, etc. | Yes |
bingx-agent |
Agent/broker: invited users, commission queries, partner data, etc. | Yes |
| Skill | Purpose | Auth Required |
|---|---|---|
bingx-standard-trade |
Standard contract: position query, order history, balance query, etc. | Yes |
| Skill | Purpose | Auth Required |
|---|---|---|
bingx-announcement |
Official announcements: latest announcements, promotions, product updates, maintenance notices, listing/delisting, etc. | No |
In the prod-live (production) environment, all write operations (placing orders, canceling orders, transfers, etc.) require you to type CONFIRM before execution. The simulated environment does not require confirmation.
The AI automatically masks sensitive keys when displaying them:
su1Qc...8akf***...aws1Each skill module consists of two files:
skills/<skill-name>/
├── SKILL.md # Agent behavior instructions
└── api-reference.md # Complete API documentation
Each skill module consists of two files:
skills/<skill-name>/
├── SKILL.md # Agent behavior instructions
└── api-reference.md # Complete API documentation
Shared reference documents are in the skills/references/ directory: