Skip to main content

Python client for SEC EDGAR Insider Trading API — track Form 4 filings and insider buy/sell signals via RapidAPI

Project description

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

  1. Go to SEC Insider Trades API on RapidAPI
  2. Subscribe (free tier: 200 requests/month)
  3. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sec_edgar_insider-1.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sec_edgar_insider-1.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file sec_edgar_insider-1.0.1.tar.gz.

File metadata

  • Download URL: sec_edgar_insider-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for sec_edgar_insider-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1a0262f80f31c34b667be5e431013cc8da6b2a2dea2939ee132c698798e6834a
MD5 0e2d84092a446d8dd7378743137c82c9
BLAKE2b-256 300e9dd5b74042e7b1756eda6e0b19bb26f2927ac952627eae6b50808260d6c3

See more details on using hashes here.

File details

Details for the file sec_edgar_insider-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sec_edgar_insider-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d901b33ee1573a94a23747c45ff250966eb8babc381914e3feae1766a662686c
MD5 26b8d37baa7ea5452dabe7e28e82b0a1
BLAKE2b-256 94a276a8d3526b071fc04abf0cc0c8454c500ffdaaa35f7ea463b5569d17514a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page