Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=BAC&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=BAC&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=BAC&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "BAC",
"central_index_key": "0000070858",
"registrant_name": "BANK OF AMERICA CORP /DE/",
"average_price_target": 65.87,
"highest_price_target": 75.0,
"lowest_price_target": 60.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
BANK OF AMERICA CORP /DE/
NYSE: BAC- Market Cap:$351.90B
- ISIN:US0605051046
- Fiscal Year End:12/31
- Employees:209000
The Bank of America Corporation (Bank of America; often abbreviated BAC, BofA, or, less commonly, BOA) is an American multinational bank and financial services holding company headquartered at the Bank of America Corporate Center in Charlotte, North Carolina, with investment banking and auxiliary headquarters in Manhattan. The bank was formed by the merger of NationsBank and the legacy corporation of Bank of America in 1998. It is the second-largest banking institution in the United States by consolidated assets, after JPMorgan Chase. It is also the second-largest bank in the world by market capitalization, after JPMorgan Chase.