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 19 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.0.1, at version v4.

Requests are made against a single base URL, https://api-mainnet.magiceden.dev/v4/evm-public.

19 operations 19 paths 3 schemas 19 GET

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

Magic Eden instructions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth).

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)
7 params → 200
GET
/instructions/buy_cancel
Get instruction to cancel a buy
10 params → 200
GET
/instructions/buy_change_price
Get instruction to change a buy price
8 params → 200
GET
/instructions/buy_now
Get instruction to buy now
16 params → 200
GET
/instructions/buy_now_transfer_nft
Get instruction to buy now and transfer nft to another owner
18 params → 200
GET
/instructions/deposit
Get instruction to deposit to escrow
7 params → 200
GET
/instructions/sell
Get instruction to sell (list)
11 params → 200
GET
/instructions/sell_cancel
Get instruction to cancel a sell
11 params → 200
GET
/instructions/sell_change_price
Get instruction to change a sell price
9 params → 200
GET
/instructions/sell_now
Get instruction to sell now (accept offer)
12 params → 200
GET
/instructions/withdraw
Get instruction to withdraw from escrow
7 params → 200
GET
/instructions/magic_ticket/burns
Construct and return burn txs for given mint addresses
2 params → 200
GET
/instructions/mmm/create-pool
Get instruction to create a pool
14 params → 200
GET
/instructions/mmm/sol-close-pool
Get instruction to close a pool after all assets and payment have been withdrawn
2 params → 200
GET
/instructions/mmm/sol-deposit-buy
Get instruction to deposit SOL into a pool for buying
3 params → 200
GET
/instructions/mmm/sol-fulfill-buy
Get instruction to have a pool fulfill a buy
9 params → 200
GET
/instructions/mmm/sol-fulfill-sell
Get instruction to have a pool fulfill a sell
8 params → 200
GET
/instructions/mmm/sol-withdraw-buy
Get instruction to withdraw SOL from a pool
3 params → 200
GET
/instructions/mmm/update-pool
Get instruction to update an existing pool
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.