Code Snippets
curl "https://financialdata.net/api/v1/stock-prices?identifier=AIG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/stock-prices?identifier=AIG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/stock-prices?identifier=AIG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "AIG",
"date": "2026-10-14",
"open": 77.59,
"high": 77.82,
"low": 76.49,
"close": 77.43,
"volume": 2673920.0
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| offset | integer | (Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0. (e.g., 300) |
| 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 provides more than 10 years of daily historical stock prices and volumes. The data covers several thousand US and international companies. There is a limit of 300 records per API call.
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 an American multinational finance and insurance corporation with operations in more than 200 countries and jurisdictions. As of 2023, AIG employed 25,200 people. 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. AIG is the title sponsor of the AIG Women's Open golf tournament. In 2023, for the sixth consecutive year, DiversityInc named AIG among the Top 50 Companies for Diversity list.