Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=VLO&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=VLO&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?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",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 7.57,
"earnings_per_share_forecast": 51.77,
"price_to_earnings_ratio": 21.5046235138705,
"forward_price_to_earnings_ratio": 3.14448522310218,
"earnings_growth_rate": -11.7715617715618,
"price_earnings_to_growth_ratio": -1.82682841335653,
"book_value_per_share": 76.7799352750809,
"price_to_book_ratio": 2.12021538461538,
"ebitda": 3666000000.0,
"enterprise_value": 54824110000.0,
"dividend_yield": null,
"dividend_payout_ratio": null,
"debt_to_equity_ratio": 0.388198103266596,
"capital_expenditures": -1634000000.0,
"free_cash_flow": 7460000000.0,
"return_on_equity": 0.0989673340358272,
"one_year_beta": 1.00349008615394,
"three_year_beta": 0.818806551805773,
"five_year_beta": 0.765097854999753
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security, or the central index key (CIK). The latter is assigned to the entity by the United States Securities and Exchange Commission. (e.g., MSFT, 0000789019) |
| 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 returns key financial metrics such as price-to-earnings ratio, price-to-book ratio, free cash flow, etc. This information is particularly important for value investors looking to identify undervalued stocks. Data is available for several thousand US and international companies.
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.