All Fundamentals by Company

All Fundamentals by Company Python 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:
CompanyApi
Instance Method:
get_company_fundamentals()

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'
filed_after = ''
filed_before = ''
reported_only = False
fiscal_year = ''
statement_code = ''
type = ''
fundamental_type = ''
start_date = ''
end_date = ''
updated_after = '2022-12-01'
latest_only = True
updated_before = '2022-12-01'
page_size = 100
next_page = ''
response = intrinio.CompanyApi().get_company_fundamentals(identifier, filed_after=filed_after, filed_before=filed_before, reported_only=reported_only,
  fiscal_year=fiscal_year, statement_code=statement_code, type=type, fundamental_type=fundamental_type, start_date=start_date, end_date=end_date,
  updated_after=updated_after, latest_only=latest_only, updated_before=updated_before, page_size=page_size, next_page=next_page)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstrA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
filed_afterdateFiled on or after this date[optional]  
filed_beforedateFiled on or before this date[optional]  
reported_onlyboolOnly as-reported fundamentals[optional]  
fiscal_yearintOnly for the given fiscal year[optional]  
statement_codestrOnly of the given statement code[optional]  
typestrOnly of the given type[optional]  
fundamental_typestrOnly 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_onlyboolOnly the most-recently reported fundamental for the period[optional]  
updated_beforedateOnly include fundamentals where it was updated before this date.[optional]  
page_sizeintThe number of results to return[optional] [default to 100]  
next_pagestrGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseCompanyFundamentals

Properties

NameTypeDescription
fundamentalslist[FundamentalSummary] 
companyCompanySummary 
next_pagestrThe token required to request the next page of the data. If null, no further results are available.  
object
FundamentalSummary

Properties

NameTypeDescription
idstrThe Intrinio ID of the Fundamental  
statement_codestrThe code of the financial statement that the Fundamental represents  
fiscal_yearfloatThe fiscal year  
fiscal_periodstrThe fiscal period  
typestrThe 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
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