getIndexMembers API

The getIndexMembers API returns the stocks compromising a given index.

Pricing is based on the number of monthly queries and fields requested. We offer four packages: Small, Medium, Large, Enterprise. Contact us for additional details.


API Documentation

INPUTS:

symbol (required)
A symbol or code that identifies an index. (enum)
Valid values: $ONE, $IDX, $SPX, $IQY, $RUI, $IUX, $RUA, $IUXX, $DOWC, $DOWT, $DOWU, $DOWI, $TXCX, $JX, $TXSX, $TTCS, $TOOC, $TXTW
Example: $SPX

fields (optional)
The fields requested. (list)
Example: exchange


OUTPUTS:

index (always returned)
The index that the symbol belongs to. (string)
symbol (always returned)
A symbol or code that identifies a financial instrument. (string)
name (always returned)
The name for the financial instrument. (string)
exchange (as requested)
The exchange code on which the financial instrument trades. (string)

STATUS CODE RESPONSES:

200 OK Success
400 Bad Request The request was invalid, please see the message for more information.
500 Internal Server Error Something is not working correctly, please contact support.