Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=HD&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=HD&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=HD&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HD",
"central_index_key": "0000354950",
"registrant_name": "HOME DEPOT, INC.",
"average_price_target": 387.65,
"highest_price_target": 420.0,
"lowest_price_target": 310.0,
"buy_recommendations": 17,
"sell_recommendations": 0,
"hold_recommendations": 5
},
...
]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
HOME DEPOT, INC.
NYSE: HD- Market Cap:$371.80B
- ISIN:US4370761029
- Fiscal Year End:01/31
- CEO:Ted Decker
- Employees:470100
The Home Depot, Inc. is an American multinational home improvement retail corporation which sells tools, construction products, appliances, and services including fuel and transportation rentals. Home Depot is the largest home improvement retailer in the United States. In fiscal 2024, the company reported $159.5 billion in revenue and approximately 470,100 associates. The company is headquartered in Cobb County, Georgia, with an Atlanta mailing address.