Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=HD&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=HD&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=HD&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HD",
"central_index_key": "0000354950",
"registrant_name": "HOME DEPOT, INC.",
"fiscal_year": "2025",
"period_end_date": "2026-02-01",
"earnings_per_share": 14.26,
"earnings_per_share_forecast": null,
"price_to_earnings_ratio": 26.5161290322581,
"forward_price_to_earnings_ratio": null,
"earnings_growth_rate": -4.67914438502675,
"price_earnings_to_growth_ratio": -5.66687557603686,
"book_value_per_share": 12.9033232628399,
"price_to_book_ratio": 29.3040786701007,
"ebitda": 24930000000.0,
"enterprise_value": 428448160000.0,
"dividend_yield": null,
"dividend_payout_ratio": null,
"debt_to_equity_ratio": 4.24287832669945,
"capital_expenditures": 4833000000.0,
"free_cash_flow": 11492000000.0,
"return_on_equity": 1.1048154218372,
"one_year_beta": 0.628071599942657,
"three_year_beta": 0.73539541493789,
"five_year_beta": 0.830673057874443
},
...
]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
HOME DEPOT, INC.
NYSE: HD- Market Cap:$371.80B
- ISIN:US4370761029
- Fiscal Year End:01/31
- CEO:Ted Decker
- Employees:470100
The Home Depot, Inc. is an American multinational home improvement retail corporation which sells tools, construction products, appliances, and services including fuel and transportation rentals. Home Depot is the largest home improvement retailer in the United States. In fiscal 2024, the company reported $159.5 billion in revenue and approximately 470,100 associates. The company is headquartered in Cobb County, Georgia, with an Atlanta mailing address.