Skip to main content
GET
/
v1
/
exchange-rates
/
active
curl -X GET "https://olp-api.nipuntheekshana.com/v1/exchange-rates/active"
{
  "rates": [
    {
      "pair": "USDT/LKR",
      "rate": 298.50,
      "source": "binance",
      "updatedAt": "2026-03-26T14:30:00Z"
    },
    {
      "pair": "USDT/USD",
      "rate": 1.0002,
      "source": "coingecko",
      "updatedAt": "2026-03-26T14:30:00Z"
    }
  ]
}

Authentication

This endpoint does not require authentication. It is publicly accessible.

Description

Returns the latest exchange rates used by the Open Pay platform for converting between fiat and cryptocurrency. Rates are sourced from aggregated exchange data and updated frequently.

Response

rates
array
An array of active exchange rate objects.
curl -X GET "https://olp-api.nipuntheekshana.com/v1/exchange-rates/active"
{
  "rates": [
    {
      "pair": "USDT/LKR",
      "rate": 298.50,
      "source": "binance",
      "updatedAt": "2026-03-26T14:30:00Z"
    },
    {
      "pair": "USDT/USD",
      "rate": 1.0002,
      "source": "coingecko",
      "updatedAt": "2026-03-26T14:30:00Z"
    }
  ]
}