Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=KO&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=KO&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=KO&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "KO",
"central_index_key": "0000021344",
"registrant_name": "COCA COLA CO",
"average_price_target": 96.76,
"highest_price_target": 104.0,
"lowest_price_target": 86.0,
"buy_recommendations": 16,
"sell_recommendations": 0,
"hold_recommendations": 2
},
...
]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
COCA COLA CO
NYSE: KO- Market Cap:$300.55B
- ISIN:US1912161007
- Fiscal Year End:12/31
- CEO:Henrique Braun
- Employees:65900
The Coca-Cola Company is an American multinational corporation founded in January 1892, headquartered in Atlanta, Georgia. It manufactures, sells and markets soft drinks including Coca-Cola, other non-alcoholic beverage concentrates and syrups, and alcoholic beverages. Its stock is listed on the New York Stock Exchange and is a component of the DJIA and the S&P 500 and S&P 100 indices.