Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=TRV&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=TRV&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=TRV&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "TRV",
"central_index_key": "0000086312",
"registrant_name": "TRAVELERS COMPANIES, INC.",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 27.83,
"earnings_per_share_forecast": 34.21,
"price_to_earnings_ratio": 10.4225655767158,
"forward_price_to_earnings_ratio": 8.47880736626717,
"earnings_growth_rate": 27.8952205882353,
"price_earnings_to_growth_ratio": 0.373632663837455,
"book_value_per_share": 146.71721677074,
"price_to_book_ratio": 1.97700042560953,
"ebitda": 8667000000.0,
"enterprise_value": null,
"dividend_yield": null,
"dividend_payout_ratio": null,
"debt_to_equity_ratio": null,
"capital_expenditures": null,
"free_cash_flow": null,
"return_on_equity": 0.191159481972396,
"one_year_beta": 0.43838510345816,
"three_year_beta": 0.471086562069882,
"five_year_beta": 0.5024244137501
},
...
]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
TRAVELERS COMPANIES, INC.
NYSE: TRV- Market Cap:$59.99B
- ISIN:US89417E1091
- Fiscal Year End:12/31
- CEO:Alan D. Schnitzer
- Employees:34000
The Travelers Companies, Inc., commonly known as Travelers, is an American multinational insurance company. It is the second-largest writer of U.S. commercial property and casualty insurance, and the sixth-largest writer of U.S. personal insurance through independent agents. Travelers is incorporated in Minnesota, with headquarters in New York City, and its largest office in Hartford, Connecticut. It has been a component of the Dow Jones Industrial Average since June 8, 2009.