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 — use a test key, or an account you don't mind trading on.

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.