Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=HPE&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=HPE&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=HPE&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HPE",
"central_index_key": "0001645590",
"registrant_name": "Hewlett Packard Enterprise Co",
"average_price_target": 73.59,
"highest_price_target": 92.0,
"lowest_price_target": 62.0,
"buy_recommendations": 10,
"sell_recommendations": 0,
"hold_recommendations": 8
},
...
]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
Hewlett Packard Enterprise Co
NYSE: HPE- Market Cap:$21.18B
- ISIN:US42824C1099
- Fiscal Year End:10/31
- CEO:Antonio Neri
- Employees:67000
The Hewlett Packard Enterprise Company (HPE) is an American multinational information technology company based in Spring, Texas. It is a business-focused organization which works in servers, storage, networking, AI, containerization software and consulting and support. HPE was ranked No. 107 in the 2018 Fortune 500 list of the largest United States corporations by total revenue.