Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=PEP&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PEP&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=PEP&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "PEP",
"central_index_key": "0000077476",
"registrant_name": "PEPSICO INC",
"average_price_target": 139.6,
"highest_price_target": 165.0,
"lowest_price_target": 126.0,
"buy_recommendations": 4,
"sell_recommendations": 0,
"hold_recommendations": 13
},
...
]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
PEPSICO INC
NASDAQ: PEP- Market Cap:$179.00B
- ISIN:US7134481081
- Fiscal Year End:12/26
- CEO:Ramón Laguarta
- Employees:318000
PepsiCo, Inc. is an American multinational food and beverage corporation headquartered in Harrison, New York, in the hamlet of Purchase. PepsiCo's business encompasses all aspects of the food and beverage market. It oversees the manufacturing, distribution, and marketing of its products. PepsiCo was formed in 1965 with the merger of the Pepsi-Cola Company and Frito-Lay, Inc., PepsiCo has since expanded from its namesake product Pepsi to a diversified range of food and beverage brands. Significant acquisitions include Tropicana Products in 1998, the Quaker Oats Company in 2001, which added the Gatorade brand to the Pepsi portfolio, and Pioneer Foods in 2020 for US$1.7 billion.