margin-trading

Installation
Summary

Authenticated access to 60+ Binance margin trading endpoints covering account management, borrowing, orders, and liquidation.

  • Supports both cross margin and isolated margin modes with endpoints for account queries, leverage adjustment, and collateral management
  • Includes comprehensive order management: standard orders, OCO (One-Cancels-Other), OTO (One-Triggers-Other), and OTOCO orders with stop-loss and take-profit options
  • Provides borrowing and repayment operations, interest rate tracking, and forced liquidation records
  • Requires API key and secret key authentication; all requests return JSON responses with automatic request signing via HMAC SHA256, RSA, or Ed25519
SKILL.md

Binance Margin-trading Skill

Margin-trading request on Binance using authenticated API endpoints. Requires API key and secret key for certain endpoints. Return the result in JSON format.

Quick Reference

Endpoint Description Required Optional Authentication
/sapi/v1/margin/max-leverage (POST) Adjust cross margin max leverage (USER_DATA) maxLeverage None Yes
/sapi/v1/margin/isolated/account (DELETE) Disable Isolated Margin Account (TRADE) symbol recvWindow Yes
/sapi/v1/margin/isolated/account (POST) Enable Isolated Margin Account (TRADE) symbol recvWindow Yes
/sapi/v1/margin/isolated/account (GET) Query Isolated Margin Account Info (USER_DATA) None symbols, recvWindow Yes
/sapi/v1/bnbBurn (GET) Get BNB Burn Status (USER_DATA) None recvWindow Yes
/sapi/v1/margin/tradeCoeff (GET) Get Summary of Margin account (USER_DATA) None recvWindow Yes
/sapi/v1/margin/capital-flow (GET) Query Cross Isolated Margin Capital Flow (USER_DATA) None asset, symbol, type, startTime, endTime, fromId, limit, recvWindow Yes
/sapi/v1/margin/account (GET) Query Cross Margin Account Details (USER_DATA) None recvWindow Yes
/sapi/v1/margin/crossMarginData (GET) Query Cross Margin Fee Data (USER_DATA) None vipLevel, coin, recvWindow Yes
/sapi/v1/margin/isolated/accountLimit (GET) Query Enabled Isolated Margin Account Limit (USER_DATA) None recvWindow Yes
/sapi/v1/margin/isolatedMarginData (GET) Query Isolated Margin Fee Data (USER_DATA) None vipLevel, symbol, recvWindow Yes
Related skills
Installs
1.9K
GitHub Stars
839
First Seen
Mar 12, 2026