Skip to main content

Insider Trading Data API

Corporate insiders — officers, directors, and beneficial owners of more than 10% of a company’s stock — must report their transactions to the SEC within two business days. Datastream parses Forms 3, 4, and 5 and exposes structured transaction data through a REST API.

What you get

  • Transaction details: Insider name, title, transaction type, shares, price, and value
  • Filtering: By ticker, insider name, transaction type (purchase/sale), and date range
  • Historical data: Form 4 transactions going back to 2004
  • Real-time updates: New filings indexed within minutes

Quick start

Get recent insider transactions for a company:
curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/insiders?ticker=AAPL&limit=5"
{
  "data": [
    {
      "transaction_date": "2024-12-10",
      "insider_name": "Tim Cook",
      "insider_title": "Chief Executive Officer",
      "transaction_type": "sale",
      "shares": 200000,
      "price": 248.50,
      "value": 49700000,
      "shares_held_after": 3278651
    }
  ]
}
Filter for insider purchases only:
curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/insiders?ticker=JPM&transaction_type=purchase&limit=10"

Use cases

Insider buying signals

Insider purchases are widely studied as a bullish signal. Insiders sell for many reasons (diversification, taxes, liquidity), but they typically buy for only one: they think the stock is undervalued.

Cluster buying detection

When multiple insiders at the same company or across a sector start buying simultaneously, it can indicate strong conviction. Scan groups of tickers for coordinated activity.

Compliance monitoring

Track insider activity across your portfolio for regulatory compliance and conflict-of-interest checks.

Executive compensation analysis

Combine insider transaction data with compensation data to understand total executive ownership and trading behavior.

API endpoints

EndpointDescription
GET /v1/insidersList insider transactions with filtering

Filter parameters

ParameterDescriptionExample
tickerCompany tickerAAPL
transaction_typepurchase or salepurchase
insider_nameFilter by insider nameJamie Dimon
date_from / date_toDate range2024-01-01
limitResults per page20

Why Datastream for insider trading data

FeatureDatastreamRaw EDGAROpenInsiderSECForm4
Structured JSON APIYesNo (XML)No (HTML scrape)Partial
Real-time indexingMinutesReal-timeHoursHours
Historical depth2004+2004+2004+2013+
SDK supportPython + JSNoNoNo
Webhook alertsYesNoNoNo
Filtering by transaction typeYesManualLimitedLimited

Get started

Get your API key

Start tracking insider transactions in under 60 seconds.