All URIs are relative to https://api-v2.intrinio.com
| Method | HTTP request | Description |
|---|---|---|
| get_all_economic_indices | GET /indices/economic | All Economic Indices |
| get_all_eod_index_prices | GET /indices/prices/eod | All End of Day Index Prices |
| get_all_index_summaries | GET /indices | All Index Summaries |
| get_all_realtime_index_prices | GET /indices/prices/realtime | All Realtime Index Prices |
| get_all_sic_indices | GET /indices/sic | All SIC Indices |
| get_all_stock_market_indices | GET /indices/stock_market | All Stock Market Indices |
| get_economic_index_by_id | GET /indices/economic/{identifier} | Lookup Economic Index |
| get_economic_index_data_point_number | GET /indices/economic/{identifier}/data_point/{tag}/number | Data Point (Number) for an Economic Index |
| get_economic_index_data_point_text | GET /indices/economic/{identifier}/data_point/{tag}/text | Data Point (Text) for an Economic Index |
| get_economic_index_historical_data | GET /indices/economic/{identifier}/historical_data/{tag} | Historical Data for an Economic Index |
| get_eod_index_price_by_id | GET /indices/{identifier}/eod | End of Day Index Prices By Identifier |
| get_index_constituents_by_id | GET /indices/{identifier}/constituents | Index Constituents By Index Identifier |
| get_index_intervals | GET /indices/{identifier}/intervals | Index Intervals |
| get_index_summary_by_id | GET /indices/{identifier} | Index Summary By Identifier |
| get_realtime_index_price_by_id | GET /indices/{identifier}/realtime | Realtime Index Price By Identifier |
| get_sic_index_by_id | GET /indices/sic/{identifier} | Lookup SIC Index |
| get_sic_index_data_point_number | GET /indices/sic/{identifier}/data_point/{tag}/number | Data Point (Number) for an SIC Index |
| get_sic_index_data_point_text | GET /indices/sic/{identifier}/data_point/{tag}/text | Data Point (Text) for an SIC Index |
| get_sic_index_historical_data | GET /indices/sic/{identifier}/historical_data/{tag} | Historical Data for an SIC Index |
| get_stock_market_index_by_id | GET /indices/stock_market/{identifier} | Lookup Stock Market Index |
| get_stock_market_index_data_point_number | GET /indices/stock_market/{identifier}/data_point/{tag}/number | Data Point (Number) for Stock Market Index |
| get_stock_market_index_data_point_text | GET /indices/stock_market/{identifier}/data_point/{tag}/text | Data Point (Text) for Stock Market Index |
| get_stock_market_index_historical_data | GET /indices/stock_market/{identifier}/historical_data/{tag} | Historical Data for Stock Market Index |
| search_economic_indices | GET /indices/economic/search | Search Economic Indices |
| search_sic_indices | GET /indices/sic/search | Search SIC Indices |
| search_stock_markets_indices | GET /indices/stock_market/search | Search Stock Market Indices |
View Intrinio API Documentation
ApiResponseEconomicIndices get_all_economic_indices(page_size=page_size, next_page=next_page)
Returns a list of reference data on more than 200,000 economic indices from the Federal Reserve Economic Data (FRED) database.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
page_size = 100
next_page = ''
response = intrinio.IndexApi().get_all_economic_indices(page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| page_size | int | The number of results to return | [optional] [default to 100] |
| next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseEodIndexPricesAll get_all_eod_index_prices(page_size=page_size, start_date=start_date, end_date=end_date)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
page_size = 100
start_date = ''
end_date = ''
response = intrinio.IndexApi().get_all_eod_index_prices(page_size=page_size, start_date=start_date, end_date=end_date)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| page_size | int | The number of results to return | [optional] [default to 100] |
| start_date | date | Limit prices to those on or after this date | [optional] |
| end_date | date | Limit prices to those on or before this date | [optional] |
View Intrinio API Documentation
ApiResponseIndices get_all_index_summaries(page_size=page_size)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
page_size = 100
response = intrinio.IndexApi().get_all_index_summaries(page_size=page_size)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| page_size | int | The number of results to return | [optional] [default to 100] |
View Intrinio API Documentation
ApiResponseRealtimeIndexPrices get_all_realtime_index_prices(page_size=page_size)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
page_size = 100
response = intrinio.IndexApi().get_all_realtime_index_prices(page_size=page_size)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| page_size | int | The number of results to return | [optional] [default to 100] |
ApiResponseRealtimeIndexPrices
View Intrinio API Documentation
ApiResponseSICIndices get_all_sic_indices(page_size=page_size, next_page=next_page)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
page_size = 100
next_page = ''
response = intrinio.IndexApi().get_all_sic_indices(page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| page_size | int | The number of results to return | [optional] [default to 100] |
| next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseStockMarketIndices get_all_stock_market_indices(page_size=page_size, next_page=next_page)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
page_size = 100
next_page = ''
response = intrinio.IndexApi().get_all_stock_market_indices(page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| page_size | int | The number of results to return | [optional] [default to 100] |
| next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
EconomicIndex get_economic_index_by_id(identifier)
Returns reference data for a specified Federal Reserve Economic Data (FRED) series ID.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$GDP'
response = intrinio.IndexApi().get_economic_index_by_id(identifier)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) |
View Intrinio API Documentation
float get_economic_index_data_point_number(identifier, tag)
Returns latest data for a specified Federal Reserve Economic Data (FRED) ID.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$GDP'
tag = 'level'
response = intrinio.IndexApi().get_economic_index_data_point_number(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag <a href='https://data.intrinio.com/data-tags/economic'>reference</a> |
float
View Intrinio API Documentation
str get_economic_index_data_point_text(identifier, tag)
Returns a text value for the given tag for the Economic Index with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$GDP'
tag = 'level'
response = intrinio.IndexApi().get_economic_index_data_point_text(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag ID or code-name |
str
View Intrinio API Documentation
ApiResponseEconomicIndexHistoricalData get_economic_index_historical_data(identifier, tag, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
Returns historical data for a specified Federal Reserve Economic Data (FRED) ID over a period of time.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$GDP'
tag = 'level'
type = ''
start_date = '2018-01-01'
end_date = ''
sort_order = 'desc'
page_size = 100
next_page = ''
response = intrinio.IndexApi().get_economic_index_historical_data(identifier, tag, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag <a href='https://data.intrinio.com/data-tags/economic'>reference</a> | |
| type | str | Filter by type, when applicable | [optional] |
| start_date | date | Get historical data on or after this date | [optional] |
| end_date | date | Get historical data on or before this date | [optional] |
| sort_order | str | Sort by date `asc` or `desc` | [optional] [default to desc] |
| page_size | int | The number of results to return | [optional] [default to 100] |
| next_page | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseEconomicIndexHistoricalData
View Intrinio API Documentation
ApiResponseEodIndexPrices get_eod_index_price_by_id(identifier, page_size=page_size, start_date=start_date, end_date=end_date)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'SPX'
page_size = 100
start_date = ''
end_date = ''
response = intrinio.IndexApi().get_eod_index_price_by_id(identifier, page_size=page_size, start_date=start_date, end_date=end_date)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | The index symbol | |
| page_size | int | The number of results to return | [optional] [default to 100] |
| start_date | date | Limit prices to those on or after this date | [optional] |
| end_date | date | Limit prices to those on or before this date | [optional] |
View Intrinio API Documentation
ApiResponseIndexConstituents get_index_constituents_by_id(identifier)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'DJI'
response = intrinio.IndexApi().get_index_constituents_by_id(identifier)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | The index symbol |
View Intrinio API Documentation
ApiResponseIndexIntervals get_index_intervals(identifier, interval_size, start_date=start_date, start_time=start_time, end_date=end_date, end_time=end_time, timezone=timezone, page_size=page_size)
Returns a list of interval data points for a specified index, including open, close, high, low, volume, and average price. Intervals are available in 60-minute, 30-minute, 15-minute, 10-minute, 5-minute, and 1-minute increments.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'SPX'
interval_size = '5m'
start_date = '2023-01-01'
start_time = '33300'
end_date = '2023-02-01'
end_time = '33300'
timezone = 'UTC'
page_size = 100
response = intrinio.IndexApi().get_index_intervals(identifier, interval_size, start_date=start_date, start_time=start_time, end_date=end_date, end_time=end_time, timezone=timezone, page_size=page_size)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | The index identifier | |
| interval_size | str | The interval size to return in minutes (m) or hour (h). | [default to 5m] |
| start_date | date | Return intervals starting at the specified date | [optional] |
| start_time | str | Return intervals starting at the specified time on the `start_date` (24-hour in 'hh:mm:ss' format) | [optional] |
| end_date | date | Return intervals stopping at the specified date | [optional] |
| end_time | str | Return intervals stopping at the specified time on the `end_date` (24-hour in 'hh:mm:ss' format) | [optional] |
| timezone | str | Interprets the input times in this time zone, as well as returns times in this timezone. | [optional] [default to UTC] |
| page_size | int | The number of results to return per page. | [optional] [default to 100] |
View Intrinio API Documentation
ApiResponseIndex get_index_summary_by_id(identifier)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'SPX'
response = intrinio.IndexApi().get_index_summary_by_id(identifier)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | The index symbol |
View Intrinio API Documentation
RealtimeIndexPrice get_realtime_index_price_by_id(identifier)
Returns the realtime price for an index.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'SPX'
response = intrinio.IndexApi().get_realtime_index_price_by_id(identifier)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | The index symbol |
View Intrinio API Documentation
SICIndex get_sic_index_by_id(identifier)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$SIC.2911'
response = intrinio.IndexApi().get_sic_index_by_id(identifier)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) |
View Intrinio API Documentation
float get_sic_index_data_point_number(identifier, tag)
Returns a numeric value for the given tag for the SIC Index with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$SIC.2911'
tag = 'marketcap'
response = intrinio.IndexApi().get_sic_index_data_point_number(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag ID or code-name |
float
View Intrinio API Documentation
str get_sic_index_data_point_text(identifier, tag)
Returns a text value for the given tag for the SIC Index with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$SIC.2911'
tag = 'marketcap'
response = intrinio.IndexApi().get_sic_index_data_point_text(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag ID or code-name |
str
View Intrinio API Documentation
ApiResponseSICIndexHistoricalData get_sic_index_historical_data(identifier, tag, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
Returns historical values for the given tag and the SIC Index with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$SIC.1'
tag = 'marketcap'
type = ''
start_date = '2018-01-01'
end_date = ''
sort_order = 'desc'
page_size = 100
next_page = ''
response = intrinio.IndexApi().get_sic_index_historical_data(identifier, tag, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag ID or code-name | |
| type | str | Filter by type, when applicable | [optional] |
| start_date | date | Get historical data on or after this date | [optional] |
| end_date | date | Get historical data on or before this date | [optional] |
| sort_order | str | Sort by date `asc` or `desc` | [optional] [default to desc] |
| page_size | int | The number of results to return | [optional] [default to 100] |
| next_page | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseSICIndexHistoricalData
View Intrinio API Documentation
StockMarketIndex get_stock_market_index_by_id(identifier)
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$DJI'
response = intrinio.IndexApi().get_stock_market_index_by_id(identifier)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) |
View Intrinio API Documentation
float get_stock_market_index_data_point_number(identifier, tag)
Returns a numeric value for the given tag for the Stock Market Index with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$DJI'
tag = 'level'
response = intrinio.IndexApi().get_stock_market_index_data_point_number(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag ID or code-name |
float
View Intrinio API Documentation
str get_stock_market_index_data_point_text(identifier, tag)
Returns a text value for the given tag for the Stock Market Index with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$DJI'
tag = 'level'
response = intrinio.IndexApi().get_stock_market_index_data_point_text(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag ID or code-name |
str
View Intrinio API Documentation
ApiResponseStockMarketIndexHistoricalData get_stock_market_index_historical_data(identifier, tag, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
Returns historical values for the given tag and the Stock Market Index with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = '$DJI'
tag = 'level'
type = ''
start_date = '2018-01-01'
end_date = ''
sort_order = 'desc'
page_size = 100
next_page = ''
response = intrinio.IndexApi().get_stock_market_index_historical_data(identifier, tag, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| identifier | str | An Index Identifier (symbol, Intrinio ID) | |
| tag | str | An Intrinio data tag ID or code-name | |
| type | str | Filter by type, when applicable | [optional] |
| start_date | date | Get historical data on or after this date | [optional] |
| end_date | date | Get historical data on or before this date | [optional] |
| sort_order | str | Sort by date `asc` or `desc` | [optional] [default to desc] |
| page_size | int | The number of results to return | [optional] [default to 100] |
| next_page | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseStockMarketIndexHistoricalData
View Intrinio API Documentation
ApiResponseEconomicIndicesSearch search_economic_indices(query, page_size=page_size)
Search the Federal Reserve Economic Data (FRED) database and return a list of economic indices matching the text query parameter passed through.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
query = 'GDP'
page_size = 100
response = intrinio.IndexApi().search_economic_indices(query, page_size=page_size)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| query | str | Search query | |
| page_size | int | The number of results to return | [optional] [default to 100] |
ApiResponseEconomicIndicesSearch
View Intrinio API Documentation
ApiResponseSICIndicesSearch search_sic_indices(query, page_size=page_size)
Searches for indices using the text in query
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
query = 'agriculture'
page_size = 100
response = intrinio.IndexApi().search_sic_indices(query, page_size=page_size)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| query | str | Search query | |
| page_size | int | The number of results to return | [optional] [default to 100] |
View Intrinio API Documentation
ApiResponseStockMarketIndicesSearch search_stock_markets_indices(query, page_size=page_size)
Searches for indices using the text in query
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
query = 'dow'
page_size = 100
response = intrinio.IndexApi().search_stock_markets_indices(query, page_size=page_size)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict) | Name | Type | Description | Notes |
|---|---|---|---|
| query | str | Search query | |
| page_size | int | The number of results to return | [optional] [default to 100] |