Code Snippets
curl "https://financialdata.net/api/v1/minute-prices?identifier=VLO&date=2020-01-15&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/minute-prices?identifier=VLO&date=2020-01-15&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/minute-prices?identifier=VLO&date=2020-01-15&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "VLO",
"time": "2020-01-15 20:59:00",
"open": 92.265,
"high": 92.3,
"low": 92.225,
"close": 92.27,
"volume": 2209.0
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| date | string | The date in YYYY-MM-DD format. (e.g., 2020-01-15) |
| offset | integer | (Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0. (e.g., 300) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
The API endpoint provides more than 7 years of one-minute historical prices and volumes. The data is available for over 10,000 securities, including US stocks, international stocks, and exchange-traded funds. The timezone used for time values is UTC (Coordinated Universal Time). There is a limit of 300 records per API call.
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.