GET /v1/analysis/{symbol}/recommendations
Purpose: Retrieve analyst recommendations for a stock
Response Format: Object containing recommendations data
Parameter
Type
Required
Description
Example
symbol
string
✓
The stock ticker symbol
AAPL
Responses:
200 OK
Content-Type: application/json
Schema: RecommendationsResponse
Example (200):
{
"symbol" : " AAPL" ,
"recommendations" : [
{
"period" : " 0m" ,
"strongBuy" : 10 ,
"buy" : 20 ,
"hold" : 5 ,
"sell" : 0 ,
"strongSell" : 0
}
]
}
GET /v1/analysis/{symbol}/upgrades-downgrades
Purpose: Retrieve recent analyst upgrades and downgrades
Response Format: Object containing upgrades/downgrades list
Parameter
Type
Required
Description
Example
symbol
string
✓
The stock ticker symbol
AAPL
Responses:
GET /v1/analysis/{symbol}/price-targets
Purpose: Retrieve analyst price targets
Response Format: Object containing price target statistics
Parameter
Type
Required
Description
Example
symbol
string
✓
The stock ticker symbol
AAPL
Responses:
GET /v1/analysis/{symbol}/earnings-estimate
Purpose: Retrieve earnings estimates
Response Format: Object containing earnings estimates
Parameter
Type
Required
Description
Example
symbol
string
✓
The stock ticker symbol
AAPL
Responses:
GET /v1/analysis/{symbol}/revenue-estimate
Purpose: Retrieve revenue estimates
Response Format: Object containing revenue estimates
Parameter
Type
Required
Description
Example
symbol
string
✓
The stock ticker symbol
AAPL
Responses:
GET /v1/analysis/{symbol}/earnings-history
Purpose: Retrieve historical earnings data
Response Format: Object containing earnings history
Parameter
Type
Required
Description
Example
symbol
string
✓
The stock ticker symbol
AAPL
Responses:
RecommendationsResponse Schema
Field
Type
Description
Required
symbol
string
Stock symbol
✓
recommendations
RecommendationData[]
List of recommendations
✓
RecommendationData Schema
Field
Type
Description
Required
period
string
Time period (e.g., "0m", "-1m")
✓
strongBuy
int
Number of strong buy recommendations
buy
int
Number of buy recommendations
hold
int
Number of hold recommendations
sell
int
Number of sell recommendations
strongSell
int
Number of strong sell recommendations
UpgradesDowngradesResponse Schema
Field
Type
Description
Required
symbol
string
Stock symbol
✓
upgradesDowngrades
UpgradeDowngrade[]
List of action items
✓
Field
Type
Description
Required
firm
string
Analyst firm
✓
toGrade
string
New grade
fromGrade
string
Previous grade
action
string
Action (up, down, main, init)
date
datetime
Date of action
PriceTargetsResponse Schema
Field
Type
Description
Required
symbol
string
Stock symbol
✓
priceTargets
PriceTarget
Price targets
✓
Field
Type
Description
Required
current
float
Current price
mean
float
Mean target
median
float
Median target
low
float
Low target
high
float
High target
EarningsEstimateResponse Schema
Field
Type
Description
Required
symbol
string
Stock symbol
✓
earningsEstimate
EarningsEstimate
Estimate data
✓
Field
Type
Description
Required
estimates
object
Map of period -> Estimate
✓
RevenueEstimateResponse Schema
Field
Type
Description
Required
symbol
string
Stock symbol
✓
revenueEstimate
RevenueEstimate
Estimate data
✓
Field
Type
Description
Required
estimates
object
Map of period -> Estimate
✓
EarningsHistoryResponse Schema
Field
Type
Description
Required
symbol
string
Stock symbol
✓
earningsHistory
EarningsHistoryItem[]
History list
✓
EarningsHistoryItem Schema
Field
Type
Description
Required
date
datetime
Report date
✓
epsActual
float
Actual EPS
epsEstimate
float
Estimated EPS
surprise
float
EPS Surprise
surprisePercent
float
Surprise %