Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=MS&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MS&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MS&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "MS",
"central_index_key": "0000895421",
"registrant_name": "MORGAN STANLEY",
"average_price_target": 227.44,
"highest_price_target": 262.0,
"lowest_price_target": 195.0,
"buy_recommendations": 8,
"sell_recommendations": 0,
"hold_recommendations": 8
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
Analyst consensus represents the collective price targets and ratings from professional equity research analysts covering a publicly traded company. Aggregating the estimates gives a view of overall sentiment rather than relying on a single opinion. The API endpoint returns consensus metrics, including 12-month forward price targets as well as buy, hold, and sell recommendation counts.
Company Profile
MORGAN STANLEY
NYSE: MS- Market Cap:$217.97B
- ISIN:US6174464486
- Fiscal Year End:12/31
- CEO:Ted Pick
- Employees:83000
Morgan Stanley is an American multinational investment bank and financial services company. It is headquartered at 1585 Broadway in Midtown Manhattan, New York City, with offices in 42 countries, including offices in many financial centers worldwide. Morgan Stanley is one of the largest investment banks by revenue. It is ranked 39th on the Fortune 500 and 21st on the Forbes Global 2000. It is considered a systemically important financial institution by the Financial Stability Board.