Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=WDC&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=WDC&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=WDC&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "WDC",
"central_index_key": "0000106040",
"registrant_name": "WESTERN DIGITAL CORP",
"fiscal_year": "2026",
"period_end_date": "2026-07-03",
"earnings_per_share": 26.92,
"earnings_per_share_forecast": null,
"price_to_earnings_ratio": 20.0222882615156,
"forward_price_to_earnings_ratio": null,
"earnings_growth_rate": 406.967984934087,
"price_earnings_to_growth_ratio": 0.0491986814755427,
"book_value_per_share": 25.6927536231884,
"price_to_book_ratio": 20.9786777978339,
"ebitda": 10698000000.0,
"enterprise_value": 186480000000.0,
"dividend_yield": 0.000935710252480439,
"dividend_payout_ratio": 0.0184634974533107,
"debt_to_equity_ratio": 0.237364620938628,
"capital_expenditures": 508000000.0,
"free_cash_flow": 3421000000.0,
"return_on_equity": 1.06317689530686,
"one_year_beta": 2.94315140909655,
"three_year_beta": 1.90874973077698,
"five_year_beta": 1.63454688264236
},
...
]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
WESTERN DIGITAL CORP
NASDAQ: WDC- Market Cap:$47.69B
- ISIN:US9581021055
- Fiscal Year End:07/03
- CEO:Irving Tan
- Employees:40000
Western Digital Corporation, doing business as WD, is an American data storage company headquartered in San Jose, California. Established in 1970, the company is one of the world's largest manufacturers of hard disk drives (HDDs).
WDC Datasets
WDC Stock QuotesWDC Stock PricesWDC Minute PricesWDC Company InformationWDC Market CapWDC Employee CountWDC Executive CompensationWDC Income StatementsWDC Balance Sheet StatementsWDC Cash Flow StatementsWDC Insider TransactionsWDC Senate TradingWDC Institutional HoldingsWDC Analyst ConsensusWDC Earnings ReleasesWDC Stock SplitsWDC DividendsWDC Short Interest