Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=DHI&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=DHI&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=DHI&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "DHI",
"central_index_key": "0000882184",
"registrant_name": "HORTON D R INC /DE/",
"average_price_target": 155.58,
"highest_price_target": 206.0,
"lowest_price_target": 125.0,
"buy_recommendations": 3,
"sell_recommendations": 2,
"hold_recommendations": 9
},
...
]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
HORTON D R INC /DE/
NYSE: DHI- Market Cap:$39.00B
- ISIN:US23331A1097
- Fiscal Year End:09/30
DHI Datasets
DHI Stock QuotesDHI Stock PricesDHI Minute PricesDHI Company InformationDHI Key MetricsDHI Market CapDHI Employee CountDHI Executive CompensationDHI Income StatementsDHI Balance Sheet StatementsDHI Cash Flow StatementsDHI Insider TransactionsDHI Senate TradingDHI Institutional HoldingsDHI Earnings ReleasesDHI Stock SplitsDHI DividendsDHI Short Interest