Code Snippets
curl "https://financialdata.net/api/v1/senate-trading?identifier=ETR&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/senate-trading?identifier=ETR&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/senate-trading?identifier=ETR&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"name_of_reporting_person": "Patty Murray",
"type_of_reporting_person": "Senator",
"report_date": "2017-06-22",
"transaction_number": "28",
"transaction_type": "Sale (Full)",
"transaction_date": "2017-06-15",
"owner_type": "Spouse",
"trading_symbol": "ETR",
"asset_name": "Entergy Corporation",
"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
ENTERGY CORP /DE/
NYSE: ETR- Market Cap:$37.10B
- ISIN:US29364G1031
- Fiscal Year End:12/31
- CEO:Andrew "Drew" Marsh
- Employees:12177
Entergy Corporation is an American energy company engaged in electric power production and retail distribution operations in the Deep South of the United States. Entergy is headquartered in New Orleans, Louisiana, and generates and distributes electric power to three million customers in Arkansas, Louisiana, Mississippi and Texas. Entergy has approximately 24,000 megawatts of electric generating capacity, annual revenues of $11 billion and employs more than 12,000 people.