All Fundamentals by Company

All Fundamentals by Company Java 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:
getCompanyFundamentals()

Stock Price Code Example

Use my API Key
import com.intrinio.api.*;
import com.intrinio.models.*;
import com.intrinio.invoker.*;
import com.intrinio.invoker.auth.*;
import org.threeten.bp.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth auth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
auth.setApiKey("YOUR_API_KEY");
defaultClient.setAllowRetries(true);
CompanyApi companyApi = new CompanyApi();
String identifier = "AAPL";
LocalDate filedAfter = null;
LocalDate filedBefore = null;
Boolean reportedOnly = false;
Integer fiscalYear = null;
String statementCode = null;
String type = null;
String fundamentalType = null;
LocalDate startDate = null;
LocalDate endDate = null;
LocalDate updatedAfter = LocalDate.of(2022,12,01);
Boolean latestOnly = true;
LocalDate updatedBefore = LocalDate.of(2022,12,01);
Integer pageSize = 100;
String nextPage = null;
ApiResponseCompanyFundamentals result = companyApi.getCompanyFundamentals(identifier, filedAfter, filedBefore, reportedOnly, fiscalYear,
      statementCode, type, fundamentalType, startDate, endDate, updatedAfter, latestOnly, updatedBefore, pageSize, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
filedAfterLocalDateFiled on or after this date[optional]  
filedBeforeLocalDateFiled on or before this date[optional]  
reportedOnlyBooleanOnly as-reported fundamentals[optional]  
fiscalYearIntegerOnly for the given fiscal year[optional]  
statementCodeStringOnly of the given statement code[optional] [enum: income_statement, balance_sheet_statement, cash_flow_statement, calculations]  
typeStringOnly of the given type[optional] [enum: QTR, YTD, FY, TTM]  
fundamentalTypeStringOnly of the given fundamental type[optional] [enum: reported, restated, calculated]  
startDateLocalDateOnly on or after the given date[optional]  
endDateLocalDateOnly on or before the given date[optional]  
updatedAfterLocalDateOnly include fundamentals where it was updated after this date.[optional]  
latestOnlyBooleanOnly the most-recently reported fundamental for the period[optional]  
updatedBeforeLocalDateOnly include fundamentals where it was updated before this date.[optional]  
pageSizeIntegerThe number of results to return[optional] [default to 100]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseCompanyFundamentals

Properties

NameTypeDescription
fundamentalsList 
companyCompanySummary 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
FundamentalSummary

Properties

NameTypeDescription
idStringThe Intrinio ID of the Fundamental  
statementCodeStringThe code of the financial statement that the Fundamental represents  
fiscalYearBigDecimalThe fiscal year  
fiscalPeriodStringThe fiscal period  
typeTypeEnumThe type of Fundamental  
startDateLocalDateThe period start date  
endDateLocalDateThe period start date  
filingDateOffsetDateTimeThe date and time when the Fundamental was filed with the SEC  
object
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