Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=JNJ&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=JNJ&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=JNJ&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "JNJ",
"central_index_key": "0000200406",
"registrant_name": "JOHNSON & JOHNSON",
"average_price_target": 286.47,
"highest_price_target": 320.0,
"lowest_price_target": 260.0,
"buy_recommendations": 14,
"sell_recommendations": 0,
"hold_recommendations": 5
},
...
]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
JOHNSON & JOHNSON
NYSE: JNJ- Market Cap:$367.00B
- ISIN:US4781601046
- Fiscal Year End:01/03
- CEO:Joaquin Duato
- Employees:138200
Johnson & Johnson (J&J) is an American multinational pharmaceutical, biotechnology, and medical technologies corporation headquartered in New Brunswick, New Jersey. The company is ranked No. 42 on the 2026 Fortune 500 list of the largest United States corporations. In 2026, the company was ranked 43rd in the Forbes Global 2000. Along with Microsoft, Johnson & Johnson is one of only two U.S.-based companies that has a prime credit rating of AAA from S&P Global.