Analyst Ratings
All ratings
Get all ratings along with target prices, firm names and dates of the research publication
GET
/
analysis-ratings
/
history
Copy
curl --request GET \
--url https://openapi.ainvest.com/open/analysis-ratings/history \
--header 'Authorization: Bearer <token>'
Copy
"data": {
"data": [
{
"date": "2025-06-26",
"firm": "JP Morgan",
"action": "Maintained",
"rating_previous": null,
"rating": "Overweight",
"target_price_previous": 240.0,
"price_target": 230.0
},
{
"date": "2025-06-10",
"firm": "Needham",
"action": "Maintained",
"rating_previous": null,
"rating": "Hold",
"target_price_previous": null,
"price_target": null
},
{
"date": "2025-06-10",
"firm": "B of A Securities",
"action": "Maintained",
"rating_previous": null,
"rating": "Buy",
"target_price_previous": null,
"price_target": 235.0
}
]
}
Copy
"data": {
"data": [
{
"date": "2025-06-26",
"firm": "JP Morgan",
"action": "Maintained",
"rating_previous": null,
"rating": "Overweight",
"target_price_previous": 240.0,
"price_target": 230.0
},
{
"date": "2025-06-10",
"firm": "Needham",
"action": "Maintained",
"rating_previous": null,
"rating": "Hold",
"target_price_previous": null,
"price_target": null
},
{
"date": "2025-06-10",
"firm": "B of A Securities",
"action": "Maintained",
"rating_previous": null,
"rating": "Buy",
"target_price_previous": null,
"price_target": 235.0
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your key. Get the key here
Query Parameters
US stock market ticker symbol, e.g. AAPL, TSLA, etc.
Response
200
application/json
Successful response in standard envelope
The response is of type object
.
Copy
curl --request GET \
--url https://openapi.ainvest.com/open/analysis-ratings/history \
--header 'Authorization: Bearer <token>'
Copy
"data": {
"data": [
{
"date": "2025-06-26",
"firm": "JP Morgan",
"action": "Maintained",
"rating_previous": null,
"rating": "Overweight",
"target_price_previous": 240.0,
"price_target": 230.0
},
{
"date": "2025-06-10",
"firm": "Needham",
"action": "Maintained",
"rating_previous": null,
"rating": "Hold",
"target_price_previous": null,
"price_target": null
},
{
"date": "2025-06-10",
"firm": "B of A Securities",
"action": "Maintained",
"rating_previous": null,
"rating": "Buy",
"target_price_previous": null,
"price_target": 235.0
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.