Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=VTRS&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=VTRS&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=VTRS&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "VTRS",
"central_index_key": "0001792044",
"registrant_name": "Viatris Inc",
"average_price_target": 20.0,
"highest_price_target": 26.0,
"lowest_price_target": 13.0,
"buy_recommendations": 5,
"sell_recommendations": 1,
"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
Viatris Inc
NASDAQ: VTRS- Market Cap:$10.38B
- ISIN:US92556V1061
- Fiscal Year End:12/31
- CEO:Scott A. Smith
- Employees:32000
Viatris Inc. is an American global pharmaceutical and healthcare corporation headquartered in Canonsburg, Pennsylvania. The corporation was formed through the merger of Mylan and Upjohn, a legacy division of Pfizer, on November 16, 2020.
VTRS Datasets
VTRS Stock QuotesVTRS Stock PricesVTRS Minute PricesVTRS Company InformationVTRS Key MetricsVTRS Market CapVTRS Employee CountVTRS Executive CompensationVTRS Income StatementsVTRS Balance Sheet StatementsVTRS Cash Flow StatementsVTRS Insider TransactionsVTRS Senate TradingVTRS Institutional HoldingsVTRS Earnings ReleasesVTRS Stock SplitsVTRS DividendsVTRS Short Interest