Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=TFC&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=TFC&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=TFC&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "TFC",
"central_index_key": "0000092230",
"registrant_name": "TRUIST FINANCIAL CORP",
"average_price_target": 54.91,
"highest_price_target": 61.0,
"lowest_price_target": 50.0,
"buy_recommendations": 6,
"sell_recommendations": 2,
"hold_recommendations": 8
},
...
]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
TRUIST FINANCIAL CORP
NYSE: TFC- Market Cap:$55.40B
- ISIN:US89832Q1094
- Fiscal Year End:12/31
- CEO:William H. Rogers Jr.
- Employees:38335
Truist Financial Corporation (/ˈtruːɪst/) is an American bank holding company headquartered in Charlotte, North Carolina. The company was formed in December 2019 as the result of the merger of BB&T (Branch Banking and Trust Company) and SunTrust. Its bank operates 1,928 branches in 15 states and Washington, D.C., offering consumer, commercial, and investment banking, securities brokerage, asset management, mortgage, and insurance products and services. It is the tenth-largest bank in the United States, with $523 billion in assets.