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.0.tar.gz (2.8 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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sec_edgar_insider-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 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.0.tar.gz
Algorithm Hash digest
SHA256 46c1d6798469c0537c583c1c0ebae0c5d49eefba50056a4b65d91649fe20bd12
MD5 47e625c1077c8cf69ae9b1c8fb422a27
BLAKE2b-256 d0bb0d25b0361f5fc4569bdc9cfa277bd1839dfcc668caf92246256ab70fae7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sec_edgar_insider-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7acb4ed4561a18364f45e0f173f84cadd16680b2d6d329d04f3127d68e3924c7
MD5 fb84db060f9864474093f46eee07c65f
BLAKE2b-256 33dd1348fbdba7ecc7f55c657d2f83cf659670aa66e7595876563d91096edec2

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