Zacks Analyst Ratings

Zacks Analyst Ratings R API Documentation

This database offers consensus analyst recommendations for over 5,000 US and Canadian listed companies.

API Class:
IntrinioSDK::ZacksApi
Instance Method:
get_zacks_analyst_ratings()

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
ZacksApi <- IntrinioSDK::ZacksApi$new(client)
# Optional params
opts <- list(
identifier = "AAPL",
start_date = NULL,
end_date = NULL,
mean_greater = NULL,
mean_less = NULL,
strong_buys_greater = NULL,
strong_buys_less = NULL,
buys_greater = NULL,
buys_less = NULL,
holds_greater = NULL,
holds_less = NULL,
sells_greater = NULL,
sells_less = NULL,
strong_sells_greater = NULL,
strong_sells_less = NULL,
total_greater = NULL,
total_less = NULL,
page_size = 100,
next_page = NULL
)
response <- ZacksApi$get_zacks_analyst_ratings(opts)
print(response)
print(response$content)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierCharacterA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)[optional]  
start_dateDateLimit ratings to those on or after this date[optional]  
end_dateDateLimit ratings to those on or before this date[optional]  
mean_greaterNumericReturn only records with a mean (average) higher than this value[optional]  
mean_lessNumericReturn only records with a mean (average) lower than this value[optional]  
strong_buys_greaterIntegerReturn only records with more than this many Strong Buy recommendations[optional]  
strong_buys_lessIntegerReturn only records with fewer than this many Strong Buy recommendations[optional]  
buys_greaterIntegerReturn only records with more than this many Buy recommendations[optional]  
buys_lessIntegerReturn only records with fewer than this many Buy recommendations[optional]  
holds_greaterIntegerReturn only records with more than this many Hold recommendations[optional]  
holds_lessIntegerReturn only records with fewer than this many Hold recommendations[optional]  
sells_greaterIntegerReturn only records with more than this many Sell recommendations[optional]  
sells_lessIntegerReturn only records with fewer than this many Sell recommendations[optional]  
strong_sells_greaterIntegerReturn only records with more than this many Strong Sell recommendations[optional]  
strong_sells_lessIntegerReturn only records with fewer than this many Strong Sell recommendations[optional]  
total_greaterIntegerReturn only records with more than this many recommendations, regardless of type[optional]  
total_lessIntegerReturn only records with fewer than this many recommendations, regardless of type[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
next_pageCharacterGets the next page of data from a previous API call[optional]  


Return Type

object
IntrinioSDK::ApiResponseZacksAnalystRatings

Properties

NameTypeDescription
analyst_ratingsList of ZacksAnalystRating 
analyst_ratings_data_frameData FrameData frame representation of analyst_ratings
next_pageCharacterThe token required to request the next page of the data. If null, no further results are available.  
object
IntrinioSDK::ZacksAnalystRating

Properties

NameTypeDescription
idCharacterThe Intrinio ID for the record  
dateDateThe date of the Zacks Analyst Rating.  
meanNumericThe mean (average) weighing of analyst recommendations, from 1 (strong buy) to 5 (strong sell).  
strong_buysIntegerThe number of analysts recommending Strong Buy.  
buysIntegerThe number of analysts recommending Buy.  
holdsIntegerThe number of analysts recommending Hold.  
sellsIntegerThe number of analysts recommending Sell.  
strong_sellsIntegerThe number of analysts recommending Strong Sell.  
totalIntegerThe total number of analyst recommendations.  
securitySecuritySummaryThe Security of the Zacks Analyst Rating  
object
IntrinioSDK::SecuritySummary

Properties

NameTypeDescription
idCharacterThe Intrinio ID for Security  
company_idCharacterThe Intrinio ID for the Company for which the Security is issued  
exchangeCharacterThe exchange's MIC  
exchange_micCharacterThe security's exchange MIC  
stock_exchange_idCharacterThe exchange's Intrinio ID  
nameCharacterThe name of the Security  
codeCharacterA 2-3 digit code classifying the Security (reference)  
currencyCharacterThe currency in which the Security is traded on the exchange  
tickerCharacterThe common/local ticker of the Security  
composite_tickerCharacterThe country-composite ticker of the Security  
figiCharacterThe OpenFIGI identifier  
composite_figiCharacterThe country-composite OpenFIGI identifier  
share_class_figiCharacterThe global-composite OpenFIGI identifier  
primary_listingLogicalIf TRUE, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange