Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=A&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=A&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=A&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "A",
"central_index_key": "0001090872",
"registrant_name": "AGILENT TECHNOLOGIES, INC.",
"average_price_target": 183.14,
"highest_price_target": 196.0,
"lowest_price_target": 150.0,
"buy_recommendations": 11,
"sell_recommendations": 0,
"hold_recommendations": 3
},
...
]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
AGILENT TECHNOLOGIES, INC.
NYSE: A- Market Cap:$26.60B
- ISIN:US00846U1016
- Fiscal Year End:10/31
- CEO:Padraig McDonnell
- Employees:18100
Agilent Technologies, Inc. is an American global company headquartered in Santa Clara, California, that provides instruments, software, services, and consumables for laboratories. Agilent was established in 1999 as a spin-off from Hewlett-Packard. The resulting initial public offering of Agilent stock was the largest in the history of Silicon Valley at the time.