Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=COST&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=COST&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=COST&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "COST",
"central_index_key": "0000909832",
"registrant_name": "COSTCO WHOLESALE CORP /NEW",
"average_price_target": 1088.0,
"highest_price_target": 1315.0,
"lowest_price_target": 781.0,
"buy_recommendations": 18,
"sell_recommendations": 1,
"hold_recommendations": 6
},
...
]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
COSTCO WHOLESALE CORP /NEW
NASDAQ: COST- Market Cap:$451.60B
- ISIN:US22160K1051
- Fiscal Year End:08/30
- CEO:Ron Vachris
- Employees:341000
Costco Wholesale Corporation is an American multinational corporation that operates a chain of membership-only big-box warehouse club retail stores. As of 2025, Costco is the third-largest retailer in the world, and as of August 2024, the world's largest retailer of beef, poultry, organic produce, and wine, with just under a third of American consumers regularly shopping at Costco warehouses. As of 2026, Costco is ranked 12th on the Fortune 500 rankings of the largest United States corporations by total revenue.