Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=AJG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=AJG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=AJG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "AJG",
"central_index_key": "0000354190",
"registrant_name": "Arthur J. Gallagher & Co.",
"average_price_target": 281.0,
"highest_price_target": 307.0,
"lowest_price_target": 242.0,
"buy_recommendations": 12,
"sell_recommendations": 0,
"hold_recommendations": 4
},
...
]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
Arthur J. Gallagher & Co.
NYSE: AJG- Market Cap:$71.12B
- ISIN:US3635761097
- Fiscal Year End:12/31
- CEO:J. Patrick Gallagher, Jr.
- Employees:72000
Arthur J. Gallagher & Co. (Gallagher) is an American insurance brokerage and risk management services company based in Rolling Meadows, Illinois, a suburb of Chicago. The company provides insurance brokerage services (87% of 2025 revenues) and risk management services (13% of 2025 revenues), the latter of which primarily includes the processing of workers compensation and automobile insurance claims through the company's adjusters.