Code Snippets
curl "https://financialdata.net/api/v1/market-cap?identifier=TRV&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/market-cap?identifier=TRV&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/market-cap?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",
"market_cap": 59986121526.0,
"change_in_market_cap": 13815259007.0,
"percentage_change_in_market_cap": 29.9220292913411,
"shares_outstanding": 216237902,
"change_in_shares_outstanding": -10488680,
"percentage_change_in_shares_outstanding": -4.62613598611918
},
...
]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
Market capitalization, or market cap, is the total value of a company's outstanding common shares held by investors. Market cap is calculated by multiplying the market price per common share by the total number of common shares outstanding. Our API provides historical market cap data for a few thousand 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.