Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=CASY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CASY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=CASY&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "CASY",
"central_index_key": "0000726958",
"registrant_name": "CASEYS GENERAL STORES INC",
"average_price_target": 788.85,
"highest_price_target": 933.0,
"lowest_price_target": 687.0,
"buy_recommendations": 11,
"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
CASEYS GENERAL STORES INC
NASDAQ: CASY- Market Cap:$19.10B
- ISIN:US1475281036
- Fiscal Year End:04/30
- CEO:Darren Rebelez
- Employees:2026
Casey's General Stores, Inc. (doing business as Casey's) is a chain of convenience stores that operates in the Midwestern and Southern United States. With 2,950 locations, it is the third-largest chain in the country, after 7-Eleven and Alimentation Couche-Tard, and the largest that is American-owned. Casey's is the fifth largest pizza chain in the U.S. based on sales. Most of its stores are in towns with under 20,000 inhabitants.