Get exchange rates

​

Returns exchange rates for all supported currency pairs

Query Parameters

  • Widget ID from the partner dashboard

  • Whether to apply the partner fee to the returned rates

  • Whether to include the platform fee in the returned rates

  • Whether to return rates in a flat key-value format instead of nested objects

  • Whether the returned amounts exclude fees

  • Blockchain network identifier for layer-2 filtering

Responses

  • application/json
Request Example for get/public/rates
curl 'https://sandbox-api.mrcr.io/v1.6/public/rates?use_fee=true&flatten_result=true&is_amount_without_fee=true'
{
  "Status": 1,
  "data": {
    "buy": {
      "additionalProperty": {
        "additionalProperty": {
          "amount": 1,
          "rates": "string"
        }
      }
    },
    "sell": {
      "additionalProperty": {
        "additionalProperty": {
          "amount": 1,
          "rates": "string"
        }
      }
    }
  }
}