Zacks Analyst Ratings Snapshot

Zacks Analyst Ratings Snapshot Ruby API Documentation

This database offers current and historical consensus analyst recommendation snapshots for over 5,000 US and Canadian listed companies.

API Class:
Intrinio::SecurityApi
Instance Method:
get_security_zacks_analyst_ratings_snapshot()

Stock Price Code Example

Use my API Key
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
config.allow_retries = true
end
security_api = Intrinio::SecurityApi.new
identifier = "AAPL"
opts = {
date: nil
}
result = security_api.get_security_zacks_analyst_ratings_snapshot(identifier, opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
dateStringLookup a historical snapshot on the given date[optional]  

Return Type

object
Intrinio::ApiResponseSecurityZacksAnalystRatingsSnapshot

Properties

NameTypeDescription
snapshotsArray 
securitySecuritySummaryThe Security resolved from the given identifier  
object
Intrinio::ZacksAnalystRatingSnapshot

Properties

NameTypeDescription
typeStringThe snapshot type, signifying the age of the ratings data from the snapshot date.  
snapshot_dateDateThe date of the snapshot, when data was recorded.  
rating_dateDateThe date of the latest rating for the snapshot timeframe. This is the effective date of the ratings data.  
meanFloatThe mean (average) weighing of analyst recommendations, from 1 (strong buy) to 5 (strong sell).  
percentileFloatThe percentile of the mean, derived by comparing to all securities rated by analysts as of the rating date, ranging 0.0 (strong buy) to 1.0 (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 analysts recommendations.  
object
Intrinio::SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
company_idStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchange_micStringThe security's exchange MIC  
stock_exchange_idStringThe exchange's Intrinio ID  
nameStringThe name of the Security  
codeStringA 2-3 digit code classifying the Security (reference)  
currencyStringThe currency in which the Security is traded on the exchange  
tickerStringThe common/local ticker of the Security  
composite_tickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
composite_figiStringThe country-composite OpenFIGI identifier  
share_class_figiStringThe global-composite OpenFIGI identifier  
primary_listingBOOLEANIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange