The Challenge
Broker CRMs need deep integration with trading platforms — account creation, balance operations, KYC workflows, and reporting. Without a unified API, you're building and maintaining separate connectors for each platform.
Connect your broker CRM to MetaTrader 4, MetaTrader 5, cTrader, and B2Trader through a single integration. Manage accounts, process deposits, and access trading data without platform-specific code.
Get StartedBroker CRMs need deep integration with trading platforms — account creation, balance operations, KYC workflows, and reporting. Without a unified API, you're building and maintaining separate connectors for each platform.
WebAPI provides a single Account Service for creating and managing client accounts across all platforms. Balance operations, margin level checks, and group management work identically regardless of the underlying platform.
// Create a new client account on MT5
const account = await webapi.accountService.Create({
platform: Platform.MT5,
group: 'real\\live',
leverage: 100,
name: 'John Doe',
email: '[email protected]'
});
// Process a deposit
await webapi.balanceService.Deposit({
platform: Platform.MT5,
login: account.login,
amount: 10000_00000000, // $10,000 (normalized)
comment: 'Initial deposit via CRM'
});
// Check margin level
const margin = await webapi.accountService.ReadMarginLevel({
platform: Platform.MT5,
login: account.login
});
console.log(`Margin level: ${margin.marginLevel}%`);| Operation | MT4 | MT5 | cTrader | B2Trader |
|---|---|---|---|---|
| Create Account | ✓ | ✓ | ✓ | ✓ |
| Update Account | ✓ | ✓ | ✓ | ✓ |
| Delete Account | ✓ | ✓ | ✓ | ✓ |
| Deposit | ✓ | ✓ | ✓ | ✓ |
| Withdrawal | ✓ | ✓ | ✓ | ✓ |
| Credit | ✓ | ✓ | ✓ | ✓ |
| Read Margin | ✓ | ✓ | ✓ | ✓ |
| Group Mgmt | ✓ | ✓ | ✓ | ✓ |
| Report Sync | ✓ | ✓ | ✓ | ✓ |
CRUD, batch ops, margin levels
deposits, withdrawals, credits
trading groups, security settings
sync to PostgreSQL for CRM analytics
B2Core reduced platform integration time from 6 months to 3 weeks by using WebAPI as its unified backend.
Integrate WebAPI into your CRM and manage accounts across MT4, MT5, cTrader, and B2Trader from a single API.
Get Started