Index details and constituents
get_indexFetch an NSE index's level, returns, valuation (P/E, P/B, dividend yield), breadth, and constituent price changes, weights, and 52-week high distance for market analysis.
Instructions
An NSE index's level, returns, valuation (P/E, P/B, dividend yield) and breadth, with every constituent's price, day/30-day/1-year change, distance from its 52-week high and approximate weight.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index name or code: 'NIFTY 50', 'NIFTY BANK', 'NIFTY IT', 'NIFTY MIDCAP 100', 'fno'... | |
| limit | No | Maximum constituents to return. | |
| sort_by | No | How to order constituents. | weight |