Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=VLO&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=VLO&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=VLO&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "VLO",
"central_index_key": "0001035002",
"registrant_name": "VALERO ENERGY CORP/TX",
"average_price_target": 429.75,
"highest_price_target": 496.0,
"lowest_price_target": 276.0,
"buy_recommendations": 8,
"sell_recommendations": 0,
"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
VALERO ENERGY CORP/TX
NYSE: VLO- Market Cap:$41.80B
- ISIN:US91913Y1001
- Fiscal Year End:12/31
- CEO:Lane Riggs
- Employees:9922
Valero Energy Corporation is an American-based fuels producer mostly involved in manufacturing and marketing transportation fuels and other related products. It is headquartered in San Antonio, Texas, United States. Throughout the United States, Canada, and the United Kingdom, the company owns and operates 14 refineries with a combined throughput capacity of approximately 3.2 million barrels per day, two renewable diesel plants that produce approximately 1.2 billion gallons per year, and 12 ethanol plants with a combined production capacity of 1.6 billion gallons as its subsidiaries.