Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=GWW&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=GWW&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=GWW&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "GWW",
"central_index_key": "0000277135",
"registrant_name": "W.W. GRAINGER, INC.",
"average_price_target": 1329.25,
"highest_price_target": 1427.0,
"lowest_price_target": 1172.0,
"buy_recommendations": 3,
"sell_recommendations": 1,
"hold_recommendations": 6
},
...
]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
W.W. GRAINGER, INC.
NYSE: GWW- Market Cap:$41.05B
- ISIN:US3848021040
- Fiscal Year End:12/31
- CEO:D.G. Macpherson
- Employees:26000
W. W. Grainger, Inc. is an American Fortune 500 industrial supply company founded in 1927 in Chicago by the company's namesake William W. (Bill) Grainger. He founded the company to provide consumers with access to a consistent supply of motors. The company serves more than 4.5 million customers worldwide with offerings such as motors, lighting, material handling, fasteners, plumbing, tools, and safety supplies, along with inventory management services and technical support. Revenue is generally from business-to-business sales rather than retail sales. Grainger serves its customers through a network of approximately 331 branches, online channels (such as Grainger.com, KeepStock and eProcurement), and 34 distribution facilities. Their motto is "for the ones who get it done".