All News

All News Python 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:
get_all_company_news()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
specific_source = ''
page_size = 100
sentiment = ''
topic = ''
company = 'AAPL'
security = 'AAPL'
start_date = ''
end_date = ''
language = ''
word_count_greater_than = ''
word_count_less_than = ''
is_spam = ''
business_relevance_greater_than = ''
business_relevance_less_than = ''
next_page = ''
response = intrinio.CompanyApi().get_all_company_news(specific_source=specific_source, page_size=page_size, sentiment=sentiment, topic=topic, company
  =company, security=security, start_date=start_date, end_date=end_date, language=language, word_count_greater_than=word_count_greater_than,
  word_count_less_than=word_count_less_than, is_spam=is_spam, business_relevance_greater_than=business_relevance_greater_than,
  business_relevance_less_than=business_relevance_less_than, next_page=next_page)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
specific_sourcestrOnly news from this source. Defaults to highest available if not present.[optional]  
page_sizeintThe maximum number of results to return.[optional] [default to 100]  
sentimentstrFilter by sentiment. Unsupported for yahoo source.[optional]  
topicstrFilter by topic. Unsupported for yahoo source.[optional]  
companystrFilter by `company` identifier (ticker, CIK, LEI, Intrinio ID)[optional]  
securitystrFilter 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]  
languagestrFilter by language. Unsupported for yahoo source.[optional]  
word_count_greater_thanintNews stories will have a word count greater than this value. Unsupported for yahoo source.[optional]  
word_count_less_thanintNews stories will have a word count less than this value. Unsupported for yahoo source.[optional]  
is_spamboolFilter whether it is marked as spam or not. Unsupported for yahoo source.[optional]  
business_relevance_greater_thanfloatNews stories will have a business relevance score more than this value. Unsupported for yahoo source.[optional]  
business_relevance_less_thanfloatNews stories will have a business relevance score less than this value. Unsupported for yahoo source.[optional]  
next_pagestrGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseNews

Properties

NameTypeDescription
newslist[CompanyNews] 
next_pagestrThe token required to request the next page of the data. If null, no further results are available.  
object
CompanyNews

Properties

NameTypeDescription
idstrThe Intrinio ID for the news article  
titlestrThe title of the news article  
publication_datedatetimeThe publication date of the news article  
urlstrThe url of the news article  
summarystrA summary of the news article  
sourcestrThe news source.  
companyCompanySummaryThe Company to which the new article pertains  
topicslist[NewsTopic] 
copyrightstrThe copyright of the news article  
languagestrThe language code of the news article  
word_countintThe word count of the news article  
spamboolWhether the news article is marked as spam or not  
business_relevancefloatHow strongly correlated the news article is to the business  
article_sentimentstrThe news sentiment.  
article_sentiment_confidencefloatThe confidence score of the sentiment rating  
object
CompanySummary

Properties

NameTypeDescription
idstrThe Intrinio ID of the company  
tickerstrThe stock market ticker symbol associated with the company's common stock securities  
namestrThe company's common name  
leistrThe Legal Entity Identifier (LEI) assigned to the company  
cikstrThe Central Index Key (CIK) assigned to the company  
object
NewsTopic

Properties

NameTypeDescription
namestrThe description of the topic.