Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=SWK&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=SWK&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=SWK&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "SWK",
"central_index_key": "0000093556",
"registrant_name": "STANLEY BLACK & DECKER, INC.",
"average_price_target": 99.33,
"highest_price_target": 107.0,
"lowest_price_target": 93.0,
"buy_recommendations": 1,
"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
STANLEY BLACK & DECKER, INC.
NYSE: SWK- Market Cap:$10.50B
- ISIN:US8545021011
- Fiscal Year End:01/02
- CEO:Don Allan
- Employees:48500
Stanley Black & Decker, Inc., formerly known as The Stanley Works, is an American manufacturer of industrial tools and household hardware, and a provider of security products. Headquartered in the Greater Hartford city of New Britain, Connecticut, Stanley Black & Decker is the result of the merger of The Stanley Works and Black & Decker on March 12, 2010.
SWK Datasets
SWK Stock QuotesSWK Stock PricesSWK Minute PricesSWK Company InformationSWK Key MetricsSWK Market CapSWK Employee CountSWK Executive CompensationSWK Income StatementsSWK Balance Sheet StatementsSWK Cash Flow StatementsSWK Insider TransactionsSWK Senate TradingSWK Institutional HoldingsSWK Earnings ReleasesSWK Stock SplitsSWK DividendsSWK Short Interest