Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=NRG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=NRG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=NRG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "NRG",
"central_index_key": "0001013871",
"registrant_name": "NRG ENERGY, INC.",
"average_price_target": 197.17,
"highest_price_target": 221.0,
"lowest_price_target": 159.0,
"buy_recommendations": 9,
"sell_recommendations": 0,
"hold_recommendations": 2
},
...
]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
NRG ENERGY, INC.
NYSE: NRG- Market Cap:$26.64B
- ISIN:US6293775085
- Fiscal Year End:12/31
- CEO:Robert Gaudette
- Employees:15673
NRG Energy, Inc. is an American energy company, headquartered in Houston, Texas. It was formerly the wholesale arm of Northern States Power Company (NSP), which became Xcel Energy, but became independent in 2000. NRG Energy is involved in energy generation and retail electricity. Their portfolio includes natural gas generation, coal generation, oil generation, nuclear generation, wind generation, utility-scale generation, and distributed solar generation. NRG serves over 7 million retail customers in 24 US states including Texas, Connecticut, Delaware, Illinois, Maryland, Massachusetts, New Jersey, New York, Pennsylvania, Ohio; the District of Columbia, and eight provinces in Canada.