SEC Filings API

SEC EDGAR filings
with Form 4 insider transaction parsing

Search 10-K, 10-Q, 8-K filings by ticker. Parse Form 4 XML into structured buy/sell data — insider name, shares, price, direction. No XML parsing on your end.

pip install trawl-sdk
from trawl import TrawlClient

client = TrawlClient()

# Search SEC filings for any ticker
filings = client.filings.search(ticker="TSLA", form_type="10-K")
for f in filings["results"]:
    print(f"{f['form_type']} — {f['filed_date']}: {f['description']}")

# NEW: Parse Form 4 insider transactions (buy/sell/gift)
form4 = client.filings.form4("TSLA", date_after="2024-01-01")
for filing in form4["filings"]:
    for owner in filing["owners"]:
        print(f"Insider: {owner['name']} ({owner['officer_title']})")
    for tx in filing["transactions"]:
        direction = tx["transaction_type"]  # "purchase", "sale", etc.
        print(f"  {direction}: {tx['shares']} shares @ ${tx['price_per_share']}")

Features

Search any ticker on SEC EDGAR
Filter by form type (10-K, 10-Q, 8-K, etc.)
Form 4 insider transaction parsing (buy/sell direction, shares, price)
Company name auto-resolved from CIK
Direct URLs to filings on SEC.gov
Date range filtering for backtesting
Combine with earnings calls, sentiment, and news in one API
Watch subscriptions — alert on new filings
Get your free API key

1,000 free requests/month. No credit card.