Account
Bank
Transfer
Discount
KYC
Supported
Rate
Get Rate
Get Rate details.
GET
/
rate
Copy
curl --request GET \
--url https://staging-api.getpartna.com/v4/rate \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
Copy
{
"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"
}
Response
200
application/json
get rate ok
The response is of type object
.
Copy
curl --request GET \
--url https://staging-api.getpartna.com/v4/rate \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
Copy
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.