Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=WDC&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=WDC&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?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",
"average_price_target": 667.4,
"highest_price_target": 900.0,
"lowest_price_target": 470.0,
"buy_recommendations": 12,
"sell_recommendations": 0,
"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
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 Key MetricsWDC Market CapWDC Employee CountWDC Executive CompensationWDC Income StatementsWDC Balance Sheet StatementsWDC Cash Flow StatementsWDC Insider TransactionsWDC Senate TradingWDC Institutional HoldingsWDC Earnings ReleasesWDC Stock SplitsWDC DividendsWDC Short Interest