SEC EDGAR Insider Trading API
Python client for the SEC EDGAR Insider Trading Alerts API on RapidAPI.
Track insider trades, Form 4 filings, and executive buy/sell signals in real-time from SEC EDGAR.
Install
pip install sec-edgar-insider
Quick Start
from sec_edgar_insider import SECEdgarClient
client = SECEdgarClient(api_key="YOUR_RAPIDAPI_KEY")
# Get recent insider trades
trades = client.get_recent_trades(days=7, limit=20)
# Get trades for a specific ticker
aapl_trades = client.get_trades_by_ticker("AAPL", days=30)
# Get full Form 4 filing details
filing = client.get_filing("0001234567-26-000123")
API Methods
get_recent_trades(days=3, limit=20, offset=0, ticker=None)
Get recent Form 4 insider trading filings.
get_trades_by_ticker(ticker, days=30, limit=50)
Get all insider trades for a specific company.
get_filing(accession)
Get full parsed Form 4 details for a specific filing.
Get Your API Key
- Go to SEC Insider Trades API on RapidAPI
- Subscribe (free tier: 200 requests/month)
- Copy your API key
Use Cases
- Quant Trading: Track insider buy/sell patterns as trading signals
- Compliance: Monitor executive trades for reporting requirements
- Research: Analyze insider trading patterns by sector or company
License
MIT
Metadata
Release files for sec-edgar-insider 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sec_edgar_insider-1.0.1.tar.gz | 2.9 kB | Without provenance | Details for sec_edgar_insider-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sec_edgar_insider-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for sec_edgar_insider-1.0.1-py3-none-any.whl |
Total release size: 6.0 kB
Release files / sec_edgar_insider-1.0.1.tar.gz
| Download URL | sec_edgar_insider-1.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a0262f80f31c34b667be5e431013cc8da6b2a2dea2939ee132c698798e6834a
|
|
BLAKE2b-256 checksum How to use checksums |
300e9dd5b74042e7b1756eda6e0b19bb26f2927ac952627eae6b50808260d6c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / sec_edgar_insider-1.0.1-py3-none-any.whl
| Download URL | sec_edgar_insider-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d901b33ee1573a94a23747c45ff250966eb8babc381914e3feae1766a662686c
|
|
BLAKE2b-256 checksum How to use checksums |
94a276a8d3526b071fc04abf0cc0c8454c500ffdaaa35f7ea463b5569d17514a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for sec-edgar-insider 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.