Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=PWR&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PWR&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PWR&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "PWR",
"central_index_key": "0001050915",
"registrant_name": "QUANTA SERVICES, INC.",
"average_price_target": 800.07,
"highest_price_target": 945.0,
"lowest_price_target": 684.0,
"buy_recommendations": 13,
"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
QUANTA SERVICES, INC.
NYSE: PWR- Market Cap:$55.80B
- ISIN:US74762E1029
- Fiscal Year End:12/31
- CEO:Earl C. Austin Jr.
- Employees:62000
Quanta Services is a U.S. corporation that provides infrastructure services for the electric power, pipeline, industrial and communications industries. The company has grown organically since its founding, but it has also acquired over 200 companies in the electrical contracting and other construction industries. In the 2020s, it has been involved in the construction of data centers as a consequence of the rise of artificial intelligence and its need for electrical power.