Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=PEG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PEG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PEG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "PEG",
"central_index_key": "0000788784",
"registrant_name": "PUBLIC SERVICE ENTERPRISE GROUP INC",
"average_price_target": 80.75,
"highest_price_target": 90.0,
"lowest_price_target": 72.5,
"buy_recommendations": 5,
"sell_recommendations": 0,
"hold_recommendations": 7
},
...
]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
PUBLIC SERVICE ENTERPRISE GROUP INC
NYSE: PEG- Market Cap:$41.91B
- ISIN:US7445731067
- Fiscal Year End:12/31
- CEO:Ralph LaRossa
- Employees:12945
The Public Service Enterprise Group, Inc. (PSEG) is a publicly traded energy company based in Newark, New Jersey, where it has been based since its founding. It was founded in 1985, with its roots tracing back to 1903.
PEG Datasets
PEG Stock QuotesPEG Stock PricesPEG Minute PricesPEG Company InformationPEG Key MetricsPEG Market CapPEG Employee CountPEG Executive CompensationPEG Income StatementsPEG Balance Sheet StatementsPEG Cash Flow StatementsPEG Insider TransactionsPEG Institutional HoldingsPEG Earnings ReleasesPEG Stock SplitsPEG DividendsPEG Short Interest