Get a quote
Build quotes for fiat->crypto transactions
Authorizations
Bearer authentication header using an access token.
Example: Authorization: Bearer <accessToken>
Body
Source asset in fiat. Amount can be set in source or destination.
{
"amount": "100.02",
"asset": { "code": "USD" }
}Destination asset in crypto. Amount can be set in destination or source. For DeFi tokens, identify the asset by caip19 and set the amount on source only (quoting by destination token amount is not supported).
Wallet address and optional tag where the crypto will be sent. Required for the quote to be executable.
{
"address": "0x1234567890123456789012345678901234567890"
}Payment method for the transaction. Required for the quote to be executable.
Whether MoonPay fees are included in source.amount (inclusive) or added on top of it (exclusive). Defaults to inclusive. Only applies when quoting by source.amount; ignored when destination.amount is provided.
inclusive, exclusive Response
The request has succeeded.
Quote for a fiat-to-crypto buy. Contains locked rate, fees, expiry, and signature for payment execution.
{
"source": {
"amount": "100.00",
"asset": { "code": "USD" }
},
"destination": {
"amount": "31250.0",
"asset": {
"caip19": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
"code": "PENGU",
"name": "Pudgy Penguins",
"precision": 6
}
},
"fees": {
"network": {
"amount": "2.39",
"asset": { "code": "USD" }
},
"moonpay": {
"amount": "4.99",
"asset": { "code": "USD" }
},
"ecosystem": {
"amount": "1.00",
"asset": { "code": "USD" }
},
"defi": {
"amount": "1.00",
"asset": { "code": "USD" }
}
},
"wallet": {
"address": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"
},
"paymentMethod": {},
"feeBehavior": "inclusive",
"limits": null,
"expiresAt": "2026-03-27T12:30:00.000Z",
"executable": true,
"exchangeRate": "0.0032",
"slippageBps": 50,
"paymentDisclosures": [{ "id": "gateway-token", "version": "1" }],
"signature": "cXVvdGUuc2lnbmF0dXJl..."
}{
"source": {
"amount": "100.00",
"asset": { "code": "USD" }
},
"destination": {
"amount": "0.00114",
"asset": { "code": "BTC" }
},
"fees": {
"network": {
"amount": "2.39",
"asset": { "code": "USD" }
},
"moonpay": {
"amount": "4.99",
"asset": { "code": "USD" }
},
"ecosystem": {
"amount": "1.00",
"asset": { "code": "USD" }
}
},
"wallet": {
"address": "0x1234567890123456789012345678901234567890"
},
"paymentMethod": {},
"feeBehavior": "inclusive",
"limits": null,
"expiresAt": "2026-03-27T12:30:00.000Z",
"executable": true,
"exchangeRate": "87523.17",
"paymentDisclosures": [
{
"id": "eea-crypto-asset-risk",
"version": "1"
}
],
"signature": "cXVvdGUuc2lnbmF0dXJl..."
}