Docs

Conventions

Every endpoint of the fxapis API, generated from its OpenAPI description.

Each page in this section shows one endpoint: its parameters, its body, every response it can give, and a request in the language you choose. Send tries it against the live API with the key you enter. Every key reaches real brokers, so try it with a broker demo account.

Base URLhttps://api.fxapis.com
AuthenticationAuthorization: Bearer fx_live_… — see Authentication
FormatJSON in, JSON out; the payload is under data
Money and volumesDecimal strings ("0.01", "1.13426"), never floats
RetriesSend an Idempotency-Key with every order
ErrorsOne shape everywhere, with a stable code — see Errors

The machine-readable description is at api.fxapis.com/docs/json — import it into Postman or Insomnia, or generate a client from it. A ready-made Postman collection covering every endpoint is on GitHub (how to use it), and the official SDKs are generated from the same description.