Skip to main content

Overview

AhamFlow processes SEC EDGAR Form 4 filings to provide insider trading data. This includes buys, sells, and option exercises by corporate officers, directors, and 10% owners.

Query Insider Trades

# All insider trades for AAPL in the last 30 days
curl -H "x-api-key: $KEY" \
  "https://api.ahamflow.dev/api/v1/edgar/insider-trades?ticker=AAPL&days=30"

# Only insider buys over $50k
curl -H "x-api-key: $KEY" \
  "https://api.ahamflow.dev/api/v1/edgar/insider-trades?ticker=AAPL&type=buy&min_value=50000"

# Filter by role
curl -H "x-api-key: $KEY" \
  "https://api.ahamflow.dev/api/v1/edgar/insider-trades?ticker=MSFT&role=officer"

Top Insider Activity

Screen for the largest insider trades across all tickers:
# Top buys over $100k in the last 7 days
curl -H "x-api-key: $KEY" \
  "https://api.ahamflow.dev/api/v1/edgar/insider-trades/top-buys?days=7&min_value=100000"

# Top sells
curl -H "x-api-key: $KEY" \
  "https://api.ahamflow.dev/api/v1/edgar/insider-trades/top-sells?days=7&min_value=100000"

Cross-Asset Signals

Combine insider trades with options flow and material events for a single ticker:
curl -H "x-api-key: $KEY" \
  "https://api.ahamflow.dev/api/v1/edgar/cross-signals?ticker=AAPL&days=30"
This returns insider trades, options screener data, and 8-K material events alongside a signal summary with net insider value.

Key Fields

FieldDescription
owner_nameName of the insider
owner_titleCorporate title
transaction_typeBuy, Sell, or Exercise
sharesNumber of shares transacted
pricePrice per share
total_valueTotal dollar value
shares_afterShares held after transaction
is_director / is_officerRole flags