All News by Company

All News by Company R API Documentation

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

API Class:
IntrinioSDK::CompanyApi
Instance Method:
get_company_news()

Stock Price Code Example

Use my API Key
client <- IntrinioSDK::ApiClient$new()
# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"
#Configure retries
client$configuration$allowRetries <- TRUE
# Setup API with client
CompanyApi <- IntrinioSDK::CompanyApi$new(client)
# Required params
identifier <- "AAPL"
# Optional params
opts <- list(
specific_source = NULL,
page_size = 100,
sentiment = NULL,
topic = NULL,
security = "AAPL",
start_date = NULL,
end_date = NULL,
language = NULL,
word_count_greater_than = NULL,
word_count_less_than = NULL,
is_spam = NULL,
business_relevance_greater_than = NULL,
business_relevance_less_than = NULL,
next_page = NULL
)
response <- CompanyApi$get_company_news(identifier, opts)
print(response)
print(response$content)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierCharacterA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
specific_sourceCharacterOnly news from this source. Defaults to highest available if not present.[optional]  
page_sizeIntegerThe maximum number of results to return[optional] [default to 100]  
sentimentCharacterFilter by sentiment. Unsupported for yahoo source.[optional]  
topicCharacterFilter by topic. Unsupported for yahoo source.[optional]  
securityCharacterFilter by `security` identifier (ticker, figi, isin, cusip, Intrinio ID). Unsupported for yahoo source.[optional]  
start_dateDateLimit news stories to those on or after this date. Defaults to yesterday if unspecified.[optional]  
end_dateDateLimit news stories to those on or before this date[optional]  
languageCharacterFilter by language. Unsupported for yahoo source.[optional]  
word_count_greater_thanIntegerNews stories will have a word count greater than this value. Unsupported for yahoo source.[optional]  
word_count_less_thanIntegerNews stories will have a word count less than this value. Unsupported for yahoo source.[optional]  
is_spamLogicalFilter whether it is marked as spam or not. Unsupported for yahoo source.[optional]  
business_relevance_greater_thanNumericNews stories will have a business relevance score more than this value. Unsupported for yahoo source.[optional]  
business_relevance_less_thanNumericNews stories will have a business relevance score less than this value. Unsupported for yahoo source.[optional]  
next_pageCharacterGets the next page of data from a previous API call[optional]  


Return Type

object
IntrinioSDK::ApiResponseCompanyNews

Properties

NameTypeDescription
newsList of CompanyNewsSummary 
news_data_frameData FrameData frame representation of news
companyCompanySummary 
next_pageCharacterThe token required to request the next page of the data. If null, no further results are available.  
object
IntrinioSDK::CompanyNewsSummary

Properties

NameTypeDescription
idCharacterThe Intrinio ID for the news article  
titleCharacterThe title of the news article  
publication_datePOSIXltThe publication date of the news article  
urlCharacterThe url of the news article  
summaryCharacterA summary of the news article  
sourceCharacterThe news source.  
topicsList of NewsTopic 
topics_data_frameData FrameData frame representation of topics
copyrightCharacterThe copyright of the news article  
languageCharacterThe language code of the news article  
word_countIntegerThe word count of the news article  
spamLogicalWhether the news article is marked as spam or not  
business_relevanceNumericHow strongly correlated the news article is to the business  
article_sentimentCharacterThe news sentiment.  
article_sentiment_confidenceNumericThe confidence score of the sentiment rating  
object
IntrinioSDK::NewsTopic

Properties

NameTypeDescription
nameCharacterThe description of the topic.  
object
IntrinioSDK::CompanySummary

Properties

NameTypeDescription
idCharacterThe Intrinio ID of the company  
tickerCharacterThe stock market ticker symbol associated with the company's common stock securities  
nameCharacterThe company's common name  
leiCharacterThe Legal Entity Identifier (LEI) assigned to the company  
cikCharacterThe Central Index Key (CIK) assigned to the company