Fixed-price buy
Builds a purchase of asset at its listed price, signed and paid for by buyer. Set maxPrice to fail rather than pay more than you expect.
The buyer pays in the listing's currency. To pay with a different token, pass a Jupiter swapQuote whose outputMint is the listing's currency. For some assets the swap can't fit in the purchase transaction, and the response contains swapTx instead of tx: send it, wait for confirmation, then call this endpoint again without swapQuote.
A whitelisted listing rejects buyers who aren't on its list.
Authorization
ApiKeyAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Buys a listed artwork at its listed price, paid in the listing's currency. Supply a swapQuote only to pay with a different token; its outputMint must match the listing currency and cover the price.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/tx/fixed-price/buy" \ -H "Content-Type: application/json" \ -d '{ "buyer": "string", "asset": "string" }'{ "result": { "creatorRentTopUpLamports": "string", "tx": "string", "swapTx": "string", "setupTx": "string" }}Accept offer POST
Builds a transaction in which seller accepts buyer's offer on asset. The asset goes to the buyer and the escrowed funds to the seller, less fees and royalties.
Buy edition POST
Builds the transactions that print quantity copies (1 to 25) of masterEdition for buyer, one transaction per copy. Each comes with the mintAccount of the copy it prints.