Skip to main content
Glama

Moralis MCP Server

Official
by MoralisWeb3

solana_getcandlesticks

Retrieve candlestick data for a specific token pair on Solana networks. Specify time range, interval, and currency format to analyze historical price movements.

Instructions

Gets the candlesticks for a specific pair address

Input Schema

NameRequiredDescriptionDefault
addressYesThe address to query
currencyYesThe currency formatusd
cursorNoThe cursor to the next page
fromDateYesThe starting date (format in seconds or datestring accepted by momentjs)2024-10-09
limitNoThe limit per page
networkYesThe network to query
timeframeYesThe interval of the candle stick1min
toDateYesThe ending date (format in seconds or datestring accepted by momentjs)2024-10-10

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The address to query", "type": "string" }, "currency": { "default": "usd", "description": "The currency format", "enum": [ "usd", "native" ], "type": "string" }, "cursor": { "description": "The cursor to the next page", "type": "string" }, "fromDate": { "default": "2024-10-09", "description": "The starting date (format in seconds or datestring accepted by momentjs)", "type": "string" }, "limit": { "default": 100, "description": "The limit per page", "maximum": 1000, "minimum": 1, "type": "number" }, "network": { "description": "The network to query", "enum": [ "mainnet", "devnet" ], "type": "string" }, "timeframe": { "default": "1min", "description": "The interval of the candle stick", "enum": [ "1s", "10s", "30s", "1min", "5min", "10min", "30min", "1h", "4h", "12h", "1d", "1w", "1M" ], "type": "string" }, "toDate": { "default": "2024-10-10", "description": "The ending date (format in seconds or datestring accepted by momentjs)", "type": "string" } }, "required": [ "network", "address", "fromDate", "toDate", "timeframe", "currency" ], "type": "object" }

Other Tools from Moralis MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MoralisWeb3/moralis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server