cURL
curl --request POST \ --url https://api.bigdata.com/v1/fmp/analyst-ratings/query \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "identifier": { "type": "rp_entity_id", "value": "4A6F00" } }'
{ "results": [ { "rp_entity_id": "4A6F00", "target_identifier_id": "AAPL", "strong_buy": 123, "buy": 123, "hold": 123, "sell": 123, "strong_sell": 123, "consensus": "Strong Buy" } ], "errors": [ { "message": "<string>" } ], "pagination": { "cursor": "00000DexaRK4NT6t", "has_cursor": true }, "metadata": { "request_id": "<string>", "timestamp": "<string>" } }
Retrieves analyst ratings and recommendations for a given symbol, including buy/hold/sell counts, consensus rating, and price targets where available.
Successful Response
The response is of type object.
object
Was this page helpful?