All Companies

All Companies Ruby API Documentation

Returns all Companies. When parameters are specified, returns matching companies.

API Class:
Intrinio::CompanyApi
Instance Method:
get_all_companies()

Stock Price Code Example

Use my API Key
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
config.allow_retries = true
end
company_api = Intrinio::CompanyApi.new
opts = {
latest_filing_date: nil,
sic: nil,
template: nil,
sector: nil,
industry_category: nil,
industry_group: nil,
has_fundamentals: true,
has_stock_prices: true,
thea_enabled: nil,
page_size: 100,
next_page: nil
}
result = company_api.get_all_companies(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
latest_filing_dateDateReturn companies whose latest 10-Q or 10-K was filed on or after this date[optional]  
sicStringReturn companies with the given Standard Industrial Classification code[optional]  
templateStringReturn companies with the given financial statement template[optional]  
sectorStringReturn companies in the given industry sector[optional]  
industry_categoryStringReturn companies in the given industry category[optional]  
industry_groupStringReturn companies in the given industry group[optional]  
has_fundamentalsBOOLEANReturn only companies that have fundamentals when true[optional]  
has_stock_pricesBOOLEANReturn only companies that have stock prices when true[optional]  
thea_enabledBOOLEANReturn companies whose have been read by our Thea NLP and are ready for our company answers endpoint[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
next_pageStringGets the next page of data from a previous API call[optional]  

Return Type

object
Intrinio::ApiResponseCompanies

Properties

NameTypeDescription
companiesArray 
next_pageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio::CompanySummary

Properties

NameTypeDescription
idStringThe Intrinio ID of the company  
tickerStringThe stock market ticker symbol associated with the company's common stock securities  
nameStringThe company's common name  
leiStringThe Legal Entity Identifier (LEI) assigned to the company  
cikStringThe Central Index Key (CIK) assigned to the company