Magic Eden Runes Market Sell API

The Runes Market Sell API from Magic Eden — 2 operation(s) for runes market sell.

Operations 2

POST /v2/ord/btc/runes/market-sell Submit a signed PSBT for executing a market order to sell the runes
POST /v2/ord/btc/runes/psbt/get-market-sell Get an unsigned PSBT to execute a market order to sell the runes

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-runes-market-sell-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-runes-market-sell-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Magic Eden Bitcoin Ordinals Runes Market Sell API
  description: Aggregated Magic Eden Bitcoin/Ordinals API covering ordinal collections, rare sats, runes (orders, swaps, sweeping, market sells), block activities, and wallet balances.
  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
tags:
- name: Runes Market Sell
paths:
  /v2/ord/btc/runes/market-sell:
    post:
      tags:
      - Runes Market Sell
      summary: Submit a signed PSBT for executing a market order to sell the runes
      description: Submit a signed PSBT for executing a market order to sell the runes
      requestBody:
        description: Post Request Body for execute a market order to sell the runes
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMarketSellPsbtRequestSchema'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMarketSellPsbtResponseSchema'
  /v2/ord/btc/runes/psbt/get-market-sell:
    post:
      tags:
      - Runes Market Sell
      summary: Get an unsigned PSBT to execute a market order to sell the runes
      description: Get an unsigned PSBT to execute a market order to sell the runes
      requestBody:
        description: Post Request Body for execute a market order to sell the runes
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetMarketSellPsbtRequestSchema'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketSellPsbtResponseSchema'
components:
  schemas:
    PostMarketSellPsbtResponseSchema:
      type: object
      properties:
        txid:
          type: string
          description: The transaction ID for the market sell.
      required:
      - txid
    GetMarketSellPsbtResponseSchema:
      type: object
      properties:
        invalidOrders:
          type: array
          description: List of order IDs that could not be processed.
          items:
            type: string
        psbtBase64:
          type: string
          description: Base64-encoded unsigned PSBT (Partially Signed Bitcoin Transaction) of the market sell.
        requestId:
          type: string
          description: The unique request ID for the market sell.
        runeUtxoIndexes:
          type: array
          items:
            type: integer
          description: Array of rune UTXO indexes.
        settlement:
          $ref: '#/components/schemas/SettlementSchema'
          description: The settlement details.
      required:
      - invalidOrders
      - psbtBase64
      - requestId
      - runeUtxoIndexes
      - settlement
    SettlementSchema:
      type: object
      properties:
        amount:
          type: string
          format: bigint
          description: A large integer value, represented the total amount of runes.
        price:
          type: number
          format: float
          description: The price value as a floating-point number, represented the total amount of BTC payment.
      required:
      - amount
      - price
    PostMarketSellPsbtRequestSchema:
      type: object
      properties:
        requestId:
          type: string
          description: The unique request ID for the market sell.
        signedPsbtBase64:
          type: string
          description: The signed PSBT (Partially Signed Bitcoin Transaction) in base64 format.
      required:
      - requestId
      - signedPsbtBase64
    GetMarketSellPsbtRequestSchema:
      type: object
      properties:
        orders:
          type: array
          items:
            type: object
            properties:
              amount:
                type: string
                format: bigint
                description: The amount for the order, represented as a string to accommodate large integers.
              id:
                type: string
                description: The unique identifier for the order.
        runeTicker:
          type: string
          description: The ticker symbol for the rune.
        takerPaymentAddress:
          type: string
          description: The payment address of the taker.
        takerRunesAddress:
          type: string
          description: The runes address of the taker.
        takerRunesPublicKey:
          type: string
          description: The runes public key of the taker.
        feeRateTier:
          type: string
          enum:
          - custom
          - minimumFee
          - halfHourFee
          - hourFee
          - fastestFee
          description: The fee rate tier.
          default: hourFee
        feeRateNum:
          type:
          - number
          - 'null'
          description: The numerical fee rate.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer