Docs

Overview

The MetaTrader 5 API for trading products.

fxapis lets your product trade MetaTrader 5 accounts through a simple REST API. Connect an account with its login and server, place and manage trades, act on up to 1,000 accounts in one call, and get a recorded result for every order — an unclear one is confirmed with the broker, not guessed — with nothing to host, install or keep running.

These docs take you from an API key to a filled trade in about five minutes, then cover everything you need to run it in production.

The shape of it

https://api.fxapis.com/v1/…
Authorization: Bearer fx_live_…

Every request carries an API key. Responses are JSON with the payload under data; every failure has the same shape and a stable code — see Errors. Orders take an Idempotency-Key, so a retry with the same key can never place a second trade.

What fxapis is not

fxapis is infrastructure. It generates no signals, holds no opinion about the market, and gives no advice — it executes what it is told. Trading a live account through any API can lose money quickly, and nothing here replaces your own risk controls.

On this page