---
title: "price_history: Price history — eqdoc MCP tool"
description: "Daily closing prices of a company or an index (Nifty 50, Sensex, sector indices) between two dates or for the last N days (end of day only)."
url: "https://eqdoc.com/mcp/tools/price_history"
---

# price_history: Price history

Daily closing prices of a company or an index (Nifty 50, Sensex, sector indices) between two dates or for the last N days (end of day only).

## What it returns

Daily closing prices, with traded volume where on record, for one company or index over the dates you name.

## Inputs

| Input | Required | Note |
|---|---|---|
| `symbol` | yes | NSE ticker (e.g. TCS), BSE code (e.g. 500325), or an index code or name (NIF50, "NIFTY 50", Sensex); up to 20 characters |
| `from` | no | YYYY-MM-DD |
| `to` | no | YYYY-MM-DD |
| `days` | no | the last N calendar days up to `to` (default 90); ignored when from is given; 1..1830 |
| `format` | no | json (the default) returns the figures; csv returns a private download link to a CSV file (valid 15 minutes) and a short preview; one of json, csv; default "json" |

## Example questions

- What were Reliance's closing prices in October 2026?
- Show the Nifty 50's closes for the last 30 days.
- What was the volume on Infosys's last 10 sessions?

## Related tools

- [price_change](https://eqdoc.com/mcp/tools/price_change): How a stock or index moved over any window: start and end closes, change, highs and lows, drawdown and volatility.
- [technicals](https://eqdoc.com/mcp/tools/technicals): A company's or index's technical indicators at its last close: RSI, moving averages, MACD, Bollinger Bands, support and resistance and more.
- [delivery](https://eqdoc.com/mcp/tools/delivery): A company's delivery percentage by day and its exchange price band.
- [event_timeline](https://eqdoc.com/mcp/tools/event_timeline): One call for why a share moved: the days with an event or a big move, with its orders, results and filings beside its, the Nifty's and the sector's move.

## Data freshness

Prices and indicators are end of day, as of the last close. Company figures are as filed, each with its date. There are no live prices.

## More

- Part of the [Market & macro](https://eqdoc.com/mcp/tools#g-market) group in the [tool reference](https://eqdoc.com/mcp/tools).
- [Set up the eqdoc MCP server](https://eqdoc.com/mcp) in Claude, ChatGPT, Cursor and other AI apps.
- [Limits and what each message means](https://eqdoc.com/mcp/docs/limits)

## Main sections

- [Home: ask the research desk](https://eqdoc.com/)
- [Stock screener](https://eqdoc.com/screener)
- [EqScore](https://eqdoc.com/eqscore)
- [Exchange filings](https://eqdoc.com/filings)
- [Results calendar](https://eqdoc.com/results-calendar)
- [Bulk and block deals](https://eqdoc.com/deals)
- [Stocks: the largest companies and A to Z](https://eqdoc.com/stocks)
- [Sectors](https://eqdoc.com/sectors)
- [Sector reading guides](https://eqdoc.com/guides)
- [Pricing](https://eqdoc.com/pricing)
- [Accuracy and verification](https://eqdoc.com/accuracy)
- [About eqdoc](https://eqdoc.com/about)
- [MCP server for AI tools](https://eqdoc.com/mcp)
- [Contact](https://eqdoc.com/contact)
