{% extends 'base.html' %} {% load static %} {% block title %}API Documentation - AIBOTXCHANGE{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
Complete guide to integrating with AIBOTXCHANGE trading platform APIs for MetaAPI, MyFxBook, and payment processing.
The AIBOTXCHANGE API provides programmatic access to our trading platform, allowing you to integrate MetaTrader 5 accounts, access trading strategies, and process payments.
AIBOTXCHANGE uses JWT tokens for API authentication. Include your token in the Authorization header.
/auth/login/
Authenticate and receive JWT token
Connect and manage MetaTrader 5 accounts through our MetaAPI integration for automated trading.
/accounts/mt5/
Connect new MT5 account
/accounts/mt5/{account_id}/status/
Get MT5 account status and balance
Access performance analytics and strategy verification through MyFxBook integration.
/strategies/{id}/performance/
Get strategy performance data from MyFxBook
Browse, subscribe to, and manage trading strategies available on the platform.
/strategies/
List available trading strategies
risk_level
- Filter by risk level (low, medium,
high)
min_return
- Minimum monthly return percentage
asset
- Primary trading asset (forex, crypto,
stocks)
page
- Pagination page number/strategies/{id}/subscribe/
Subscribe to a trading strategy
Handle subscription payments through Stripe and Razorpay integration.
/payments/create-intent/
Create payment intent for strategy subscription
Receive real-time notifications about trading events, payments, and account status changes.
trade.opened
- New trade executedtrade.closed
- Trade closed with P&Lpayment.succeeded
- Subscription payment successful
payment.failed
- Payment failed or declinedaccount.disconnected
- MT5 account connection lost
The API uses conventional HTTP response codes to indicate the success or failure of requests.
Official and community-maintained SDKs for popular programming languages.
Official Python library for AIBOTXCHANGE API
Node.js and browser support
Community-maintained PHP library