{ "opencollection": "1.0.0", "info": { "name": "NFTTOOLS API DOCS FOR MAGIC EDEN Bitcoin API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-NFT-API-Key", "value": "{{X-NFT-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Bitcoin", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Ordinal activities from Magic Eden", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/activities", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Number of results to return (default is 100)" }, { "name": "collectionSymbol", "value": "", "type": "query", "description": "Symbol of the NFT collection" }, { "name": "kind", "value": "", "type": "query", "description": "Array of activity types to include.\nPossible values: list, offer_placed, buying_broadcasted, offer_accepted_broadcasted\n" } ] }, "docs": "Retrieve Ordinal activities from Magic Eden" }, { "info": { "name": "Retrieve BTC tokens from Magic Eden", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/tokens", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Number of tokens to return (default is determined dynamically)" }, { "name": "offset", "value": "", "type": "query", "description": "Number of tokens to skip" }, { "name": "sortBy", "value": "", "type": "query", "description": "Field to sort tokens by" }, { "name": "minPrice", "value": "", "type": "query", "description": "Minimum price filter" }, { "name": "maxPrice", "value": "", "type": "query", "description": "Maximum price filter" }, { "name": "collectionSymbol", "value": "", "type": "query", "description": "Symbol of the NFT collection" }, { "name": "disablePendingTransactions", "value": "", "type": "query", "description": "Disable fetching pending transactions" } ] }, "docs": "Retrieve BTC tokens from Magic Eden" }, { "info": { "name": "Retrieve BTC attributes from Magic Eden", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/attributes", "params": [ { "name": "attributes", "value": "", "type": "query", "description": "Encoded JSON string of transformed attributes" }, { "name": "collectionSymbol", "value": "", "type": "query", "description": "Symbol of the NFT collection" }, { "name": "disablePendingTransactions", "value": "", "type": "query", "description": "Disable fetching pending transactions" }, { "name": "limit", "value": "", "type": "query", "description": "Number of attributes to return (default is determined dynamically)" }, { "name": "offset", "value": "", "type": "query", "description": "Number of attributes to skip" }, { "name": "sortBy", "value": "", "type": "query", "description": "Field to sort attributes by" } ] }, "docs": "Retrieve BTC attributes from Magic Eden" }, { "info": { "name": "Retrieve BTC token by tokenId", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/tokens/:tokenId", "params": [ { "name": "tokenId", "value": "", "type": "path", "description": "Example token ID for Magic Eden" } ] }, "docs": "Retrieve BTC token by tokenId" }, { "info": { "name": "Retrieve BTC collection statistics", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/stat", "params": [ { "name": "collectionSymbol", "value": "", "type": "query", "description": "Symbol of the collection for BTC statistics" } ] }, "docs": "Retrieve BTC collection statistics" }, { "info": { "name": "Search Bitcoin collection statistics", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/collection_stats/search/bitcoin", "params": [ { "name": "window", "value": "", "type": "query", "description": "Time window for statistics aggregation" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return" }, { "name": "offset", "value": "", "type": "query", "description": "Number of results to skip before returning data" }, { "name": "sort", "value": "", "type": "query", "description": "Field to sort results by" }, { "name": "direction", "value": "", "type": "query", "description": "Sort direction (asc or desc)" }, { "name": "filter", "value": "", "type": "query", "description": "JSON string representing additional filters" } ] }, "docs": "Search Bitcoin collection statistics" }, { "info": { "name": "Cancel Collection Offers", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/collection-offers/psbt/cancel", "params": [ { "name": "offerIds", "value": "", "type": "query" }, { "name": "makerPublicKey", "value": "", "type": "query" }, { "name": "makerPaymentType", "value": "", "type": "query" } ] }, "docs": "Cancel Collection Offers" }, { "info": { "name": "Cancel Collection Offers", "type": "http" }, "http": { "method": "POST", "url": "https://nfttools.pro/magiceden/v2/ord/btc/collection-offers/psbt/cancel", "body": { "type": "json", "data": "{}" } }, "docs": "Cancel Collection Offers" }, { "info": { "name": "Create Collection Offers", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/collection-offers/psbt/create", "params": [ { "name": "collectionSymbol", "value": "nodemonkes", "type": "query" }, { "name": "quantity", "value": "1", "type": "query" }, { "name": "priceSats", "value": "100000", "type": "query" }, { "name": "expirationAt", "value": "2024-12-31T23:59:59Z", "type": "query" }, { "name": "feeSatsPerVbyte", "value": "5", "type": "query" }, { "name": "makerPublicKey", "value": "0600db232186bd7de491b45g5e703d6aebaf976b0ce52d721640a1bd3f1f110752", "type": "query" }, { "name": "makerPaymentType", "value": "p2wpkh", "type": "query" }, { "name": "makerReceiveAddress", "value": "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8jzg5", "type": "query" } ] }, "docs": "Create Collection Offers" }, { "info": { "name": "Submit Collection Offers", "type": "http" }, "http": { "method": "POST", "url": "https://nfttools.pro/magiceden/v2/ord/btc/collection-offers/psbt/create", "body": { "type": "json", "data": "{}" } }, "docs": "Submit Collection Offers" }, { "info": { "name": "Create Offer for a Token", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/offers/create", "params": [ { "name": "tokenId", "value": "ccfb3ea4e5de0caf3236a2073ed6d3365e6b0d5be0c22aa38b2071ac8db644bfi0", "type": "query" }, { "name": "price", "value": "100000", "type": "query" }, { "name": "expirationDate", "value": "2024-12-31T23:59:59Z", "type": "query" }, { "name": "buyerTokenReceiveAddress", "value": "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8jzg5", "type": "query" }, { "name": "buyerPaymentAddress", "value": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "type": "query" }, { "name": "buyerPaymentPublicKey", "value": "0600db232186bd7de491b45g5e703d6aebaf976b0ce52d721640a1bd3f1f110752", "type": "query" }, { "name": "feerateTier", "value": "halfHourFee", "type": "query" } ] }, "docs": "Create Offer for a Token" }, { "info": { "name": "Submit a signed offer order for a Bitcoin NFT", "type": "http" }, "http": { "method": "POST", "url": "https://nfttools.pro/magiceden/v2/ord/btc/offers/create", "body": { "type": "json", "data": "{}" } }, "docs": "Submit a signed offer order for a Bitcoin NFT" }, { "info": { "name": "Get collection offers for a Bitcoin NFT collection", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/collection-offers/collection/:collectionSymbol", "params": [ { "name": "collectionSymbol", "value": "nodemonkes", "type": "path" }, { "name": "sort", "value": "priceDesc", "type": "query" }, { "name": "limit", "value": "100", "type": "query" }, { "name": "offset", "value": "0", "type": "query" } ] }, "docs": "Get collection offers for a Bitcoin NFT collection" }, { "info": { "name": "Retrieve best offers for a specific token.", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/offers/", "params": [ { "name": "status", "value": "valid", "type": "query", "description": "Filter offers by status." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of offers to return." }, { "name": "offset", "value": "", "type": "query", "description": "Number of offers to skip (pagination offset)." }, { "name": "sortBy", "value": "priceDesc", "type": "query", "description": "Sort offers by price in ascending or descending order." }, { "name": "token_id", "value": "ccfb3ea4e5de0caf3236a2073ed6d3365e6b0d5be0c22aa38b2071ac8db644bfi0", "type": "query", "description": "The token ID for which offers are retrieved." }, { "name": "wallet_address_buyer", "value": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh", "type": "query", "description": "The buyer's wallet address" } ] }, "docs": "Retrieve best offers for a specific token." }, { "info": { "name": "Retrieve cancel offer format", "type": "http" }, "http": { "method": "GET", "url": "https://nfttools.pro/magiceden/v2/ord/btc/offers/cancel", "params": [ { "name": "offerId", "value": "6de493e5-4f1d-437d-8aa8-b87368dbe5ab", "type": "query", "description": "The ID of the offer to be cancelled" } ] }, "docs": "Retrieve cancel offer format" }, { "info": { "name": "Submit cancel offer data", "type": "http" }, "http": { "method": "POST", "url": "https://nfttools.pro/magiceden/v2/ord/btc/offers/cancel", "body": { "type": "json", "data": "{}" } }, "docs": "Submit cancel offer data" } ] } ], "bundled": true }