Moralis MCP Server

Official
by MoralisWeb3

getPairCandlesticks

Retrieve OHLCV candlestick data for a specified token pair address using customizable timeframes, currency, and date ranges. Ideal for analyzing historical price trends and market behavior in blockchain transactions.

Instructions

Get the OHLCV candle stick by using pair address

Input Schema

NameRequiredDescriptionDefault
addressNoThe pair address
currencyNoThe currency
cursorNoThe cursor returned in the previous response (used for getting the next page)
fromDateNoThe starting date (format in seconds or datestring accepted by momentjs) * Provide the param 'fromBlock' or 'fromDate' * If 'fromDate' and 'fromBlock' are provided, 'fromBlock' will be used.
limitNoThe number of results to return
timeframeNoThe timeframe
toDateNoThe ending date (format in seconds or datestring accepted by momentjs) * Provide the param 'toBlock' or 'toDate' * If 'toDate' and 'toBlock' are provided, 'toBlock' will be used.

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The pair address", "type": "string" }, "currency": { "description": "The currency", "enum": [ "usd", "native" ], "type": "string" }, "cursor": { "description": "The cursor returned in the previous response (used for getting the next page)", "type": "string" }, "fromDate": { "description": "The starting date (format in seconds or datestring accepted by momentjs)\n* Provide the param 'fromBlock' or 'fromDate'\n* If 'fromDate' and 'fromBlock' are provided, 'fromBlock' will be used.\n", "type": "string" }, "limit": { "description": "The number of results to return", "type": "integer" }, "timeframe": { "description": "The timeframe", "enum": [ "1s", "10s", "30s", "1min", "5min", "10min", "30min", "1h", "4h", "12h", "1d", "1w", "1M" ], "type": "string" }, "toDate": { "description": "The ending date (format in seconds or datestring accepted by momentjs)\n* Provide the param 'toBlock' or 'toDate'\n* If 'toDate' and 'toBlock' are provided, 'toBlock' will be used.\n", "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from Moralis MCP Server

Related Tools

ID: paxjr6tzn8