GET
/
analysis-ratings
/
history
curl --request GET \
  --url https://openapi.ainvest.com/open/analysis-ratings/history \
  --header 'Authorization: Bearer <token>'
"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
        }
    ]
}
"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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your key. Get the key here

Query Parameters

ticker
string
required

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.