Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=BMY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=BMY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=BMY&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "BMY",
"central_index_key": "0000014272",
"registrant_name": "BRISTOL MYERS SQUIBB CO",
"average_price_target": 66.6,
"highest_price_target": 82.0,
"lowest_price_target": 41.0,
"buy_recommendations": 9,
"sell_recommendations": 1,
"hold_recommendations": 11
},
...
]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
BRISTOL MYERS SQUIBB CO
NYSE: BMY- Market Cap:$94.19B
- ISIN:US1101221083
- Fiscal Year End:12/31
- CEO:Chris Boerner
- Employees:32500
Bristol-Myers Squibb Company, doing business as Bristol Myers Squibb, is an American multinational pharmaceutical company headquartered in Princeton, New Jersey. The company's primary products are apixaban (Eliquis) for people with atrial fibrillation (30% of 2025 revenues); nivolumab (Opdivo), used to treat certain types of cancer (21% of 2025 revenues); lenalidomide (Revlimid), used to treat multiple myeloma, smoldering myeloma, and myelodysplastic syndromes (6% of 2025 revenues); abatacept (Orencia), used to treat autoimmune diseases such as rheumatoid arthritis (8% of 2025 revenues); pomalidomide (Pomalyst/Imnovid), an anti-cancer medication used for the treatment of multiple myeloma and AIDS-related Kaposi sarcoma (6% of 2025 revenues); ipilimumab (Yervoy), to treat cancer (6% of 2025 revenues); and luspatercept (Reblozyl) for the treatment of anemia in beta thalassemia and myelodysplastic syndromes (5% of 2025 revenues). In 2025, 69% of the company's revenues came from the United States.