Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=MSFT&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MSFT&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MSFT&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "MSFT",
"central_index_key": "0000789019",
"registrant_name": "MICROSOFT CORP",
"average_price_target": 591.14,
"highest_price_target": 725.0,
"lowest_price_target": 440.0,
"buy_recommendations": 34,
"sell_recommendations": 0,
"hold_recommendations": 1
},
...
]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
MICROSOFT CORP
NASDAQ: MSFT- Market Cap:$3.60T
- ISIN:US5949181045
- Fiscal Year End:06/30
- CEO:Satya Nadella
- Employees:223000
Microsoft Corporation is an American multinational technology company headquartered in Redmond, Washington. The company became influential in the rise of personal computers through software like Windows and has since expanded into areas such as Internet services, cloud computing, artificial intelligence, video gaming, and more. A Big Tech company, Microsoft is the largest software company by revenue, one of the most valuable public companies, and one of the most valuable brands globally.