Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=NI&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=NI&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=NI&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "NI",
"central_index_key": "0001111711",
"registrant_name": "NISOURCE INC.",
"average_price_target": 47.96,
"highest_price_target": 53.0,
"lowest_price_target": 43.0,
"buy_recommendations": 9,
"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
NISOURCE INC.
NYSE: NI- Market Cap:$18.97B
- ISIN:US65473P1057
- Fiscal Year End:12/31
- CEO:Lloyd Yates
- Employees:7687
NiSource Inc. is one of the largest fully regulated utility companies in the United States, serving approximately 3.5 million natural gas customers and 500,000 electric customers across six states through its local Columbia Gas and NIPSCO brands. The company, based in Merrillville, Indiana, has more than 8,000 employees. As of 2018, NiSource is the sole Indiana-based utility company.