# SEC Form 3/4/5 insider transactions (QuantSet API)

> Individual as-filed insider trades with Rule 10b5-1 plan flags and post-trade balances, queryable per issuer or market-wide.

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

`GET https://api.quantset.dev/api/v1/sec/insider-transactions` · `get_sec_transactions`

Send a key in the `X-API-Key` header. Try `mw_demo` with the sample selectors.
Add `format=csv` to get a UTF-8 table.
Price: 5 credits for every 50 rows returned.

## Research questions

### Which individual insider transactions were reported for Nvidia?

```http
GET https://api.quantset.dev/api/v1/sec/insider-transactions?ticker=us:NVDA&limit=20
```

Look at transaction_code, acquired_disposed, ownership_type and filing_date. Use owners and accession to identify the reporting parties and filing.

### Which reported purchases remain after excluding flagged plan trades?

```http
GET https://api.quantset.dev/api/v1/sec/insider-transactions?ticker=AAPL&transaction_code=P&exclude_10b5_1=true&limit=20
```

Inspect ownership_type, owners and footnotes. An unflagged record alone does not establish an insider’s motivation.

## Reading the results

The share balance after a trade and the shares transacted answer different questions. A joint filing can identify several owners for a single transaction.


## Coverage and limits

Amendments are excluded by default. A grant, exercise or transfer can change ownership without being an open-market purchase.


## Related guides

- [Choose a listing across exchanges](https://quantset.dev/docs/guides/instrument-ids)
- [Continue a snapshot-pinned read](https://quantset.dev/docs/guides/pagination)
- [Choose a point-in-time cutoff](https://quantset.dev/docs/guides/point-in-time)

## Parameters

- `issuer_cik` (string, optional): Optional SEC Central Index Key of the issuer.
- `ticker` (string, optional): Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.
- `owner_cik` (string, optional): Filter to filings by a specific reporting-owner CIK
- `transaction_code` (string, optional): SEC Form 4 transaction code, e.g. P (open-market buy) or S (sale)
- `min_value` (number, optional): Minimum reported transaction_value
- `exclude_10b5_1` (boolean, optional): Exclude trades reported under a Rule 10b5-1 trading plan
- `start` (string, optional): First date to include, as an ISO date (YYYY-MM-DD).
- `end` (string, optional): Last date to include, as an ISO date (YYYY-MM-DD).
- `filed_before` (string, optional): Only return transactions filed on or before this date, YYYY-MM-DD.
- `include_amendments` (boolean, optional): Include amended filings.
- `limit` (integer, 1 to 1,000, optional): Maximum number of rows to return.
- `cursor` (string, optional): Opaque continuation. Pass it unchanged with the original filters and snapshot_id.
- `snapshot_id` (string, optional): Pin the request to one immutable snapshot so a read across several pages stays consistent.
- `format` (json | csv, optional): Return a JSON page or UTF-8 CSV rows.
- `X-Max-Credits` (integer, 0 to 999,999,999,999, optional, in header): Refuse the request if its maximum charge exceeds this ceiling.
- `X-Workflow-Id` (string, optional, in header): Optional printable identifier for grouping charges in a research workflow.

## Response fields

- `transaction_id` (string)
- `accession` (string): The SEC accession number of the filing the row was matched to.
- `transaction_kind` (non_derivative | derivative)
- `instrument_id` (string): The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
- `issuer_cik` (string): The 10-digit SEC Central Index Key of the company that issued the security.
- `ticker` (string): The ticker symbol.
- `filing_date` (string): The day the filing was made public.
- `transaction_date` (string): The day the trade took place.
- `form` (string): The SEC form type, such as 10-K or 10-Q.
- `is_amendment` (boolean): Whether this filing corrects an earlier one.
- `is_10b5_1` (boolean): Whether the trade was made under a pre-arranged Rule 10b5-1 plan.
- `transaction_code` (string)
- `acquired_disposed` (string)
- `is_buy` (boolean)
- `security_title` (string): The name of the security as written in the filing.
- `shares` (number)
- `price_per_share` (number)
- `transaction_value` (number)
- `shares_after` (number)
- `ownership_type` (string): Whether the shares are held directly or indirectly.
- `owner_count` (integer): A count.
- `owners` (array): The people or firms the filing reports on.
- `footnotes` (array)
- `disclosure_quarter` (string)

## Example

```
curl 'https://api.quantset.dev/api/v1/sec/insider-transactions?ticker=us:NVDA&limit=20' -H 'X-API-Key: mw_demo'
```

## Responses

- 200 Successful Response
- 400 Supply one credential.
- 401 Supply a valid API key.
- 402 Reduce the request ceiling or refill your credits.
- 403 Your key does not have the required access.
- 404 The requested listing is absent from the catalog.
- 409 Start the read again with the current snapshot.
- 413 Reduce the page size before requesting CSV again.
- 422 Correct the named parameter and retry.
- 429 Wait for Retry-After seconds.
- 500 The request could not be completed.
- 503 Retry safe reads after a short delay.

## Which insider endpoint to use

- `/api/v1/insider-activity` (Insider activity summary): A count of insider buys and sells for one company over a window.
- `/api/v1/sec/insider-transactions` (SEC Form 3/4/5 insider transactions): Each individual trade as filed, for one company or across the market.
- `/api/v1/sec/insider-holdings` (SEC Form 3/4/5 insider holdings): What insiders hold, from the balances they report.
- `/api/v1/sec/form-144` (SEC Form 144 proposed insider sales): Notices of sales insiders intend to make, filed before the trade.
- `/api/v1/sec/insiders` (Cross-company insider profile): Everything one person has filed, across every company.

## Questions

**Can I try SEC Form 3/4/5 insider transactions without signing up?** Yes. Use the sandbox key mw_demo and the sample selectors on this page.

**What does SEC Form 3/4/5 insider transactions cost?** 5 credits for every 50 rows returned. A request that fails costs nothing.

**Which plan includes it?** Every account. Free credits, credit packs and subscriptions all read this data.

**How do I read more than one page?** When next_cursor is not null, send it back as cursor together with the same snapshot_id, and repeat until it is null.

**Can I get it as CSV or in a spreadsheet?** Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.

**Can an AI agent use this?** Yes. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.

**What does null mean in the response?** The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.

Group: Actions, ownership and SEC disclosures
Docs page: https://quantset.dev/docs/api/sec-insider-transactions
Integrations & Ecosystem: https://quantset.dev/integrations (Claude/Cursor MCP, LangGraph, PydanticAI, CrewAI, Agno, Vercel AI SDK, Mastra, Sheets =QUANTSET(), Excel, Notion & x402)
Full API guide: https://api.quantset.dev/llms-full.txt
