Magic Eden Instructions API

Get instructions for the blockchain

Operations 19

GET /instructions/buy Get instruction to buy (bid) #
GET /instructions/buy_cancel Get instruction to cancel a buy #
GET /instructions/buy_change_price Get instruction to change a buy price #
GET /instructions/buy_now Get instruction to buy now #
GET /instructions/buy_now_transfer_nft Get instruction to buy now and transfer nft to another owner #
GET /instructions/deposit Get instruction to deposit to escrow #
GET /instructions/sell Get instruction to sell (list) #
GET /instructions/sell_cancel Get instruction to cancel a sell #
GET /instructions/sell_change_price Get instruction to change a sell price #
GET /instructions/sell_now Get instruction to sell now (accept offer) #
GET /instructions/withdraw Get instruction to withdraw from escrow #
GET /instructions/magic_ticket/burns Construct and return burn txs for given mint addresses #
GET /instructions/mmm/create-pool Get instruction to create a pool #
GET /instructions/mmm/sol-close-pool Get instruction to close a pool after all assets and payment have been withdrawn #
GET /instructions/mmm/sol-deposit-buy Get instruction to deposit SOL into a pool for buying #
GET /instructions/mmm/sol-fulfill-buy Get instruction to have a pool fulfill a buy #
GET /instructions/mmm/sol-fulfill-sell Get instruction to have a pool fulfill a sell #
GET /instructions/mmm/sol-withdraw-buy Get instruction to withdraw SOL from a pool #
GET /instructions/mmm/update-pool Get instruction to update an existing pool #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/magic-eden-instructions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

magic-eden-instructions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Magic Eden Solana Instructions API
  description: Aggregated Magic Eden Solana NFT marketplace API covering collections, tokens, wallets, instructions (buy/sell/bid), MMM AMM pools, launchpad, and marketplace endpoints.
  version: v2
  termsOfService: https://magiceden.io/terms-of-service.pdf
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://api-mainnet.magiceden.dev/v2
- url: https://api-devnet.magiceden.dev/v2
tags:


# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/magic-eden/refs/heads/main/openapi/magic-eden-instructions-api-openapi.yml