Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=XEL&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=XEL&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=XEL&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "XEL",
"central_index_key": "0000072903",
"registrant_name": "XCEL ENERGY INC",
"average_price_target": 90.0,
"highest_price_target": 99.0,
"lowest_price_target": 77.0,
"buy_recommendations": 11,
"sell_recommendations": 0,
"hold_recommendations": 1
},
...
]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
XCEL ENERGY INC
NASDAQ: XEL- Market Cap:$40.26B
- ISIN:US98389B1008
- Fiscal Year End:12/31
- CEO:Robert C. Frenzel
- Employees:11380
Xcel Energy Inc. is a U.S. regulated electric utility and natural gas delivery company based in Minneapolis, Minnesota, serving approximately 3.9 million electricity customers and 2.2 million natural gas customers across parts of eight states as of mid-2025. It consists of four operating subsidiaries: Northern States Power-Minnesota, Northern States Power-Wisconsin, Public Service Company of Colorado, and Southwestern Public Service Co.