All News

All News Java API Documentation

Returns the latest news article links, headlines and summaries for all US traded companies allowing you to keep a pulse on companies and their business operations.

API Class:
CompanyApi
Instance Method:
getAllCompanyNews()

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 specificSource = null;
Integer pageSize = 100;
String sentiment = null;
String topic = null;
String company = "AAPL";
String security = "AAPL";
LocalDate startDate = null;
LocalDate endDate = null;
String language = null;
Integer wordCountGreaterThan = null;
Integer wordCountLessThan = null;
Boolean isSpam = null;
BigDecimal businessRelevanceGreaterThan = null;
BigDecimal businessRelevanceLessThan = null;
String nextPage = null;
ApiResponseNews result = companyApi.getAllCompanyNews(specificSource, pageSize, sentiment, topic, company, security, startDate, endDate, language,
      wordCountGreaterThan, wordCountLessThan, isSpam, businessRelevanceGreaterThan, businessRelevanceLessThan, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
specificSourceStringOnly news from this source. Defaults to highest available if not present.[optional] [enum: yahoo, moody, moody_us_news, moody_us_press_releases]  
pageSizeIntegerThe maximum number of results to return.[optional] [default to 100]  
sentimentStringFilter by sentiment. Unsupported for yahoo source.[optional] [enum: positive, neutral, negative]  
topicStringFilter by topic. Unsupported for yahoo source.[optional]  
companyStringFilter by `company` identifier (ticker, CIK, LEI, Intrinio ID)[optional]  
securityStringFilter by `security` identifier (ticker, figi, isin, cusip, Intrinio ID). Unsupported for yahoo source.[optional]  
startDateLocalDateLimit news stories to those on or after this date. Defaults to yesterday if unspecified.[optional]  
endDateLocalDateLimit news stories to those on or before this date.[optional]  
languageStringFilter by language. Unsupported for yahoo source.[optional]  
wordCountGreaterThanIntegerNews stories will have a word count greater than this value. Unsupported for yahoo source.[optional]  
wordCountLessThanIntegerNews stories will have a word count less than this value. Unsupported for yahoo source.[optional]  
isSpamBooleanFilter whether it is marked as spam or not. Unsupported for yahoo source.[optional]  
businessRelevanceGreaterThanBigDecimalNews stories will have a business relevance score more than this value. Unsupported for yahoo source.[optional]  
businessRelevanceLessThanBigDecimalNews stories will have a business relevance score less than this value. Unsupported for yahoo source.[optional]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseNews

Properties

NameTypeDescription
newsList<CompanyNews> 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
CompanyNews

Properties

NameTypeDescription
idStringThe Intrinio ID for the news article  
titleStringThe title of the news article  
publicationDateOffsetDateTimeThe publication date of the news article  
urlStringThe url of the news article  
summaryStringA summary of the news article  
sourceSourceEnumThe news source.  
companyCompanySummaryThe Company to which the new article pertains  
topicsList<NewsTopic> 
copyrightStringThe copyright of the news article  
languageStringThe language code of the news article  
wordCountIntegerThe word count of the news article  
spamBooleanWhether the news article is marked as spam or not  
businessRelevanceBigDecimalHow strongly correlated the news article is to the business  
articleSentimentArticleSentimentEnumThe news sentiment.  
articleSentimentConfidenceBigDecimalThe confidence score of the sentiment rating  
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  
object
NewsTopic

Properties

NameTypeDescription
nameStringThe description of the topic.