Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=WSM&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=WSM&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=WSM&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "WSM",
"central_index_key": "0000719955",
"registrant_name": "WILLIAMS SONOMA INC",
"average_price_target": 253.69,
"highest_price_target": 280.0,
"lowest_price_target": 190.0,
"buy_recommendations": 9,
"sell_recommendations": 0,
"hold_recommendations": 7
},
...
]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
WILLIAMS SONOMA INC
NYSE: WSM- Market Cap:$22.61B
- ISIN:US9699041011
- Fiscal Year End:01/31
- CEO:Laura Alber
- Employees:19600
Williams-Sonoma, Inc., is an American publicly traded consumer retail company that sells kitchenware and home furnishings. It is headquartered in San Francisco, California, United States. The company has 625 brick and mortar stores and distributes to more than 60 countries, with brands including Williams Sonoma, Williams Sonoma Home, Pottery Barn, Pottery Barn Kids, PBteen, West Elm, Mark and Graham, Dormify, and Rejuvenation. Williams-Sonoma, Inc., also operates through eight corresponding websites and a gift registry.