mallow docs
v2 (Beta)TransactionsExternal Vendors

Magic Eden buy quote

GET
/v2/magic-eden/quote

Quotes buying mintAccount from its Magic Eden listing: the price, fees and royalties, the total the buyer pays, and whether they can afford it. When it can't be bought, available is false and reason says why. Pass the quote's orderId and revision to POST /v2/tx/magic-eden/buy.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

mintAccount*string
Match^[1-9A-HJ-NP-Za-km-z]{32,44}$
buyer*string
Match^[1-9A-HJ-NP-Za-km-z]{32,44}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/magic-eden/quote?mintAccount=string&buyer=string"
{  "result": {    "available": true,    "reason": "string",    "quote": {      "orderId": "string",      "revision": 0,      "mintAccount": "string",      "seller": "string",      "currencyMint": "string",      "sellerPrice": "string",      "creatorRoyalty": "string",      "magicEdenFee": "string",      "mallowFeeLamports": "string",      "networkFeeLamports": "string",      "rentLamports": "string",      "totalPaymentAmount": "string",      "totalSolDebitLamports": "string",      "expiresAt": "2019-08-24T14:15:22Z",      "currencySymbol": "string",      "currencyDecimals": 0,      "buyerPaymentBalance": "string",      "buyerSolBalanceLamports": "string"    }  }}