Moralis MCP Server

Official
by MoralisWeb3

getNFTTradesByToken

Retrieve NFT trade data for a specific contract and token ID using block numbers or date ranges. Includes optional metadata and pagination for efficient data analysis.

Instructions

Get trades of NFTs for a given contract and token ID.

Input Schema

NameRequiredDescriptionDefault
addressNoThe address of the NFT contract
cursorNoThe cursor returned in the previous response (used for getting the next page).
from_blockNoThe minimum block number from which to get the transfers * Provide the param 'from_block' or 'from_date' * If 'from_date' and 'from_block' are provided, 'from_block' will be used.
from_dateNoThe start date from which to get the transfers (format in seconds or datestring accepted by momentjs) * Provide the param 'from_block' or 'from_date' * If 'from_date' and 'from_block' are provided, 'from_block' will be used.
limitNoThe desired page size of the result.
nft_metadataNoInclude the NFT Metadata of the NFT Token
to_blockNoThe block number to get the trades from
to_dateNoThe end date from which to get the transfers (format in seconds or datestring accepted by momentjs) * Provide the param 'to_block' or 'to_date' * If 'to_date' and 'to_block' are provided, 'to_block' will be used.
token_idNoThe token ID of the NFT contract

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The address of the NFT contract", "type": "string" }, "cursor": { "description": "The cursor returned in the previous response (used for getting the next page).", "type": "string" }, "from_block": { "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", "type": "integer" }, "from_date": { "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", "type": "string" }, "limit": { "description": "The desired page size of the result.", "type": "integer" }, "nft_metadata": { "description": "Include the NFT Metadata of the NFT Token", "type": "boolean" }, "to_block": { "description": "The block number to get the trades from", "type": "string" }, "to_date": { "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", "type": "string" }, "token_id": { "description": "The token ID of the NFT contract", "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from Moralis MCP Server

Related Tools

ID: paxjr6tzn8