SEC Form 4 insider trades API for AI agents

How can an AI agent get recent insider buying and selling for a US stock?

Call GET /v1/stocks/insiders with a symbol such as NVDA. It reads SEC Form 4 filings from EDGAR and returns each trade (insider name, title, date, shares, price, value, shares held after, Rule 10b5-1 flag) newest first, plus a summary of open market buys and sells over up to 365 days.

Example: NVIDIA, last 90 days

Example call: stocks-insiders

The example keeps one trade of the list. summary always covers the whole window, whatever limit you send.

Parameters

Insider trade parameters
ParamValuesDefault
symbolNVDA, AAPL, MSFT, GOOGL, AMZN, META, TSLA, AMD, MU, COIN, MSTR, HOOD, PLTRrequired
daysFilings filed in the last 1 to 365 days90
typebuy (code P), sell (code S) or all; other codes are listed as otherall
limit1 to 100 trades, newest first25
include_derivativetrue also lists rows of the derivative table (options, RSUs), as otherfalse

Buys, sells and other transaction codes

Form 4 uses a letter code per transaction. buy is code P (open market or private purchase) and sell is code S (open market or private sale). Gifts, grants, option exercises, tax withholding and the other codes are kept as other with their code and code_label, so the summary counts only real market activity.

plan_10b5_1 marks trades the filer reported under a Rule 10b5-1 trading plan, which are scheduled in advance.

SEC EDGAR filings are public US government data. They are reported facts, not advice, and a filing can be amended later (amendment).

FAQ

Where does the insider data come from?

From Form 4 filings on SEC EDGAR, the public filing system of the US Securities and Exchange Commission. Each trade links to its filing (filing_url).

Which stocks are covered?

NVDA, AAPL, MSFT, GOOGL, AMZN, META, TSLA, AMD, MU, COIN, MSTR, HOOD and PLTR.

Does a sale under a 10b5-1 plan mean the same as a discretionary sale?

Not necessarily: a 10b5-1 plan is set up in advance. The endpoint marks those trades so your agent can treat them separately.

Updated 2026-11-16.