Returns data from the [sp500] table.
This table provides the current and historical constituents of the S&P500 index.
For more information on the dataset and the available indicators, please review the sp500 table on the Data Explorer page.
The table is queried via the following endpoint
The queries are authenticated and filtered using query parameters. A query parameter specifies a particular option or filter for the data to be returned. Examples of query parameter include the data format to be returned (format), the table columns to return (fields) or a filter to be applied (tablename). These are appended to the endpoint above, following a ?. The most important of these is your API key (apiKey) which is used to authenticate you. Without a valid API key, results will not be returned.
The sp500 table supports the following query parameters.
|The format of the results to be returned.
|Specifies the filing date from which to return data.
|30 days ago
|Specifies the filing date to return data until.
|The fields (table columns) to return.
|Returns results for the specified action.
|Returns the ticker for the company corresponding to a particular action (e.g. this will reflect the ticker for the company that was removed when viewing the record for a ticker that has been added to the sp500 table).
|Returns results for the specified ticker. Multiple tickers should be separated with a comma(,).
|The number of records to return.
|The number of results to skip before returning data.
|The field used to sort the data and the sort method (asc/desc).
Return the current S&P500 constituents
Return the S&P500 history for a specific ticker