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}/deposits
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- PHP
curl -i -X GET \
'https://api.sandbox.openfx.com/v1/brokerage/{orgId}/deposits?page=1&limit=10¤cy=USD' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'success
Unique identifier for the deposit record
Example: "a9504caf-6888-409c-b841-da5127334070"
Unique identifier of the organization associated with the deposit
Example: "a9504caf-409c-b841-6888-da5127334070"
Current status of the deposit — either PENDING or COMPLETED
Enum"PENDING""COMPLETED"
Example: "COMPLETED"
UTC Timestamp when the deposit record was created
Example: "2024-02-03T08:04:12.045Z"
Blockchain transaction hash associated with the deposit, if available
Example: null
Response
application/json
{ "status": "success", "data": [ { "id": "6a8dff03-a99c-4b76-b65a-3900315858a2", "orgId": "c96183a5-2830-4606-9ae2-15dfd058872b", "currency": "EUR", "amount": 10, "status": "COMPLETED", "transactionHash": null, "comments": null, "referenceId": null, "network": "FIAT", "createdAt": "2025-02-07T13:02:29.147Z" }, { "id": "e8329d97-c9f9-4fa2-be2e-f0b9d0db2698", "orgId": "c96183a5-2830-4606-9ae2-15dfd058872b", "currency": "EUR", "amount": 10, "status": "COMPLETED", "transactionHash": null, "comments": "Client deposit", "referenceId": null, "network": "FIAT", "createdAt": "2025-01-30T13:55:23.334Z" } ], "meta": { "pagination": { "total": 2, "start": 1, "end": 2, "page": 1, "limit": 2 } } }