-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Igor Sazonov edited this page Jan 31, 2026
·
2 revisions
bingx-php is a powerful and comprehensive PHP SDK for the BingX API, designed for both USDT-M and Coin-M Perpetual Futures. It offers a modern, developer-friendly interface for building sophisticated trading bots, analytics tools, and other applications that integrate with the BingX exchange.
This Wiki provides detailed documentation to help you get the most out of the library. Whether you're a seasoned algorithmic trader or just getting started, you'll find everything you need to know right here.
- Complete API Coverage: Implements over 220 methods, covering the entire BingX V2 Swap API for both USDT-M and Coin-M futures.
-
Modular Architecture: The SDK is organized into logical services (
Market,Account,Trade, etc.), making it easy to navigate and use. - Laravel Integration: Offers first-class support for Laravel (versions 8-12), including auto-discovery, a facade, and a configurable service provider.
-
Fluent Order Builder: A powerful and intuitive
OrderBuilderfor creating complex orders with ease. - Advanced Error Handling: Includes custom exceptions for different types of API errors, allowing for robust error handling.
- WebSocket Support: Provides real-time data streaming for market data and account updates.
- Security: Ensures all requests are securely signed with HMAC-SHA256, with support for timestamp validation and replay attack protection.
To get started, please use the navigation links on the right sidebar or the links below:
- Installation: Learn how to install the package.
- Configuration: Configure the SDK for standalone PHP or Laravel.
- Quick Start: A step-by-step guide to making your first API call.
- API Reference: Detailed documentation for all available services and methods.
- Order Builder: Learn how to use the fluent interface for creating orders.
- WebSocket API: A guide to subscribing to real-time data streams.
- Error Handling: Understand how to handle API errors and exceptions. '''