Zacks Analyst Ratings for Security

Zacks Analyst Ratings for Security Java API Documentation

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

API Class:
SecurityApi
Instance Method:
getSecurityZacksAnalystRatings()

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);
SecurityApi securityApi = new SecurityApi();
String identifier = "AAPL";
String startDate = null;
String 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;
ApiResponseSecurityZacksAnalystRatings result = securityApi.getSecurityZacksAnalystRatings(identifier, startDate, endDate, meanGreater, meanLess,
      strongBuysGreater, strongBuysLess, buysGreater, buysLess, holdsGreater, holdsLess, sellsGreater, sellsLess, strongSellsGreater, strongSellsLess,
      totalGreater, totalLess, pageSize);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
startDateStringLimit ratings to those on or after this date[optional]  
endDateStringLimit 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]  


Return Type

object
ApiResponseSecurityZacksAnalystRatings

Properties

NameTypeDescription
analystRatingsList 
securitySecuritySummaryThe Security resolved from the given identifier  
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
ZacksAnalystRatingSummary

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.  
object
SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
companyIdStringThe Intrinio ID for the Company for which the Security is issued  
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