Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=UHS&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=UHS&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=UHS&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "UHS",
"central_index_key": "0000352915",
"registrant_name": "UNIVERSAL HEALTH SERVICES INC",
"average_price_target": 193.0,
"highest_price_target": 290.0,
"lowest_price_target": 166.0,
"buy_recommendations": 4,
"sell_recommendations": 1,
"hold_recommendations": 9
},
...
]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
UNIVERSAL HEALTH SERVICES INC
NYSE: UHS- Market Cap:$9.70B
- ISIN:US9139031002
- Fiscal Year End:12/31
- CEO:Marc D. Miller
- Employees:101500
Universal Health Services, Inc. (UHS) is an American Fortune 500 company that provides hospital and healthcare services, based in King of Prussia, Pennsylvania. In 2024, UHS reported total revenues of $15.8 billion.
UHS Datasets
UHS Stock QuotesUHS Stock PricesUHS Minute PricesUHS Company InformationUHS Key MetricsUHS Market CapUHS Employee CountUHS Executive CompensationUHS Income StatementsUHS Balance Sheet StatementsUHS Cash Flow StatementsUHS Insider TransactionsUHS Senate TradingUHS Institutional HoldingsUHS Earnings ReleasesUHS Stock SplitsUHS DividendsUHS Short Interest