Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=HPQ&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=HPQ&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=HPQ&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HPQ",
"central_index_key": "0000047217",
"registrant_name": "HP INC",
"average_price_target": 26.85,
"highest_price_target": 34.0,
"lowest_price_target": 19.0,
"buy_recommendations": 1,
"sell_recommendations": 5,
"hold_recommendations": 7
},
...
]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
HP INC
NYSE: HPQ- Market Cap:$24.12B
- ISIN:US40434L1052
- Fiscal Year End:10/31
- CEO:Bruce D. Broussard
- Employees:55000
HP Inc. is an American multinational information technology company with its headquarters in Palo Alto, California, that develops personal computers (PCs), printers and other related supplies, as well as 3D printing services. It is the world's second-largest personal computer vendor by unit sales after Lenovo and ahead of Dell as of 2024.
HPQ Datasets
HPQ Stock QuotesHPQ Stock PricesHPQ Minute PricesHPQ Company InformationHPQ Key MetricsHPQ Market CapHPQ Employee CountHPQ Executive CompensationHPQ Income StatementsHPQ Balance Sheet StatementsHPQ Cash Flow StatementsHPQ Insider TransactionsHPQ Senate TradingHPQ Institutional HoldingsHPQ Earnings ReleasesHPQ Stock SplitsHPQ DividendsHPQ Short Interest