778890ee7e72
latestOpenAPI 3.0.02026-08-14100249502.6 KBGet an estimated conversion rate
Returns an estimated rate for an FX conversion between two currencies.
The rate, amount & fees are indicative only and the rate is not held - the rate applied when you create a conversion may differ.
Rate Limiting
This API enforces a stricter rate limit - if you exceed it you will receive a 429 Too Many Requests response. We recommend requesting a rate only when you need one rather than polling for rates.
Rate Availability
Rates are briefly unavailable during a short daily window (~90 seconds) while FX trading closes. During this window you will receive a 400 Bad Request response with a message indicating that rates are temporarily unavailable - retry shortly.
Query parameters
The three-letter ISO-4217 currency code to sell.
The three-letter ISO-4217 currency code to buy.
The amount to sell in minor units. Minimum and maximum amounts vary by currency.
Headers
The linked accountId (use this to get an estimated rate for a specific sub account)
Response
Estimated rate retrieved successfully
Example response
{
"sell": {
"amount": 100000,
"currency": "GBP",
"fees": {
"ryft": {
"amount": 500
},
"platform": {
"amount": 1000,
"ryftFee": {
"amount": 500
}
}
}
},
"buy": {
"amount": 86000,
"currency": "EUR",
"fees": {
"ryft": {
"amount": 500
},
"platform": {
"amount": 1000,
"ryftFee": {
"amount": 500
}
}
}
},
"rate": 0.86,
"estimatedSettlementDate": "2024-03-15"
}