Skip to main content

Get Buy Rates

Get exchange rates for multiple crypto destinations at once. Returns the best available rate per destination -- simpler than quotes when you just need pricing.

GEThttps://api.zenpayz.com/payment/api/v1/on-ramp/rates
Bearer · API key

Request

Headers

HeaderDescription
x-request-id
OPTIONAL
Custom request ID for tracing
Public Endpoint

This endpoint does not require authentication headers.

Query Parameters

ParameterTypeDescription
source
REQUIRED
stringFiat currency (e.g. usd)
destinations
REQUIRED
stringComma-separated crypto IDs (e.g. btc_bitcoin,eth_ethereum)
paymentMethod
OPTIONAL
stringFilter by payment method
country
OPTIONAL
stringISO country code
amount
OPTIONAL
stringReference amount (default: 100)

Response

Success (200 OK)

{
"success": true,
"data": [
{
"source": "usd",
"destination": "btc_bitcoin",
"rate": 89285.71,
"paymentMethod": "creditcard",
"networkFee": 0.5,
"transactionFee": 3.99,
"minAmount": 20,
"maxAmount": 10000,
"timestamp": "2026-03-11T04:44:00.000Z"
},
{
"source": "usd",
"destination": "eth_ethereum",
"rate": 3200.50,
"paymentMethod": "creditcard",
"networkFee": 0.3,
"transactionFee": 3.99,
"minAmount": 20,
"maxAmount": 10000,
"timestamp": "2026-03-11T04:44:00.000Z"
}
],
"message": "Rates retrieved"
}

Response Fields

ParameterTypeDescription
source
OPTIONAL
stringFiat currency
destination
OPTIONAL
stringCrypto asset ID
rate
OPTIONAL
numberExchange rate
paymentMethod
OPTIONAL
stringBest payment method for this rate
networkFee
OPTIONAL
numberBlockchain network fee
transactionFee
OPTIONAL
numberProcessing fee
minAmount
OPTIONAL
numberMinimum allowed amount
maxAmount
OPTIONAL
numberMaximum allowed amount
timestamp
OPTIONAL
stringISO 8601 timestamp

Error Responses

CodeHTTPMessage
RAMP_RATES_FAILED500Failed to get buy rates

Examples

curl "https://api.zenpayz.com/payment/api/v1/on-ramp/rates?source=usd&destinations=btc_bitcoin,eth_ethereum,usdt_tron"

Next Steps

  • Buy Quotes -- Get detailed quotes with multiple options per pair
  • Buy Prices -- Get simple price-per-unit