Lookup Security

Lookup Security Python API Documentation

Returns security reference data such as ticker, FIGI, primary exchange, CIK, and a unique security identifier.

API Class:
SecurityApi
Instance Method:
get_security_by_id()

Stock Price Code Example

Use my API Key
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 = 'AAPL'
response = intrinio.SecurityApi().get_security_by_id(identifier)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstrA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 


Return Type

object
Security

Properties

NameTypeDescription
idstrThe Intrinio ID for the Security  
company_idstrThe Intrinio ID for the company for which the Security is issued  
namestrThe name of the Security  
typestrThe Security's type  
codestrA 2-3 digit code classifying the Security (reference)  
share_classstrThe Security's share class (if applicable)  
currencystrThe currency in which the Security is traded on the exchange  
round_lot_sizefloatThe normal unit of trading  
tickerstrThe common ticker  
exchange_tickerstrThe exchange-level ticker  
composite_tickerstrThe country-composite ticker  
alternate_tickerslist[str]Alternate formats of the common ticker  
figistrThe exchange-level OpenFIGI identifier  
cikstrCentral Index Key issued by the SEC, which is the unique identifier for all owner filings  
composite_figistrThe country-composite OpenFIGI identifier  
share_class_figistrThe global-composite OpenFIGI identifier  
figi_uniqueidstrThe OpenFIGI unique ID  
activeboolIf True, the Security is active and has been recently traded  
etfboolIf True, this Security is an ETF  
delistedboolIf True, the Security is no longer traded on the exchange  
primary_listingboolIf True, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
primary_securityboolIf True, the Security is considered by Intrinio to be the primary Security for its company  
first_stock_pricedateThe date of the first recorded stock price  
last_stock_pricedateThe date of the last recorded stock price (or the most recent trading day)  
last_stock_price_adjustmentdateThe date of the last stock price adjustment (dividend, split, etc)  
last_corporate_actiondateThe date of the last corporate action  
previous_tickerslist[str]Previous tickers used by this security  
listing_exchange_micstrThe MIC code of the exchange on which this security primarily trades