Get a quote using the best live rate available right now.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api-gateway-uat.mmacs.io/platform/trade-service/api/v1/fx-rates/best-rate?sourceCurrency=NGN&targetCurrency=USD&amount=100'
Responses
🟢200Get Best Rate
application/json
Body
Example
{"message":"The FX rate has been successfully fetched.","sourceCurrencyIso3Code":"NGN","sourceCountryIso3Code":"NGA","targetCurrencyIso3Code":"USD","buyRate":"1636.342512669382","sellRate":"0.000611119","validityPeriod":"30","startTime":"2025-01-10T18:24:29.000Z","endTime":"2025-01-10T18:24:59.000Z","code":"fxr_PvSNZn2vFxqqF3","createdAt":"2025-01-10T18:24:29.539Z","updatedAt":"2025-01-10T18:24:29.539Z"}