Search Companies

Search Companies Python API Documentation

Search the companies database and return a list of companies matching the text query parameter passed through. Query parameter searches across the company ticker and name.

API Class:
CompanyApi
Instance Method:
search_companies()

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)
query = 'Apple'
active = True
mode = ''
page_size = 100
response = intrinio.CompanyApi().search_companies(query, active=active, mode=mode, page_size=page_size)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
querystrSearch parameters 
activeboolWhen True, return companies that are actively traded (having stock prices within the past 14 days). When False, return companies that are not actively traded or never have been traded. Not setting this value returns all. Not used when mode is set.[optional]  
modestrWhen set, changes search mode to the specified mode.[optional]  
page_sizeintThe number of results to return[optional] [default to 100]  


Return Type

object
ApiResponseCompaniesSearch

Properties

NameTypeDescription
companieslist[CompanySummary] 
object
CompanySummary

Properties

NameTypeDescription
idstrThe Intrinio ID of the company  
tickerstrThe stock market ticker symbol associated with the company's common stock securities  
namestrThe company's common name  
leistrThe Legal Entity Identifier (LEI) assigned to the company  
cikstrThe Central Index Key (CIK) assigned to the company