Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=CMI&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CMI&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CMI&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "CMI",
"central_index_key": "0000026172",
"registrant_name": "CUMMINS INC",
"average_price_target": 723.36,
"highest_price_target": 781.0,
"lowest_price_target": 600.0,
"buy_recommendations": 8,
"sell_recommendations": 0,
"hold_recommendations": 2
},
...
]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
CUMMINS INC
NYSE: CMI- Market Cap:$45.10B
- ISIN:US2310211063
- Fiscal Year End:12/31
- CEO:Jennifer Rumsey
- Employees:67400
Cummins Inc. is an American multinational corporation that designs, manufactures, and distributes diesel engines, electric vehicle components, and power generation products. Cummins also services engines and related equipment, including fuel systems, air handling systems controls, filtration, emission control, electrical power generation systems, and engine control units.