Skip to main content
Glama

get_price_history

Retrieve historical price data for a specified period or date range. Analyze OCHLCV samples, technical indicators, risk metrics, and quantitative insights for detailed market trends. Useful for short-term data checks or long-term financial analysis.

Instructions

Get historical price data digest for specified period. There're two kinds of response mode: 1. The period mode. It will generate a digest for LLM consumption. Usually get at least 3 months, 6 months or more. The response includes OCHLCV samples, Technical Indicators (by ta-lib) , Risk Metrics, and other quantitative analysis. 2. The start_date and end_date mode. Once the start_date (yyyy-mm-dd) and end_date (yyyy-mm-dd) are specified, it will generate a raw OCHLCV data in the slot. And no digest will be generated in this mode. Useful for checking the price history of a specific short date range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNo
periodNo6mo
start_dateNo
tickerYes

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/VoxLink-org/finance-tools-mcp'

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