Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=WST&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=WST&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=WST&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "WST",
"central_index_key": "0000105770",
"registrant_name": "WEST PHARMACEUTICAL SERVICES INC",
"average_price_target": 417.43,
"highest_price_target": 440.0,
"lowest_price_target": 400.0,
"buy_recommendations": 8,
"sell_recommendations": 0,
"hold_recommendations": 0
},
...
]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
WEST PHARMACEUTICAL SERVICES INC
NYSE: WST- Market Cap:$15.70B
- ISIN:US9553061055
- Fiscal Year End:12/31
- CEO:Eric M. Green
- Employees:8200
West Pharmaceutical Services, Inc. is a designer and manufacturer of injectable pharmaceutical packaging and delivery systems. Founded in 1923 by Herman O. West and J.R. Wike of Philadelphia, the company is headquartered in Exton, Pennsylvania. In its early years of development, West produced rubber components for packaging injectable drugs, providing a sterile environment for the producers of penicillin and insulin.