GET
/
rate
curl --request GET \
  --url https://staging-api.getpartna.com/v4/rate \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>'
{
  "data": {
    "rate": {
      "ETH_to_USD": {
        "fromAmount": 1,
        "fromCurrency": "ETH",
        "key": "2400-ETH_to_USD-69f90675-1750161559",
        "rate": 2400,
        "toAmount": 2400,
        "toCurrency": "USD"
      },
      "USDT_to_USD": {
        "fromAmount": 1,
        "fromCurrency": "USDT",
        "key": "1-USDT_to_USD-7e0fa621-1750161559",
        "rate": 1,
        "toAmount": 1,
        "toCurrency": "USD"
      },
      "USD_to_ETH": {
        "fromAmount": 2500,
        "fromCurrency": "USD",
        "key": "0.0004-USD_to_ETH-9ca74816-1750161559",
        "rate": 0.0004,
        "toAmount": 1,
        "toCurrency": "ETH"
      }
    }
  },
  "message": "success"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Query Parameters

fromCurrency
string
toCurrency
string
fromAmount
string
toAmount
string

Response

200
application/json

get rate ok

The response is of type object.