Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=DUK&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=DUK&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=DUK&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "DUK",
"central_index_key": "0001326160",
"registrant_name": "Duke Energy CORP",
"average_price_target": 135.57,
"highest_price_target": 146.0,
"lowest_price_target": 124.0,
"buy_recommendations": 8,
"sell_recommendations": 0,
"hold_recommendations": 6
},
...
]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
Duke Energy CORP
NYSE: DUK- Market Cap:$91.70B
- ISIN:US26441C2044
- Fiscal Year End:12/31
- CEO:Harry Sideris
- Employees:27037
Duke Energy Corporation is an American electric power and natural gas holding company headquartered in Charlotte, North Carolina. The company serves over 7 million customers in the eastern United States. In 2024, it ranked as the 141st largest company in the United States, its highest-ever placement on the Fortune 500 list.
DUK Datasets
DUK Stock QuotesDUK Stock PricesDUK Minute PricesDUK Company InformationDUK Key MetricsDUK Market CapDUK Employee CountDUK Executive CompensationDUK Income StatementsDUK Balance Sheet StatementsDUK Cash Flow StatementsDUK Insider TransactionsDUK Senate TradingDUK Institutional HoldingsDUK Earnings ReleasesDUK Stock SplitsDUK DividendsDUK Short Interest