GET /exchange-rate/{currency}/list
Returns a list of exchange rates for the specified currency. This is the only GET endpoint in the Cryptomus adapter. The sign header is computed over an empty {} body. Requires authentication.
Request
Section titled “Request”GET /exchange-rate/{currency}/listPath Parameters
Section titled “Path Parameters”| Parameter | Type | Description |
|---|---|---|
currency | string | The base currency code (e.g., USDT) |
Example
Section titled “Example”# Sign is computed over empty body: MD5(base64("{}") + API_KEY)curl https://api.nearpayments.io/cryptomus/v1/exchange-rate/USDT/list \ -H "merchant: YOUR_MERCHANT_UUID" \ -H "sign: COMPUTED_SIGN"Response
Section titled “Response”{ "state": 0, "result": [ { "from": "USDT", "to": "BTC", "course": "0.00001050" }, { "from": "USDT", "to": "ETH", "course": "0.00032500" }, { "from": "USDT", "to": "LTC", "course": "0.01120000" } ]}