Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=CNP&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CNP&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CNP&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "CNP",
"central_index_key": "0001130310",
"registrant_name": "CENTERPOINT ENERGY INC",
"average_price_target": 43.87,
"highest_price_target": 49.0,
"lowest_price_target": 39.0,
"buy_recommendations": 7,
"sell_recommendations": 0,
"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
CENTERPOINT ENERGY INC
NYSE: CNP- Market Cap:$23.87B
- ISIN:US15189T1079
- Fiscal Year End:12/31
- CEO:Jason P. Wells
- Employees:8827
CenterPoint Energy, Inc. is an American utility company based in Houston, Texas, that provides electric and natural gas utility to customers in several markets in the American states of Indiana, Ohio, Minnesota, and Texas. Part of the Fortune 500, the company was formerly known as Reliant Energy, NorAm Energy, Houston Industries, and HL&P. The company is headquartered in the CenterPoint Energy Tower at 1111 Louisiana Street in Downtown Houston.