Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=AIG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=AIG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=AIG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "AIG",
"central_index_key": "0000005272",
"registrant_name": "AMERICAN INTERNATIONAL GROUP, INC.",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 5.48,
"earnings_per_share_forecast": 8.07,
"price_to_earnings_ratio": 15.6113138686131,
"forward_price_to_earnings_ratio": 10.6009913258984,
"earnings_growth_rate": -350.228310502283,
"price_earnings_to_growth_ratio": -0.0445746771476698,
"book_value_per_share": 72.8430318563131,
"price_to_book_ratio": 1.1744431528983,
"ebitda": 7277000000.0,
"enterprise_value": 56188429059.6,
"dividend_yield": 0.0201893040748266,
"dividend_payout_ratio": 0.315245478036176,
"debt_to_equity_ratio": 0.223413306108559,
"capital_expenditures": 3708000000.0,
"free_cash_flow": -394000000.0,
"return_on_equity": 0.075257055348939,
"one_year_beta": 0.547442887197312,
"three_year_beta": 0.685344788806454,
"five_year_beta": 0.830477682615504
},
...
]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
AMERICAN INTERNATIONAL GROUP, INC.
NYSE: AIG- Market Cap:$47.91B
- ISIN:US0268747849
- Fiscal Year End:12/31
- CEO:Eric Andersen
- Employees:22100
American International Group, Inc. (AIG) is a global insurer headquartered in New York City, with operations in more than 200 countries and jurisdictions. Founded in 1919, the company primarily provides commercial and personal insurance products, including property and casualty insurance, liability coverage, accident and health insurance, and specialty insurance products. The company also provides risk management, multinational, and related insurance services to businesses and individuals.