Returns the current mid-market exchange rate for a given currency pair. This is the base rate before any FX fees — FX fees will be charged on top of this rate.
Notes:
- This returns the mid-market rate only. FX fees are charged separately on top of this rate during actual conversions.
- The rate is cached and
expires_atindicates when the cached rate expires.
Security
JWT
GET
curl -i -X GET \
'https://api.glomopay.com/api/v1/fx-rate?source_currency=USD&target_currency=EUR' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Mid-market exchange rate. FX fees are charged on top of this rate.
Example:0.859401
Response
{ "source_currency": "USD", "target_currency": "EUR", "mid_market_rate": 0.859401, "expires_at": "2026-05-05T08:39:18Z" }