Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=UHS&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=UHS&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?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",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 23.42,
"earnings_per_share_forecast": 22.86,
"price_to_earnings_ratio": 9.30913748932536,
"forward_price_to_earnings_ratio": 9.53718285214348,
"earnings_growth_rate": 36.4801864801865,
"price_earnings_to_growth_ratio": 0.255183385490133,
"book_value_per_share": 114.433431371007,
"price_to_book_ratio": 1.90521246621674,
"ebitda": 2734472000.0,
"enterprise_value": 19224841620.0,
"dividend_yield": null,
"dividend_payout_ratio": null,
"debt_to_equity_ratio": 0.756028896922837,
"capital_expenditures": 1054615000.0,
"free_cash_flow": 809782000.0,
"return_on_equity": 0.204623221774344,
"one_year_beta": 0.647059709015899,
"three_year_beta": 0.680129495399656,
"five_year_beta": 0.816306996103801
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security, or the central index key (CIK). The latter is assigned to the entity by the United States Securities and Exchange Commission. (e.g., MSFT, 0000789019) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
The API endpoint returns key financial metrics such as price-to-earnings ratio, price-to-book ratio, free cash flow, etc. This information is particularly important for value investors looking to identify undervalued stocks. Data is available for several thousand US and international companies.
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 Market CapUHS Employee CountUHS Executive CompensationUHS Income StatementsUHS Balance Sheet StatementsUHS Cash Flow StatementsUHS Insider TransactionsUHS Senate TradingUHS Institutional HoldingsUHS Analyst ConsensusUHS Earnings ReleasesUHS Stock SplitsUHS DividendsUHS Short Interest