Tool reference
Indian stock price history with daily OHLCV data
get_price_history — Daily, weekly or monthly OHLCV bars. This is a read-only research or operational tool. It does not place trades or issue investment recommendations.
What you can ask
Connect DalalOS to Claude or ChatGPT and ask in plain English; the assistant calls get_price_history for you and answers from the figures it returns.
EXAMPLE PROMPTS
- Give me two years of weekly price history for TCS.
- Show daily closing prices for Maruti Suzuki over the last six months.
- Get monthly OHLCV bars for Titan since 2020.
Parameters and response fields
get_price_history
Daily, weekly or monthly OHLCV barsUSE WHEN
Raw price history for charting or your own return calculations — split/bonus-adjusted on request.
PARAMETERS
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Company name, symbol, code or ISIN. |
days | integer | No | 90 | Lookback window, clamped 1–1825. |
adjusted | boolean | No | false | Rescale pre-event bars for splits/bonuses. |
interval | string | No | daily | "daily" | "weekly" | "monthly". |
RESPONSE DATA
- bars — date, open, high, low, close, prev_close, volume, turnover, num_trades, deliv_pct.
- count, adjustments_applied.
NOTES
- Auto-coarsens to weekly bars if a daily request would return more than 750 rows (resampled_reason).
/stocks/{q}/price-historySee the same data on DalalOS
Public pages that need no sign-in and show data from the same source.
Related tools
KEEP EXPLORING
Connect your AI to Indian stock market data
Sign in to DalalOS and connect your AI in one line of config. Free to start; paid plans when you need more.