Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=WSM&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=WSM&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=WSM&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "WSM",
"central_index_key": "0000719955",
"registrant_name": "WILLIAMS SONOMA INC",
"fiscal_year": "2025",
"period_end_date": "2026-02-01",
"earnings_per_share": 8.96,
"earnings_per_share_forecast": null,
"price_to_earnings_ratio": 23.8872767857143,
"forward_price_to_earnings_ratio": null,
"earnings_growth_rate": 0.561167227833903,
"price_earnings_to_growth_ratio": 42.5671272321422,
"book_value_per_share": 17.1480246364639,
"price_to_book_ratio": 12.4813209997892,
"ebitda": 1650190000.0,
"enterprise_value": null,
"dividend_yield": 0.0125723810804963,
"dividend_payout_ratio": 0.300242457762829,
"debt_to_equity_ratio": null,
"capital_expenditures": 292673000.0,
"free_cash_flow": 1022216000.0,
"return_on_equity": 0.522644016327989,
"one_year_beta": 1.39994595711701,
"three_year_beta": 1.35825671050631,
"five_year_beta": 1.37664493349985
},
...
]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
WILLIAMS SONOMA INC
NYSE: WSM- Market Cap:$22.61B
- ISIN:US9699041011
- Fiscal Year End:01/31
- CEO:Laura Alber
- Employees:19600
Williams-Sonoma, Inc., is an American publicly traded consumer retail company that sells kitchenware and home furnishings. It is headquartered in San Francisco, California, United States. The company has 625 brick and mortar stores and distributes to more than 60 countries, with brands including Williams Sonoma, Williams Sonoma Home, Pottery Barn, Pottery Barn Kids, PBteen, West Elm, Mark and Graham, Dormify, and Rejuvenation. Williams-Sonoma, Inc., also operates through eight corresponding websites and a gift registry.