Skip to main content

Analyst Ratings

Retrieve analyst ratings, price targets, and investment recommendations for stocks.

GET/3.0/research/targets

Description

This endpoint returns analyst price targets, investment actions (Buy/Hold/Sell), and related metrics for stocks. It provides consensus views on stock valuations and includes details like EPS estimates, forward PE ratios, and expected dividends per share.

Request

Authentication

  • Type: Bearer Token
  • Required: Yes

Parameters

NameTypeRequiredDescriptionExample
cidintegerNoClient ID to filter ratings for specific client18
symbolstringNoStock symbol to filter ratings for specific companyUBL
research_idstringNoResearch ID507f1f77bcf86cd799439031

Response

Success Response (200)

{
"status": "ok",
"message": "",
"data": [
{
"id": "507f1f77bcf86cd799439021",
"ref": "507f1f77bcf86cd799439011",
"cid": 18,
"uid": 1001,
"rid": "507f1f77bcf86cd799439031",
"sym": "UBL",
"sc": "BANK",
"sn": "Commercial Banks",
"eps": 25.50,
"epsp": "2024-12-31",
"tgt": 450.00,
"tgtp": "2025-06-30",
"pos": "Overweight",
"fpe": 12.50,
"edps": 15.00,
"act": "Buy",
"crt": "2024-11-15T10:30:00+05:00",
"mod": "2024-12-08T14:22:00+05:00"
}
]
}

Response Fields

FieldTypeDescription
idstringUnique target/rating ID
refstringReference ID (analyst ID or research ID)
cidintegerClient ID
uidintegerUser ID (analyst user ID)
ridstringResearch report ID this rating is based on
symstringStock symbol
scstringSector code
snstringSector name
epsfloatEstimated Earnings Per Share
epspstringEPS period (YYYY-MM-DD)
tgtfloatPrice target value
tgtpstringTarget price period (YYYY-MM-DD)
posstringPosition recommendation (Overweight, Equal-weight, Underweight)
fpefloatForward Price-to-Earnings ratio
edpsfloatExpected Dividend Per Share
actstringInvestment action (Buy, Hold, Sell)
crtstring (ISO 8601)Record creation timestamp
modstring (ISO 8601)Record last modified timestamp

Error Responses

For detailed Common Error responses, see the Error Handling.

Examples

Get All Analyst Ratings

curl -X GET "https://csapis.com/3.0/research/targets" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases

  • Investment Decision Support: Use analyst ratings and targets to inform buy/hold/sell decisions
  • Valuation Analysis: Compare analyst price targets with current market price
  • Earnings Tracking: Monitor consensus EPS estimates and forecast updates
  • Consensus Building: Track analyst sentiment across different experts
  • Portfolio Management: Identify stocks with positive/negative analyst coverage
  • Research Attribution: Understand which analysts are covering specific stocks