Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=MCK&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=MCK&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?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",
"fiscal_year": "2026",
"period_end_date": "2026-03-31",
"earnings_per_share": 38.55,
"earnings_per_share_forecast": 44.73,
"price_to_earnings_ratio": 22.4477302204929,
"forward_price_to_earnings_ratio": 19.3463000223564,
"earnings_growth_rate": 49.0719257540603,
"price_earnings_to_growth_ratio": 0.457445471632739,
"book_value_per_share": -17.5728155339806,
"price_to_book_ratio": -49.2442430939227,
"ebitda": 6507000000.0,
"enterprise_value": 110776496000.0,
"dividend_yield": 0.0036743224212876,
"dividend_payout_ratio": 0.0825283494330113,
"debt_to_equity_ratio": -3.58793738489871,
"capital_expenditures": 453000000.0,
"free_cash_flow": 5702000000.0,
"return_on_equity": -2.19244935543278,
"one_year_beta": 0.15853522298652,
"three_year_beta": 0.0971499232054648,
"five_year_beta": 0.274882839944437
},
...
]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
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".