OpenFX provides a robust and secure API suite engineered for high performance and reliability, enabling programmatic access to real-time market data, trade execution, and money movement functionalities. This guide will walk through the step-by-step process of deposits, quoting, trading, settlements and monitoring using OpenFX APIs.
Overview of OpenFX APIs (v1.0.0)
Overview
Languages
Servers
OpenFX API Server
https://api.sandbox.openfx.com/
- OpenFX API Server
https://api.sandbox.openfx.com/v1/brokerage/{orgId}/balances
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- PHP
curl -i -X GET \
'https://api.sandbox.openfx.com/v1/brokerage/{orgId}/balances' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "status": "success", "data": [ { "id": "7b12aea1-3a8f-42bb-b789-7502b80e705e", "amount": -595164.919935321, "currency": "USD", "createdAt": "2024-02-07T03:30:21.045Z", "updatedAt": "2025-02-07T18:08:08.509Z" }, { "id": "1fcebbe0-f6f6-4a93-89d3-8ccd99d75c17", "amount": -9893164.59296976, "currency": "USDC", "createdAt": "2024-02-07T03:30:21.045Z", "updatedAt": "2025-02-07T18:08:08.509Z" } ] }