All News by Company

All News by Company Javascript API Documentation

Returns the latest and historical news article links, headlines and summaries for a specified US traded company.

API Class:
CompanyApi
Instance Method:
getCompanyNews()

Stock Price Code Example

Use my API Key
var intrinioSDK = require('intrinio-sdk');
intrinioSDK.ApiClient.instance.authentications['ApiKeyAuth'].apiKey = "YOUR_API_KEY";
intrinioSDK.ApiClient.instance.enableRetries = true;
var company = new intrinioSDK.CompanyApi();
var identifier = "AAPL";
var opts = {
'specificSource': null,
'pageSize': 100,
'sentiment': null,
'topic': null,
'security': "AAPL",
'startDate': null,
'endDate': null,
'language': null,
'wordCountGreaterThan': null,
'wordCountLessThan': null,
'isSpam': null,
'businessRelevanceGreaterThan': null,
'businessRelevanceLessThan': null,
'nextPage': null
};
company.getCompanyNews(identifier, opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
specificSourceStringOnly news from this source. Defaults to highest available if not present.[optional]  
pageSizeNumberThe maximum number of results to return[optional] [default to 100]  
sentimentStringFilter by sentiment. Unsupported for yahoo source.[optional]  
topicStringFilter by topic. Unsupported for yahoo source.[optional]  
securityStringFilter by `security` identifier (ticker, figi, isin, cusip, Intrinio ID). Unsupported for yahoo source.[optional]  
startDateDateLimit news stories to those on or after this date. Defaults to yesterday if unspecified.[optional]  
endDateDateLimit news stories to those on or before this date[optional]  
languageStringFilter by language. Unsupported for yahoo source.[optional]  
wordCountGreaterThanNumberNews stories will have a word count greater than this value. Unsupported for yahoo source.[optional]  
wordCountLessThanNumberNews 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]  
businessRelevanceGreaterThanNumberNews stories will have a business relevance score more than this value. Unsupported for yahoo source.[optional]  
businessRelevanceLessThanNumberNews 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
ApiResponseCompanyNews

Properties

NameTypeDescription
news[CompanyNewsSummary] 
companyCompanySummary 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
CompanyNewsSummary

Properties

NameTypeDescription
idStringThe Intrinio ID for the news article  
titleStringThe title of the news article  
publicationDateDateThe publication date of the news article  
urlStringThe url of the news article  
summaryStringA summary of the news article  
sourceStringThe news source.  
topics[NewsTopic] 
copyrightStringThe copyright of the news article  
languageStringThe language code of the news article  
wordCountNumberThe word count of the news article  
spamBooleanWhether the news article is marked as spam or not  
businessRelevanceNumberHow strongly correlated the news article is to the business  
articleSentimentStringThe news sentiment.  
articleSentimentConfidenceNumberThe confidence score of the sentiment rating  
object
NewsTopic

Properties

NameTypeDescription
nameStringThe description of the topic.  
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