Code Snippets
curl "https://financialdata.net/api/v1/senate-trading?identifier=NRG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/senate-trading?identifier=NRG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/senate-trading?identifier=NRG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"name_of_reporting_person": "John Boozman",
"type_of_reporting_person": "Senator",
"report_date": "2025-06-14",
"transaction_number": "6",
"transaction_type": "Sale (Partial)",
"transaction_date": "2025-05-20",
"owner_type": "Joint",
"trading_symbol": "NRG",
"asset_name": "NRG Energy",
"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
NRG ENERGY, INC.
NYSE: NRG- Market Cap:$26.64B
- ISIN:US6293775085
- Fiscal Year End:12/31
- CEO:Robert Gaudette
- Employees:15673
NRG Energy, Inc. is an American energy company, headquartered in Houston, Texas. It was formerly the wholesale arm of Northern States Power Company (NSP), which became Xcel Energy, but became independent in 2000. NRG Energy is involved in energy generation and retail electricity. Their portfolio includes natural gas generation, coal generation, oil generation, nuclear generation, wind generation, utility-scale generation, and distributed solar generation. NRG serves over 7 million retail customers in 24 US states including Texas, Connecticut, Delaware, Illinois, Maryland, Massachusetts, New Jersey, New York, Pennsylvania, Ohio; the District of Columbia, and eight provinces in Canada.