get_transactions
Search SEC Form 4 insider transactions by ticker, insider, code, date, and value; get shares, price, and post-trade returns. Filter for open-market trades or exclude planned and derivative trades.
Instructions
Search SEC Form 4 insider transactions with rich filters: ticker, insider CIK, transaction code/category, date range, a dollar floor (min_value), institutional-ownership trend, and (Pro+) upper trade-size bounds plus post-trade return screening (1d/1w/1m/3m/6m, returns as fractions e.g. 0.05 = +5%). Returns transaction-level rows — shares, price, total value, transaction code, 10b5-1 flag, insider role flags. Use this for filtered or historical search across many companies/insiders; use get_recent_filings for an unfiltered live feed instead, or get_insider_transactions/get_company_insiders when you already have a specific insider or company. Free plan, including min_value; max_value/min_shares/max_shares/min_return_*/max_return_*/has_returns require Pro. Paginated, max 100/page, and paging depth is plan-limited (Free 20 pages, Starter 100, Pro+ unlimited) — for a bulk pull use the REST endpoint GET /v1/transactions/export (Business) instead of paging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, inclusive, format YYYY-MM-DD (e.g. 2026-12-31). Filters on transactionDate. | |
| cik | No | Company CIK number — SEC's numeric filer identifier, e.g. 0000320193. Leading zeros optional. | |
| code | No | Single SEC transaction code to filter to. P=open-market purchase, S=open-market sale, A=grant/award, M=option exercise, F=tax withholding on vesting, D=disposition to issuer, G=gift, C=conversion of derivative, J=other. Use `codes` instead to match more than one. | |
| from | No | Start date, inclusive, format YYYY-MM-DD (e.g. 2026-01-01). Filters on transactionDate. | |
| page | No | 1-based page number. Defaults to 1. Paging depth is plan-limited: Free reaches page 20, Starter page 100, Pro and above unlimited; beyond that the call returns 402 with the upgrade path. If you need the full history rather than a page of it, the REST endpoint GET /v1/transactions/export (Business plan) streams the entire filtered set as CSV in one request. | |
| codes | No | Comma-separated list of SEC transaction codes to include, e.g. "P,S" (see `code` for the letter meanings). Multi-code superset of `code`. | |
| ticker | No | Stock ticker symbol, case-insensitive, e.g. AAPL or aapl. | |
| category | No | Include only one category of transactions. open_market = P/S (the signal most users want); grants = award/comp noise; derivatives = option exercises etc. | |
| per_page | No | Results per page. Defaults to 20, maximum 100. | |
| max_value | No | Maximum trade value in USD (shares × price), inclusive. Requires Pro plan or higher — the whole call is rejected with 403 on Free/Starter, not silently ignored. Use min_value alone to screen by size on a free key. | |
| min_value | No | Minimum trade value in USD (shares × price), inclusive. Available on every plan. | |
| max_shares | No | Maximum number of shares, inclusive. Requires Pro plan or higher — the whole call is rejected with 403 on Free/Starter, not silently ignored. | |
| min_shares | No | Minimum number of shares, inclusive. Requires Pro plan or higher — the whole call is rejected with 403 on Free/Starter, not silently ignored. | |
| has_returns | No | If true, only return transactions with at least one computed post-trade return horizon (any of 1d/1w/1m/3m/6m). Requires Pro plan or higher — omitted or ignored on Free. | |
| insider_cik | No | Insider CIK number — SEC's numeric filer identifier, e.g. 0001214128. Leading zeros optional. | |
| significant | No | If true, preset = open-market trades only, no 10b5-1 plan trades, no derivatives. The "just show me real discretionary buys and sells" filter. Explicit params override it. | |
| exclude_10b5 | No | If true, exclude pre-scheduled 10b5-1 plan trades. Recommended for signal analysis — filters out automatic, non-discretionary trades. | |
| exclude_codes | No | Comma-separated list of SEC transaction codes to exclude, e.g. "A,M,F,G" to drop grants, option exercises, tax withholding and gifts. | |
| max_return_1d | No | Maximum 1-day post-trade return as a fraction (e.g. -0.1 = -10%), inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| max_return_1m | No | Maximum 1-month post-trade return as a fraction, inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| max_return_1w | No | Maximum 1-week post-trade return as a fraction, inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| max_return_3m | No | Maximum 3-month post-trade return as a fraction, inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| max_return_6m | No | Maximum 6-month post-trade return as a fraction, inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| min_return_1d | No | Minimum 1-day post-trade return, as a FRACTION not a percentage (0.05 = +5%), inclusive. Rows with no computed 1-day return are excluded. Requires Pro plan or higher — omitted or ignored on Free. | |
| min_return_1m | No | Minimum 1-month post-trade return as a fraction (0.05 = +5%), inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| min_return_1w | No | Minimum 1-week post-trade return as a fraction (0.05 = +5%), inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| min_return_3m | No | Minimum 3-month post-trade return as a fraction (0.05 = +5%), inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| min_return_6m | No | Minimum 6-month post-trade return as a fraction (0.05 = +5%), inclusive. Requires Pro plan or higher — omitted or ignored on Free. | |
| exclude_category | No | Exclude an entire category of transactions, e.g. exclude_category=derivatives drops all option-related rows. | |
| exclude_derivative | No | If true, drop derivative-security rows — the cleanest single "no options" switch. | |
| inst_ownership_trend | No | Filter by the trailing quarter-over-quarter trend in institutional (13F) ownership of the underlying company. No effect if institutional-ownership enrichment is disabled server-side; rows where the trend was suppressed for insufficient 13F coverage still match "stable". |