Code Snippets
curl "https://financialdata.net/api/v1/senate-trading?identifier=AES&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/senate-trading?identifier=AES&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/senate-trading?identifier=AES&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"name_of_reporting_person": "Thomas R Carper",
"type_of_reporting_person": "Senator",
"report_date": "2024-02-02",
"transaction_number": "12",
"transaction_type": "Purchase",
"transaction_date": "2024-01-17",
"owner_type": "Spouse",
"trading_symbol": "AES",
"asset_name": "The Aes Corp",
"asset_type": "Stock",
"amount": "$1,001 - $15,000",
"comment": null
},
...
]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., 100) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
Members of the United States Senate are required to disclose any purchase, sale, or exchange of a stock, bond, commodity future, or other security when the transaction exceeds $1,000. The API endpoint provides detailed data about each of the transactions made. There is a limit of 100 records per API call.
Company Profile
AES CORP
NYSE: AES- Market Cap:$7.49B
- ISIN:US00130H1059
- Fiscal Year End:12/31
- CEO:Andres Gluski
- Employees:8336
The AES Corporation is an American utility and power generation company. It owns and operates power plants, which it uses to generate and sell electricity to end users and intermediaries like utilities and industrial facilities. AES, headquartered in Arlington, Virginia, is one of the world's leading power companies, generating and distributing electric power in 15 countries and employing 10,500 people worldwide. AES Corporation is a global Fortune 500 power company.