Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=CF&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CF&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CF&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "CF",
"central_index_key": "0001324404",
"registrant_name": "CF Industries Holdings, Inc.",
"average_price_target": 124.14,
"highest_price_target": 162.0,
"lowest_price_target": 106.0,
"buy_recommendations": 4,
"sell_recommendations": 2,
"hold_recommendations": 8
},
...
]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
CF Industries Holdings, Inc.
NYSE: CF- Market Cap:$14.80B
- ISIN:US1252691001
- Fiscal Year End:12/31
- CEO:Chris Bohn
- Employees:3016
CF Industries Holdings, Inc. is an American manufacturer and distributor of agricultural fertilizers, including ammonia, urea, and ammonium nitrate products. The company is based in Northbrook, Illinois, a suburb of Chicago, and was founded in 1946 as the Central Farmers Fertilizer Company. For its first 56 years, it was a federation of regional agricultural supply cooperatives. CF then demutualized, and became a publicly traded company.