{
  "opencollection": "1.0.0",
  "info": {
    "name": "Magic Eden EVM Activity Runes Info API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "Runes Info",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get activities for a specific rune",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-mainnet.magiceden.dev/v4/evm-public/v2/ord/btc/runes/activities/:rune",
            "params": [
              {
                "name": "rune",
                "value": "",
                "type": "path",
                "description": "The rune symbol for which activities are fetched."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset for the list of activities. Defaults to 0, increments must be multiples of 100, up to 5000."
              }
            ]
          },
          "docs": "Get activities for a specific rune"
        },
        {
          "info": {
            "name": "Get Rune collection stats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-mainnet.magiceden.dev/v4/evm-public/v2/ord/btc/runes/collection_stats/search",
            "params": [
              {
                "name": "window",
                "value": "",
                "type": "query",
                "description": "Time window for which statistics are aggregated."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limit the number of results returned. Default is 20, maximum is 2000."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset for results."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Column to sort the results by."
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "Direction of the sort ('asc' for ascending, 'desc' for descending)."
              },
              {
                "name": "walletAddress",
                "value": "",
                "type": "query",
                "description": "Filter results by a specific wallet address."
              },
              {
                "name": "searchTerm",
                "value": "",
                "type": "query",
                "description": "Filter collections by a search term."
              },
              {
                "name": "allCollections",
                "value": "",
                "type": "query",
                "description": "Include all collections in the results, regardless of activity."
              }
            ]
          },
          "docs": "Get Rune collection stats"
        },
        {
          "info": {
            "name": "Get rune market info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-mainnet.magiceden.dev/v4/evm-public/v2/ord/btc/runes/market/:rune/info",
            "params": [
              {
                "name": "rune",
                "value": "",
                "type": "path",
                "description": "Rune symbol"
              }
            ]
          },
          "docs": "Get market market info for a specific rune"
        },
        {
          "info": {
            "name": "Get orders for a specific rune",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-mainnet.magiceden.dev/v4/evm-public/v2/ord/btc/runes/orders/:rune",
            "params": [
              {
                "name": "rune",
                "value": "",
                "type": "path",
                "description": "The rune symbol for which orders are requested."
              },
              {
                "name": "side",
                "value": "",
                "type": "query",
                "description": "Filter by order side, currently only 'sell' orders are supported."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting order of the results. Default is 'unitPriceAsc'."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset for the results. Default is 0, and increments of 100 are supported up to 2000."
              },
              {
                "name": "includePending",
                "value": "",
                "type": "query",
                "description": "Whether to include pending orders in the results. Default is false."
              },
              {
                "name": "rbfPreventionListingOnly",
                "value": "",
                "type": "query",
                "description": "Whether to only include RBF protected rune orders. Default is false."
              },
              {
                "name": "queryIssuerAddress",
                "value": "",
                "type": "query",
                "description": "When \"rbfPreventionListingOnly == true\", filter the rune orders can be bought with RBF protection"
              }
            ]
          },
          "docs": "Get orders for a specific rune"
        },
        {
          "info": {
            "name": "Get rune utxos by wallet address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-mainnet.magiceden.dev/v4/evm-public/v2/ord/btc/runes/utxos/wallet/:address",
            "params": [
              {
                "name": "address",
                "value": "",
                "type": "path",
                "description": "The Bitcoin address to fetch Rune UTXOs for."
              },
              {
                "name": "rune",
                "value": "",
                "type": "query",
                "description": "Filter UTXOs by rune symbol."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting order of the UTXOs based on their balance. Defaults to 'balanceAsc'."
              },
              {
                "name": "includeListed",
                "value": "",
                "type": "query",
                "description": "Whether to include UTXOs that are currently listed in the marketplace. Defaults to false."
              }
            ]
          },
          "docs": "Get rune utxos by wallet address"
        },
        {
          "info": {
            "name": "Get Rune activities for a specific wallet address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-mainnet.magiceden.dev/v4/evm-public/v2/ord/btc/runes/wallet/activities/:address",
            "params": [
              {
                "name": "address",
                "value": "",
                "type": "path",
                "description": "The wallet address to fetch Rune activities for."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset for the list of activities. Defaults to 0, increments must be multiples of 100, up to 10,000."
              }
            ]
          },
          "docs": "Get Rune activities for a specific wallet address"
        },
        {
          "info": {
            "name": "Get Rune balances by wallet address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-mainnet.magiceden.dev/v4/evm-public/v2/ord/btc/runes/wallet/balances/:address/:rune",
            "params": [
              {
                "name": "address",
                "value": "",
                "type": "path",
                "description": "The wallet address to fetch Rune balances for."
              },
              {
                "name": "rune",
                "value": "",
                "type": "path",
                "description": "The specific Rune symbol whose balance is being queried."
              }
            ]
          },
          "docs": "Get Rune balances by wallet address"
        }
      ]
    }
  ],
  "bundled": true
}