All Fundamentals by Company

All Fundamentals by Company Ruby API Documentation

Returns a list of fundamentals with unique fundamental IDs associated with a particular company. Useful to obtain all historical and/or latest fundamental IDs for a given company to then use to loop through and pull all fundamental data available.

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

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
identifier = "AAPL"
opts = {
filed_after: nil,
filed_before: nil,
reported_only: false,
fiscal_year: nil,
statement_code: nil,
type: nil,
fundamental_type: nil,
start_date: nil,
end_date: nil,
updated_after: Date.parse("2022-12-01"),
latest_only: true,
updated_before: Date.parse("2022-12-01"),
page_size: 100,
next_page: nil
}
result = company_api.get_company_fundamentals(identifier, opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
filed_afterDateFiled on or after this date[optional]  
filed_beforeDateFiled on or before this date[optional]  
reported_onlyBOOLEANOnly as-reported fundamentals[optional]  
fiscal_yearIntegerOnly for the given fiscal year[optional]  
statement_codeStringOnly of the given statement code[optional]  
typeStringOnly of the given type[optional]  
fundamental_typeStringOnly of the given fundamental type[optional]  
start_dateDateOnly on or after the given date[optional]  
end_dateDateOnly on or before the given date[optional]  
updated_afterDateOnly include fundamentals where it was updated after this date.[optional]  
latest_onlyBOOLEANOnly the most-recently reported fundamental for the period[optional]  
updated_beforeDateOnly include fundamentals where it was updated before this date.[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::ApiResponseCompanyFundamentals

Properties

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

Properties

NameTypeDescription
idStringThe Intrinio ID of the Fundamental  
statement_codeStringThe code of the financial statement that the Fundamental represents  
fiscal_yearFloatThe fiscal year  
fiscal_periodStringThe fiscal period  
typeStringThe type of Fundamental  
start_dateDateThe period start date  
end_dateDateThe period start date  
filing_dateDateTimeThe date and time when the Fundamental was filed with the SEC  
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