Python example
Insider Filing Monitor
A monitoring pattern for research and compliance tools that need public insider filing metadata without maintaining a separate EDGAR parser.
GET /v1/sec/insider-trades?ticker=MSFT&limit=25
import os
import requests
API_HOST = "https://sec-event-intelligence.p.rapidapi.com"
HEADERS = {
"x-rapidapi-host": "sec-event-intelligence.p.rapidapi.com",
"x-rapidapi-key": os.environ["RAPIDAPI_KEY"],
}
params = {"ticker": "MSFT", "limit": 25}
response = requests.get(
f"{API_HOST}/v1/sec/insider-trades",
headers=HEADERS,
params=params,
timeout=20,
)
response.raise_for_status()
for filing in response.json()["data"]:
print(filing["ticker"], filing["form"], filing["filedAt"])
Implementation Steps
This example is designed for self-serve evaluation before a buyer subscribes or imports generated snippets from RapidAPI.
- Call the insider filings endpoint for each ticker your workflow tracks.
- Persist accession numbers that were already delivered.
- Show source filing metadata and keep interpretation in your own application.
Endpoints Used
The recipe stays inside the live SEC Event Intelligence product surface so it can be tested immediately.
GET /v1/sec/insider-tradesGET /v1/sec/company/{ticker}/filingsGET /v1/sec/forms/{accessionNo}/summary
Example FAQ
Does this classify buys and sells?
No. It returns public filing metadata and leaves interpretation to the caller.
Can callers scope insider filings to one issuer?
Yes. Use the ticker parameter to request recent Forms 3, 4, and 5 for one company.