Skip to main content
Glama

get_historical_data

Retrieve historical price data for financial instruments by specifying date ranges and intervals to analyze market trends.

Instructions

Get historical price data for an instrument

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instrument_tokenYesInstrument token (can be obtained from search_instruments tool)
from_dateYesFrom date in YYYY-MM-DD HH:MM:SS format
to_dateYesTo date in YYYY-MM-DD HH:MM:SS format
intervalYesCandle interval
continuousNoGet continuous data (for futures and options)
oiNoInclude open interest data

Latest Blog Posts

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/chandantherefore/kite-mcp'

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