Code Snippets
curl "https://financialdata.net/api/v1/senate-trading?identifier=GWW&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/senate-trading?identifier=GWW&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/senate-trading?identifier=GWW&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": "2025-02-13",
"transaction_number": "6",
"transaction_type": "Sale (Partial)",
"transaction_date": "2025-01-17",
"owner_type": "Spouse",
"trading_symbol": "GWW",
"asset_name": "W.W. Grainger",
"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
W.W. GRAINGER, INC.
NYSE: GWW- Market Cap:$41.05B
- ISIN:US3848021040
- Fiscal Year End:12/31
- CEO:D.G. Macpherson
- Employees:26000
W. W. Grainger, Inc. is an American Fortune 500 industrial supply company founded in 1927 in Chicago by the company's namesake William W. (Bill) Grainger. He founded the company to provide consumers with access to a consistent supply of motors. The company serves more than 4.5 million customers worldwide with offerings such as motors, lighting, material handling, fasteners, plumbing, tools, and safety supplies, along with inventory management services and technical support. Revenue is generally from business-to-business sales rather than retail sales. Grainger serves its customers through a network of approximately 331 branches, online channels (such as Grainger.com, KeepStock and eProcurement), and 34 distribution facilities. Their motto is "for the ones who get it done".