{ "opencollection": "1.0.0", "info": { "name": "EVM Balance Get Market Data API", "version": "2.2" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Get Market Data", "type": "folder" }, "items": [ { "info": { "name": "Get NFTs by traits", "type": "http" }, "http": { "method": "POST", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/nfts-by-traits", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT contract" }, { "name": "limit", "value": "", "type": "query", "description": "The desired page size of the result." }, { "name": "cursor", "value": "", "type": "query", "description": "The cursor returned in the previous response (used for getting the next page)." }, { "name": "format", "value": "", "type": "query", "description": "The format of the token ID" }, { "name": "normalizeMetadata", "value": "", "type": "query", "description": "Should normalized metadata be returned?" }, { "name": "media_items", "value": "", "type": "query", "description": "Should preview media data be returned?" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Find NFTs in a contract matching specific traits, perfect for attribute-based searches." }, { "info": { "name": "Get NFT traits by collection", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/traits", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT contract" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Explore the distinct traits of NFTs in a contract, showcasing their unique attributes." }, { "info": { "name": "Get NFT traits by collection paginate", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/traits/paginate", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT contract" }, { "name": "cursor", "value": "", "type": "query", "description": "The cursor returned in the previous response (used for getting the next page)." }, { "name": "limit", "value": "", "type": "query", "description": "The desired page size of the result." }, { "name": "order", "value": "", "type": "query", "description": "The order of the result, in ascending (ASC) or descending (DESC)" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Fetch NFT traits for a contract with pagination for efficient navigation of large collections." }, { "info": { "name": "Resync NFT Trait", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/traits/resync", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT contract" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Refresh trait and rarity data for NFTs in a contract to ensure accuracy." }, { "info": { "name": "Get NFT trades by collection", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/trades", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "from_block", "value": "", "type": "query", "description": "The minimum block number from which to get the transfers\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n" }, { "name": "to_block", "value": "", "type": "query", "description": "The block number to get the trades from" }, { "name": "from_date", "value": "", "type": "query", "description": "The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n" }, { "name": "to_date", "value": "", "type": "query", "description": "The end date from which to get the transfers (format in seconds or datestring accepted by momentjs)\n* Provide the param 'to_block' or 'to_date'\n* If 'to_date' and 'to_block' are provided, 'to_block' will be used.\n" }, { "name": "marketplace", "value": "opensea", "type": "query", "description": "Marketplace from which to get the trades. See [supported Marketplaces](https://docs.moralis.io/web3-data-api/evm/nft-marketplaces)." }, { "name": "cursor", "value": "", "type": "query", "description": "The cursor returned in the previous response (used for getting the next page)." }, { "name": "limit", "value": "", "type": "query", "description": "The desired page size of the result." }, { "name": "nft_metadata", "value": "", "type": "query", "description": "Include the NFT Metadata of the NFT Token" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT contract" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get NFT trades for a given contract with the ability to filter by marketplace." }, { "info": { "name": "Get NFT trades by token", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/:token_id/trades", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "from_block", "value": "", "type": "query", "description": "The minimum block number from which to get the transfers\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n" }, { "name": "to_block", "value": "", "type": "query", "description": "The block number to get the trades from" }, { "name": "from_date", "value": "", "type": "query", "description": "The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n" }, { "name": "to_date", "value": "", "type": "query", "description": "The end date from which to get the transfers (format in seconds or datestring accepted by momentjs)\n* Provide the param 'to_block' or 'to_date'\n* If 'to_date' and 'to_block' are provided, 'to_block' will be used.\n" }, { "name": "cursor", "value": "", "type": "query", "description": "The cursor returned in the previous response (used for getting the next page)." }, { "name": "limit", "value": "", "type": "query", "description": "The desired page size of the result." }, { "name": "nft_metadata", "value": "", "type": "query", "description": "Include the NFT Metadata of the NFT Token" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT contract" }, { "name": "token_id", "value": "", "type": "path", "description": "The token ID of the NFT contract" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get NFT trades for a specific NFT by specifying a contract addres and token ID." }, { "info": { "name": "Get NFT trades by wallet address", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/wallets/:address/nfts/trades", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "from_block", "value": "", "type": "query", "description": "The minimum block number from which to get the transfers\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n" }, { "name": "to_block", "value": "", "type": "query", "description": "The block number to get the trades from" }, { "name": "from_date", "value": "", "type": "query", "description": "The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n" }, { "name": "to_date", "value": "", "type": "query", "description": "The end date from which to get the transfers (format in seconds or datestring accepted by momentjs)\n* Provide the param 'to_block' or 'to_date'\n* If 'to_date' and 'to_block' are provided, 'to_block' will be used.\n" }, { "name": "cursor", "value": "", "type": "query", "description": "The cursor returned in the previous response (used for getting the next page)." }, { "name": "limit", "value": "", "type": "query", "description": "The desired page size of the result." }, { "name": "nft_metadata", "value": "", "type": "query", "description": "Include the NFT Metadata of the NFT Token" }, { "name": "address", "value": "", "type": "path", "description": "The owner wallet address" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get NFT trades for a specific wallet address." }, { "info": { "name": "Get NFT sale prices by collection", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/price", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "days", "value": "", "type": "query", "description": "The number of days to look back to find the lowest price\nIf not provided 7 days will be the default and 365 is the maximum\n" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT collection" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Fetch sale prices for NFTs in a contract over a specified number of days. Returns the last sale, lowest sale, highest sale, average sale and total trades within the specified period." }, { "info": { "name": "Get NFT sale prices by token", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/nft/:address/:token_id/price", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "days", "value": "", "type": "query", "description": "The number of days to look back to find the lowest price\nIf not provided 7 days will be the default and 365 is the maximum\n" }, { "name": "address", "value": "", "type": "path", "description": "The address of the NFT collection" }, { "name": "token_id", "value": "", "type": "path", "description": "The token id of the NFT collection" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Fetch sale prices for a specific NFT over a specified number of days. Returns the last sale, lowest sale, highest sale, average sale and total trades within the specified period." }, { "info": { "name": "Get ERC20 token price", "type": "http" }, "http": { "method": "GET", "url": "https://deep-index.moralis.io/api/v2.2/erc20/:address/price", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "address", "value": "", "type": "path", "description": "The address of the token contract" }, { "name": "exchange", "value": "", "type": "query", "description": "The factory name or address of the token exchange" }, { "name": "to_block", "value": "", "type": "query", "description": "The block number from which the token price should be checked" }, { "name": "include", "value": "", "type": "query", "description": "This parameter is now deprecated as percentage change are included by default" }, { "name": "max_token_inactivity", "value": "", "type": "query", "description": "Exclude tokens inactive for more than the given amount of days" }, { "name": "min_pair_side_liquidity_usd", "value": "", "type": "query", "description": "Exclude tokens with liquidity less than the specified amount in USD. This parameter refers to the liquidity on a single side of the pair." } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Retrieve the current or historical price of an ERC20 token in the blockchain’s native currency and USD. Each token returned includes on-chain metadata, as well as off-chain metadata, logos, spam status and more. Additional options to exclude low-liquidity tokens and inactive tokens." }, { "info": { "name": "Get Multiple ERC20 token prices", "type": "http" }, "http": { "method": "POST", "url": "https://deep-index.moralis.io/api/v2.2/erc20/prices", "params": [ { "name": "chain", "value": "", "type": "query", "description": "The chain to query" }, { "name": "include", "value": "", "type": "query", "description": "This parameter is now deprecated as percentage change are included by default" }, { "name": "max_token_inactivity", "value": "", "type": "query", "description": "Exclude tokens inactive for more than the given amount of days" }, { "name": "min_pair_side_liquidity_usd", "value": "", "type": "query", "description": "Exclude tokens with liquidity less than the specified amount in USD. This parameter refers to the liquidity on a single side of the pair." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Retrieve the current or historical prices for multiple ERC20 tokens in the blockchain’s native currency and USD. Accepts an array of up to 100 `tokens`, each requiring `token_address` and optional fields such as `to_block` or `exchange`. Each token returned includes on-chain metadata, as well as off-chain metadata, logos, spam status and more. Additional options to exclude low-liquidity tokens and inactive tokens." } ] } ], "bundled": true }