Company Answers

Company Answers Java API Documentation

Returns answers for a question about the Company with the given `identifier`

API Class:
CompanyApi
Instance Method:
getCompanyAnswers()

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";
String query = "What do they believe in?";
ApiResponseCompanyAnswers result = companyApi.getCompanyAnswers(identifier, query);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
queryStringThe query to ask the Thea API 


Return Type

object
ApiResponseCompanyAnswers

Properties

NameTypeDescription
sourceStringThe organziation the answer data was sourced from  
queryStringThe query posed to the Thea API  
answersList 
companiesList 
object
TheaEntityAnswer

Properties

NameTypeDescription
answerStringThe summarized answer returned from Thea  
contentStringThe underlying content the answer was sourced from  
sourceDocumentsListThe documents from which Thea answer data is sourced  
object
TheaSourceDocument

Properties

NameTypeDescription
idStringThe unique id for the Thea source document  
dateTimeLocalDateThe date at which the document was created  
tagsListEntity identifying tags associated with the source document  
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