Skip to content

One API for Every Trading Platform

WebAPI unifies MetaTrader 4, MetaTrader 5, cTrader, and B2Trader into a single gRPC interface. Build broker technology products in days, not months.

Trusted by: Powering B2Copy, B2Core, and B2Trader

client.tsTypeScript
const client = new WebAPIClient('grpc.webapi.b2broker.com:443');// Create account across MT4, MT5, or cTraderconst account = await client.accountService.Create({  platform: Platform.MT5,  login: 100001,  group: 'real\\live',  leverage: 100});

Trusted by leading B2Broker products

B2Copy
B2Core
B2Trader

The Integration Problem, Solved

Instead of building and maintaining separate integrations for each trading platform, connect once to WebAPI and reach them all.

Without WebAPI

With WebAPI

Built for Scale

0
Unified API Services
0
Trading Platforms
0+
RPC Endpoints
24/7
Real-time Streaming

Unified API Services

Everything you need to build trading technology products — accounts, orders, positions, deals, real-time data, and more.

View All Features

Account Management

Create, read, update, and delete accounts. Check margin levels, manage passwords, and perform batch operations across platforms.

Order Execution

9 order types, 10 order states. Place market and pending orders, track execution, and manage order lifecycle.

Position Management

Open, close, and monitor positions. Close-by operations, batch processing, and real-time P&L tracking.

Balance Operations

17 balance action types — deposits, credits, bonuses, commissions, dividends, and more. Single and batch operations.

Real-time Streaming

gRPC streaming for accounts, positions, orders, deals, ticks, and symbols. Durable and ephemeral consumers.

Market Data

Live tick data, symbol information, trade schedules, margin calculation modes, and historical price data.

Multi-Platform Support

One API, four platforms. WebAPI normalizes the differences so you don't have to.

View Platforms
MetaTrader 4
MetaTrader 5
cTrader
B2Trader

See WebAPI in Action

Watch how a single API call creates an account across MetaTrader 4, MetaTrader 5, cTrader, and B2Trader simultaneously.

Demo coming soon

Hosted on AWS

Enterprise-grade infrastructure with high availability, auto-scaling, and global reach.

High Availability

Multi-AZ deployment with automatic failover.

Global Infrastructure

Low-latency access from any region.

Security

Encrypted connections, VPC isolation, and compliance standards.

Ready to Simplify Your Platform Integration?

Stop maintaining four separate integrations. Start building with one unified API.

Get Started

Explore 20+ application showcases built with WebAPI