Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=C&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=C&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=C&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "C",
"central_index_key": "0000831001",
"registrant_name": "CITIGROUP INC",
"average_price_target": 152.86,
"highest_price_target": 165.0,
"lowest_price_target": 135.0,
"buy_recommendations": 13,
"sell_recommendations": 0,
"hold_recommendations": 3
},
...
]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
CITIGROUP INC
NYSE: C- Market Cap:$156.20B
- ISIN:US1729674242
- Fiscal Year End:12/31
- CEO:Jane Fraser
- Employees:229000
Citigroup Inc. or Citi (stylized as citi) is an American multinational investment bank and financial services company based in New York City. The company was formed in 1998 by the merger of Citicorp, the bank holding company for Citibank, and Travelers; Travelers was spun off from the company in 2002.
C Datasets
C Stock QuotesC Stock PricesC Minute PricesC Company InformationC Key MetricsC Market CapC Employee CountC Executive CompensationC Income StatementsC Balance Sheet StatementsC Cash Flow StatementsC Insider TransactionsC Senate TradingC Institutional HoldingsC Earnings ReleasesC Stock SplitsC DividendsC Short Interest