The getIndexMembers API returns the stocks compromising a given index.
Parameter | Description | Data Type |
---|---|---|
fields | The fields requested. | |
symbol | A symbol or code that identifies an index. |
Field | Description | Data Type |
---|---|---|
exchange | The exchange code on which the financial instrument trades. | string |
index | The index that the symbol belongs to. | string |
name | The name for the financial instrument. | string |
symbol | A symbol or code that identifies a financial instrument. | string |
From market data feeds to website content solutions and trading software to our flagship financial portal, Barchart.com, and individual subscription services, Barchart is the definitive source for comprehensive financial data and information.