Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=PPL&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PPL&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PPL&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "PPL",
"central_index_key": "0000922224",
"registrant_name": "PPL Corp",
"average_price_target": 40.18,
"highest_price_target": 44.0,
"lowest_price_target": 35.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
PPL Corp
NYSE: PPL- Market Cap:$19.50B
- ISIN:US69351T1060
- Fiscal Year End:12/31
- Employees:6500
PPL Corporation is an energy company headquartered in Allentown, Pennsylvania in the Lehigh Valley region of eastern Pennsylvania. The company is publicly traded on the New York Stock Exchange as NYSE: PPL and is part of the S&P 500. As of 2022, the company had $7.9 billion in revenue, 6,500 employees, over $37 billion in assets, and serves 3.6 million customers.