Zacks Analyst Ratings

Zacks Analyst Ratings Java API Documentation

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

API Class:
ZacksApi
Instance Method:
getZacksAnalystRatings()

Stock Price Code Example

Use my API Key
import com.intrinio.api.*;
import com.intrinio.models.*;
import com.intrinio.invoker.*;
import com.intrinio.invoker.auth.*;
import org.threeten.bp.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth auth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
auth.setApiKey("YOUR_API_KEY");
defaultClient.setAllowRetries(true);
ZacksApi zacksApi = new ZacksApi();
String identifier = "AAPL";
LocalDate startDate = null;
LocalDate endDate = null;
BigDecimal meanGreater = null;
BigDecimal meanLess = null;
Integer strongBuysGreater = null;
Integer strongBuysLess = null;
Integer buysGreater = null;
Integer buysLess = null;
Integer holdsGreater = null;
Integer holdsLess = null;
Integer sellsGreater = null;
Integer sellsLess = null;
Integer strongSellsGreater = null;
Integer strongSellsLess = null;
Integer totalGreater = null;
Integer totalLess = null;
Integer pageSize = 100;
String nextPage = null;
ApiResponseZacksAnalystRatings result = zacksApi.getZacksAnalystRatings(identifier, startDate, endDate, meanGreater, meanLess, strongBuysGreater,
      strongBuysLess, buysGreater, buysLess, holdsGreater, holdsLess, sellsGreater, sellsLess, strongSellsGreater, strongSellsLess, totalGreater,
      totalLess, pageSize, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)[optional]  
startDateLocalDateLimit ratings to those on or after this date[optional]  
endDateLocalDateLimit ratings to those on or before this date[optional]  
meanGreaterBigDecimalReturn only records with a mean (average) higher than this value[optional]  
meanLessBigDecimalReturn only records with a mean (average) lower than this value[optional]  
strongBuysGreaterIntegerReturn only records with more than this many Strong Buy recommendations[optional]  
strongBuysLessIntegerReturn only records with fewer than this many Strong Buy recommendations[optional]  
buysGreaterIntegerReturn only records with more than this many Buy recommendations[optional]  
buysLessIntegerReturn only records with fewer than this many Buy recommendations[optional]  
holdsGreaterIntegerReturn only records with more than this many Hold recommendations[optional]  
holdsLessIntegerReturn only records with fewer than this many Hold recommendations[optional]  
sellsGreaterIntegerReturn only records with more than this many Sell recommendations[optional]  
sellsLessIntegerReturn only records with fewer than this many Sell recommendations[optional]  
strongSellsGreaterIntegerReturn only records with more than this many Strong Sell recommendations[optional]  
strongSellsLessIntegerReturn only records with fewer than this many Strong Sell recommendations[optional]  
totalGreaterIntegerReturn only records with more than this many recommendations, regardless of type[optional]  
totalLessIntegerReturn only records with fewer than this many recommendations, regardless of type[optional]  
pageSizeIntegerThe number of results to return[optional] [default to 100]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseZacksAnalystRatings

Properties

NameTypeDescription
analystRatingsList 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
ZacksAnalystRating

Properties

NameTypeDescription
idStringThe Intrinio ID for the record  
dateLocalDateThe date of the Zacks Analyst Rating.  
meanBigDecimalThe mean (average) weighing of analyst recommendations, from 1 (strong buy) to 5 (strong sell).  
strongBuysIntegerThe number of analysts recommending Strong Buy.  
buysIntegerThe number of analysts recommending Buy.  
holdsIntegerThe number of analysts recommending Hold.  
sellsIntegerThe number of analysts recommending Sell.  
strongSellsIntegerThe number of analysts recommending Strong Sell.  
totalIntegerThe total number of analyst recommendations.  
securitySecuritySummaryThe Security of the Zacks Analyst Rating  
object
SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
companyIdStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchangeMicStringThe security's exchange MIC  
stockExchangeIdStringThe 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  
compositeTickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
compositeFigiStringThe country-composite OpenFIGI identifier  
shareClassFigiStringThe global-composite OpenFIGI identifier  
primaryListingBooleanIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange