Skip to main content
POST
/
ramp
/
quotes
Get crypto purchase quotes
curl --request POST \
  --url https://api.agg.market/ramp/quotes \
  --header 'Content-Type: application/json' \
  --header 'x-app-id: <api-key>' \
  --data '
{
  "sourceAmount": "<string>",
  "sourceCurrencyCode": "<string>",
  "destinationCurrencyCode": "<string>",
  "paymentMethodType": "<string>"
}
'
[
  {
    "serviceProvider": "<string>",
    "transactionType": "<string>",
    "sourceAmount": 123,
    "sourceCurrencyCode": "<string>",
    "destinationAmount": 123,
    "destinationCurrencyCode": "<string>",
    "exchangeRate": 123,
    "totalFee": 123,
    "networkFee": 123,
    "transactionFee": 123,
    "partnerFee": 123,
    "fiatAmountWithoutFees": 123,
    "paymentMethodType": "<string>",
    "countryCode": "<string>",
    "rampScore": 123,
    "lowKyc": true
  }
]

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Body

application/json
sourceAmount
string
required
sourceCurrencyCode
string
required
destinationCurrencyCode
string
required
paymentMethodType
string

Response

200

serviceProvider
string
required
transactionType
string
required
sourceAmount
number
required
sourceCurrencyCode
string
required
destinationAmount
number
required
destinationCurrencyCode
string
required
exchangeRate
number
required
totalFee
number
required
networkFee
number
required
transactionFee
number
required
partnerFee
number
required
fiatAmountWithoutFees
number
required
paymentMethodType
string
required
countryCode
string
required
rampScore
number
required
lowKyc
boolean
required