Endpoint
https://api.llmquant.com/events/insider-trades
Parameters
Required
The stock ticker symbol (e.g. AAPL).
Optional
Maximum number of transactions to return.
Filter transactions on or after this date (YYYY-MM-DD).
Filter transactions on or before this date (YYYY-MM-DD).
Filter by transaction type. One of: buy, sell, grant, exercise.
Response
Array of InsiderTrade objects, sorted by transaction date descending.
Name of the insider (executive or director).
Title of the insider (e.g. CEO, Director, CFO).
Date of the transaction (YYYY-MM-DD).
One of: buy, sell, grant, exercise.
Number of shares in the transaction.
Price per share at transaction.
Total transaction value (shares × price).
Total shares owned by the insider after the transaction.
URL to the Form 4 filing on SEC EDGAR.
Date the Form 4 was filed (YYYY-MM-DD).
Code Examples
import requests
headers = {"X-API-KEY": "your_api_key_here"}
url = (
"https://api.llmquant.com/events/insider-trades"
"?ticker=AAPL"
"&transaction_type=sell"
"&limit=10"
)
response = requests.get(url, headers=headers)
trades = response.json().get("insider_trades")
for trade in trades:
print(f"{trade['filer_name']} ({trade['filer_title']}): sold {trade['shares']:,} shares at ${trade['price']}")