Code Snippets
curl "https://financialdata.net/api/v1/senate-trading?identifier=WEC&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/senate-trading?identifier=WEC&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/senate-trading?identifier=WEC&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"name_of_reporting_person": "Shelley M Capito",
"type_of_reporting_person": "Senator",
"report_date": "2022-06-12",
"transaction_number": "1",
"transaction_type": "Sale (Partial)",
"transaction_date": "2022-05-25",
"owner_type": "Spouse",
"trading_symbol": "WEC",
"asset_name": "WEC Energy Group, Inc. Common Stock",
"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
WEC ENERGY GROUP, INC.
NYSE: WEC- Market Cap:$33.50B
- ISIN:US92939U1060
- Fiscal Year End:12/31
- Employees:7017
WEC Energy Group is an American energy company based in Milwaukee, Wisconsin. It provides electricity and natural gas to 4.4 million customers across four states.
WEC Datasets
WEC Stock QuotesWEC Stock PricesWEC Minute PricesWEC Company InformationWEC Key MetricsWEC Market CapWEC Employee CountWEC Executive CompensationWEC Income StatementsWEC Balance Sheet StatementsWEC Cash Flow StatementsWEC Insider TransactionsWEC Institutional HoldingsWEC Analyst ConsensusWEC Earnings ReleasesWEC Stock SplitsWEC DividendsWEC Short Interest