Servers
OpenFX API Server:Security
bearerAuth
- Type:
http - Scheme:
bearer - Bearer Format:
JWT
Download OpenAPI description
Overview of OpenFX APIsMarket data
Retrieves the list of tradable fiat and stablecoin currency pairs on the OpenFX platform.Get available markets
GET /v1/brokerage/{orgId}/available_markets — Access the complete list of available currency pairs, with trading limits and possible trade directions per currency.Balances
The Balance endpoints enable real-time tracking and management of currency holdings within an account.Get balances
GET /v1/brokerage/{orgId}/balances — View real-time balances, multi-currency holdings, available trading funds, and reconcile account positions.Trade
The Trade APIs facilitate programmatic currency exchange through a quote-then-trade workflow, with price transparency and execution at quoted rates.Generate quote
POST /v1/brokerage/{orgId}/generate_quote — Create a new quote for a currency pair and amount, returning a quote ID and rate valid for 3 seconds.Execute trade
POST /v1/brokerage/{orgId}/trade — Execute a currency exchange trade using a valid quote ID. Must be called within 3 seconds of quote generation.List trades
GET /v1/brokerage/{orgId}/trades — Return a list of all trades, including completed and pending transactions.Get trade by ID
GET /v1/brokerage/{orgId}/trade/{id} — Retrieve detailed information about a specific trade by its unique identifier.Deposits
Deposit endpoints enable funding of trading accounts across multiple supported currencies and methods.List deposits
GET /v1/brokerage/{orgId}/deposits — Get a complete view of all deposits (both fiat and stablecoin) for an organization.Withdrawals
The Withdrawal APIs cover fund withdrawals for both fiat and stablecoins.List withdrawal wallets
GET /v1/brokerage/{orgId}/withdrawal_addresses — Retrieve the list of approved stablecoin withdrawal wallets for an organization.List fiat withdrawal accounts
GET /v1/brokerage/{orgId}/fiat_withdrawal_addresses — Retrieve all approved fiat withdrawal accounts for an organization. Paginated.List withdrawals
GET /v1/brokerage/{orgId}/withdrawals — Get a complete view of all withdrawals (both fiat and stablecoin) for an organization.Get withdrawal by ID
GET /v1/brokerage/{orgId}/withdrawal/{withdrawalId} — Retrieve detailed information about a specific withdrawal.Initiate stablecoin withdrawal
POST /v1/brokerage/{orgId}/withdrawal — Initiate a stablecoin withdrawal to an approved wallet address.Initiate fiat withdrawal
POST /v1/brokerage/{orgId}/fiat_withdrawal — Initiate a fiat withdrawal to an approved bank account.