Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=A&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=A&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=A&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "A",
"central_index_key": "0001090872",
"registrant_name": "AGILENT TECHNOLOGIES, INC.",
"fiscal_year": "2025",
"period_end_date": "2025-10-31",
"earnings_per_share": 4.59,
"earnings_per_share_forecast": 6.2,
"price_to_earnings_ratio": 31.8867102396514,
"forward_price_to_earnings_ratio": 23.6064516129032,
"earnings_growth_rate": 3.37837837837838,
"price_earnings_to_growth_ratio": 9.43846623093682,
"book_value_per_share": 23.7359154929577,
"price_to_book_ratio": 6.16618305889334,
"ebitda": 2021000000.0,
"enterprise_value": 43131240000.0,
"dividend_yield": 0.00678435191636289,
"dividend_payout_ratio": 0.216423637759018,
"debt_to_equity_ratio": 0.497552291944815,
"capital_expenditures": 533000000.0,
"free_cash_flow": 1026000000.0,
"return_on_equity": 0.193294763388221,
"one_year_beta": 1.00836462061748,
"three_year_beta": 0.987909308094963,
"five_year_beta": 1.01618196047755
},
...
]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
AGILENT TECHNOLOGIES, INC.
NYSE: A- Market Cap:$26.60B
- ISIN:US00846U1016
- Fiscal Year End:10/31
- CEO:Padraig McDonnell
- Employees:18100
Agilent Technologies, Inc. is an American global company headquartered in Santa Clara, California, that provides instruments, software, services, and consumables for laboratories. Agilent was established in 1999 as a spin-off from Hewlett-Packard. The resulting initial public offering of Agilent stock was the largest in the history of Silicon Valley at the time.
A Datasets
A Stock QuotesA Stock PricesA Minute PricesA Company InformationA Market CapA Employee CountA Executive CompensationA Income StatementsA Balance Sheet StatementsA Cash Flow StatementsA Insider TransactionsA Senate TradingA Institutional HoldingsA Analyst ConsensusA Earnings ReleasesA Stock SplitsA DividendsA Short Interest