Skip to main content
POST
Build a buy quote

Authorizations

Authorization
string
header
required

Bearer authentication header using an access token.

Example: Authorization: Bearer <accessToken>

Body

application/json
source
object
required

Source asset in fiat. Amount can be set in source or destination.

Example:
destination
object
required

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
object

Wallet address and optional tag where the crypto will be sent. Required for the quote to be executable.

Example:
paymentMethod
object

Payment method for the transaction. Required for the quote to be executable.

feeBehavior
enum<string>
default:inclusive

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.

Available options:
inclusive,
exclusive

Response

The request has succeeded.

data
object
required

Quote for a fiat-to-crypto buy. Contains locked rate, fees, expiry, and signature for payment execution.

Examples: