How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Magic Eden Instructions API

Get instructions for the blockchain

Magic Eden Instructions API is one of 24 APIs that Magic Eden publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Instructions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 19 operations across 19 paths, and defines 3 schemas. It is described by OpenAPI 3.2.0, at version v2.

Requests are made against 2 base URLs: https://api-mainnet.magiceden.dev/v2, https://api-devnet.magiceden.dev/v2.

19 operations 19 paths 3 schemas 19 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v2
Base URL
https://api-mainnet.magiceden.dev/v2
Authentication
HTTP Bearer, HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 2

Magic Eden Instructions API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). It accepts HTTP bearer tokens (auth-scheme) (bearerAuth).

  • bearerAuth — Bearer HTTP authentication. Allowed headers-- Authorization: Bearer

Paths & Operations 19

Across 19 paths, the API surfaces 19 operations — 19 GET. Each is listed below with its method, path, parameters, and response codes.

Instructions 19

Get instructions for the blockchain

GET
/instructions/buy
Get instruction to buy (bid)
getInstructionsBuy 7 params → 200
GET
/instructions/buy_cancel
Get instruction to cancel a buy
getInstructionsBuyCancel 10 params → 200
GET
/instructions/buy_change_price
Get instruction to change a buy price
getInstructionsBuyChangePrice 8 params → 200
GET
/instructions/buy_now
Get instruction to buy now
getInstructionsBuyNow 16 params → 200
GET
/instructions/buy_now_transfer_nft
Get instruction to buy now and transfer nft to another owner
getInstructionsBuyNowTransferNft 18 params → 200
GET
/instructions/deposit
Get instruction to deposit to escrow
getInstructionsDeposit 7 params → 200
GET
/instructions/sell
Get instruction to sell (list)
getInstructionsSell 11 params → 200
GET
/instructions/sell_cancel
Get instruction to cancel a sell
getInstructionsSellCancel 11 params → 200
GET
/instructions/sell_change_price
Get instruction to change a sell price
getInstructionsSellChangePrice 9 params → 200
GET
/instructions/sell_now
Get instruction to sell now (accept offer)
getInstructionsSellNow 12 params → 200
GET
/instructions/withdraw
Get instruction to withdraw from escrow
getInstructionsWithdraw 7 params → 200
GET
/instructions/magic_ticket/burns
Construct and return burn txs for given mint addresses
getInstructionsMagicTicketBurns 2 params → 200
GET
/instructions/mmm/create-pool
Get instruction to create a pool
getInstructionsMmmCreatePool 14 params → 200
GET
/instructions/mmm/sol-close-pool
Get instruction to close a pool after all assets and payment have been withdrawn
getInstructionsMmmSolClosePool 2 params → 200
GET
/instructions/mmm/sol-deposit-buy
Get instruction to deposit SOL into a pool for buying
getInstructionsMmmSolDepositBuy 3 params → 200
GET
/instructions/mmm/sol-fulfill-buy
Get instruction to have a pool fulfill a buy
getInstructionsMmmSolFulfillBuy 9 params → 200
GET
/instructions/mmm/sol-fulfill-sell
Get instruction to have a pool fulfill a sell
getInstructionsMmmSolFulfillSell 8 params → 200
GET
/instructions/mmm/sol-withdraw-buy
Get instruction to withdraw SOL from a pool
getInstructionsMmmSolWithdrawBuy 3 params → 200
GET
/instructions/mmm/update-pool
Get instruction to update an existing pool
getInstructionsMmmUpdatePool 11 params → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are IBuffer (2 properties), Transaction (2 properties). Each schema is shown below with its type and property counts.

Transaction
object
2 properties 1 required
MMM.CurveKindString
string
IBuffer
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

magic-eden-instructions-api-openapi.yml Raw ↑

Other APIs Magic Eden publishes across the network.

Magic Eden Activity API
Magic Eden Assets API
Magic Eden Blocks API
Magic Eden Collections API
Magic Eden Ixs API
Magic Eden Launchpad API
Magic Eden Magic Ticket API
Magic Eden Marketplace API
Magic Eden Mmm API
Magic Eden Orders API
Magic Eden Rare Sats API
Magic Eden Runes Info API
Where this information came from

This is an independent, third-party profile of Magic Eden Instructions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.