GetHistoricalIndexLightChart
getHistoricalIndexLightChartRetrieve end-of-day historical prices for stock indexes using the Historical Price Data API. This API provides essential data such as date, price, and volume, enabling detailed analysis of price movements over time.
When to Use
Use this tool when you need to retrieve end-of-day historical prices for stock indexes using the historical price data api. this api provides essential data such as date, price, and volume, enabling detailed analysis of price movements over time.. This is part of the Financial Modeling Prep provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 252+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("financial-modeling-prep/getHistoricalIndexLightChart")xpay_run— Execute:xpay_run("financial-modeling-prep/getHistoricalIndexLightChart", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Index symbol (e.g., ^GSPC for S&P 500) |
from | string | No | Start date (YYYY-MM-DD) |
to | string | No | End date (YYYY-MM-DD) |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Financial Modeling Prep (all tools) — 253 tools
- SearchSymbol — $0.01/call
- SearchName — $0.01/call
- SearchCIK — $0.01/call
- SearchCUSIP — $0.01/call
- SearchISIN — $0.01/call
Links
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Index symbol (e.g., ^GSPC for S&P 500) |
from | string | No | Start date (YYYY-MM-DD) |
to | string | No | End date (YYYY-MM-DD) |
Related Tools from Financial Modeling Prep
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Financial Modeling Prep

