Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=MCK&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MCK&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MCK&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "MCK",
"central_index_key": "0000927653",
"registrant_name": "MCKESSON CORP",
"average_price_target": 988.29,
"highest_price_target": 1080.0,
"lowest_price_target": 845.0,
"buy_recommendations": 11,
"sell_recommendations": 0,
"hold_recommendations": 3
},
...
]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
MCKESSON CORP
NYSE: MCK- Market Cap:$95.30B
- ISIN:US58155Q1031
- Fiscal Year End:03/31
- CEO:Brian S. Tyler
- Employees:45000
McKesson Corporation is an American publicly traded company that distributes pharmaceuticals and provides health information technology, medical supplies, and health management tools. The company delivers a third of all pharmaceutical products used or consumed in North America and employs over 80,000 employees. With $308.9 billion in 2024 revenue, it is the ninth-largest company by revenue in the United States and the nation's largest health care company. The company is headquartered in Irving, Texas. It is a component of the S&P 500 and is listed on the New York Stock Exchange, where it is traded under the ticker symbol "MCK".