Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=ALL&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=ALL&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=ALL&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "ALL",
"central_index_key": "0000899051",
"registrant_name": "ALLSTATE CORP",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 38.56,
"earnings_per_share_forecast": 35.83,
"price_to_earnings_ratio": 5.39808091286307,
"forward_price_to_earnings_ratio": 5.80937761652247,
"earnings_growth_rate": 123.925667828107,
"price_earnings_to_growth_ratio": 0.0435590221740872,
"book_value_per_share": 116.043247344461,
"price_to_book_ratio": 1.79372781065089,
"ebitda": 12914000000.0,
"enterprise_value": 62230340000.0,
"dividend_yield": null,
"dividend_payout_ratio": null,
"debt_to_equity_ratio": 0.26265926167919,
"capital_expenditures": 440000000.0,
"free_cash_flow": 9670000000.0,
"return_on_equity": 0.335903299575302,
"one_year_beta": 0.468882589778314,
"three_year_beta": 0.467420354672942,
"five_year_beta": 0.533208833526479
},
...
]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
ALLSTATE CORP
NYSE: ALL- Market Cap:$52.83B
- ISIN:US0200021014
- Fiscal Year End:12/31
- CEO:Thomas J. Wilson
- Employees:55000
The Allstate Corporation is an American insurance company, headquartered in Glenview, Illinois (with a Northbrook, Illinois address) since 2022. Founded in 1931 as part of Sears, Roebuck and Co., it was spun off in 1993, but was still partially owned by Sears until it became an independent company completely in June 1995. The company also has personal line insurance operations in Canada.
ALL Datasets
ALL Stock QuotesALL Stock PricesALL Minute PricesALL Company InformationALL Market CapALL Employee CountALL Executive CompensationALL Income StatementsALL Balance Sheet StatementsALL Cash Flow StatementsALL Insider TransactionsALL Senate TradingALL Institutional HoldingsALL Analyst ConsensusALL Earnings ReleasesALL Stock SplitsALL DividendsALL Short Interest