Skip to content

API · Forms 3, 4 and 5 · JSON

Form 4 insider trades as JSON, one trade per row.

Every buy, sale, award and option exercise that officers, directors and 10% owners report to the SEC, parsed from the filing and linked to it. Filter by ticker, insider, code, date and dollar value.

Free: 15 requests a minute, 5,000 a month. No credit card.

One request

GET /api/v1/insider/transactions

Send your key as a bearer token. The response shown is real: Andy Jassy’s sale of Amazon stock on November 23, 2026, one of nine price lines on his Form 4.

  1. 01Create a free keySign up and make a key in the dashboard
  2. 02FilterBy ticker, insider CIK, transaction code, dates or value
  3. 03Page throughPass nextCursor back until hasMore is false
Request · curl
curl -G https://earningsfeed.com/api/v1/insider/transactions \
  -H "Authorization: Bearer $EARNINGSFEED_API_KEY" \
  -d ticker=AMZN -d codes=S \
  -d startDate=2026-11-23 -d endDate=2026-11-23 -d limit=1
Response · 200 OK
{
  "items": [
    {
      "accessionNumber": "0001374545-26-000012",
      "filedAt": "2026-11-24T00:00:00.000Z",
      "formType": "4",
      "personCik": 1374545,
      "personName": "Jassy Andrew R",
      "companyCik": 1018724,
      "companyName": "AMAZON COM INC",
      "ticker": "AMZN",
      "isDirector": true,
      "isOfficer": true,
      "isTenPercentOwner": false,
      "isOther": false,
      "officerTitle": "President and CEO",
      "securityTitle": "Common Stock, par value $.01 per share",
      "isDerivative": false,
      "transactionDate": "2026-11-23",
      "transactionCode": "S",
      "equitySwapInvolved": false,
      "shares": "196.0000",
      "pricePerShare": "260.0294",
      "acquiredDisposed": "D",
      "sharesAfter": "2265766.0000",
      "directIndirect": "D",
      "ownershipNature": null,
      "conversionOrExercisePrice": null,
      "exerciseDate": null,
      "expirationDate": null,
      "underlyingSecurityTitle": null,
      "underlyingShares": null,
      "transactionValue": 50966
    }
  ],
  "nextCursor": "eyJkYXRlIjoiMjAyNi0xMS0yMyIsImlkIjoyOTg4NDk1Nn0",
  "hasMore": true
}

Code

Python and TypeScript

buys_over_100k.py
import os
import requests

# Every open-market purchase (code P) of $100,000 or more since Nov 1, 2026
url = "https://earningsfeed.com/api/v1/insider/transactions"
headers = {"Authorization": f"Bearer {os.environ['EARNINGSFEED_API_KEY']}"}
params = {"codes": "P", "minValue": 100000, "startDate": "2026-11-01", "limit": 100}

trades = []
while True:
    page = requests.get(url, headers=headers, params=params, timeout=30)
    page.raise_for_status()
    body = page.json()
    trades.extend(body["items"])
    if not body["hasMore"]:
        break
    params["cursor"] = body["nextCursor"]  # keep the same filters

for t in trades:
    print(t["transactionDate"], t["ticker"], t["personName"], t["transactionValue"])
insider.ts
type InsiderTrade = {
  accessionNumber: string;
  ticker: string | null;
  personName: string;
  officerTitle: string | null;
  transactionDate: string; // YYYY-MM-DD
  transactionCode: string; // "P", "S", "A", "M", "F", "G" ...
  shares: string | null; // decimal string
  pricePerShare: string | null;
  transactionValue: number | null; // shares x price, rounded to whole dollars
};

// One insider's trades in one company: insiderCik is the person's SEC CIK
const params = new URLSearchParams({ ticker: "AMZN", insiderCik: "1374545", limit: "100" });
const res = await fetch(`https://earningsfeed.com/api/v1/insider/transactions?${params}`, {
  headers: { Authorization: `Bearer ${process.env.EARNINGSFEED_API_KEY}` },
});
if (!res.ok) throw new Error(`Earnings Feed API: ${res.status}`);

const { items, nextCursor, hasMore } = (await res.json()) as {
  items: InsiderTrade[];
  nextCursor: string | null;
  hasMore: boolean;
};

Query

Filters

11 parameters
ParameterWhat it does
tickerThe company's primary ticker
cikThe company's SEC CIK
insiderCikThe insider's SEC CIK: one person's or fund's trades
codesTransaction codes, comma-separated (P buy, S sale, A award, M exercise…)
directionbuy (acquired), sell (disposed) or all
derivativefalse for shares, true for options and other derivatives
startDate, endDateTrade date range, YYYY-MM-DD, inclusive
minValue, maxValueTrade value in US dollars (shares × price)
qText match on company name, ticker or insider CIK
limitTrades per page, 1 to 100 (default 25)
cursorThe nextCursor of the previous page

Response

What each trade includes

  • accessionNumber, filedAt, formTypeThe source filing: open it on EDGAR or at earningsfeed.com/filings/{accessionNumber}
  • personName, personCikWho traded
  • isOfficer, isDirector, isTenPercentOwner, officerTitleTheir role at the company
  • companyName, companyCik, tickerThe company whose stock it is
  • transactionDate, transactionCodeWhen, and what kind of trade (SEC code)
  • shares, pricePerShare, acquiredDisposedSize, price, and A (acquired) or D (disposed)
  • sharesAfter, directIndirect, ownershipNatureHolding after the trade, and how it is held
  • transactionValueshares × price to the nearest dollar; null when either is missing
  • isDerivative, underlying…, exerciseDate, expirationDateOption and other derivative details (Table II)

Source forms:345and amendments. Share counts and prices come back as decimal strings, so nothing is lost to floating point.

Coverage

Checked against EDGAR

For July to September 2026, EDGAR’s quarterly form index lists 33,519 Form 4 filings. Our database holds 33,521, and only one filing in the index is missing from it. Every Form 4 we stored in the 12 months to November 2026 was parsed. We check EDGAR every minute, and most filings reach you within minutes of SEC acceptance.

What the data shows: over those 12 months, about 45% of insider sale filings were made under a 10b5-1 plan. Read the study, or see how Form 144 notices arrive about two days before the Form 4.

Limits

Rate limits by plan

PlanPer minutePer month
Free155,000
Pro60250,000
Business3002,000,000

Every plan includes every endpoint. Monthly limits are hard caps that reset at the start of each UTC month, shared across your API keys, the interactive docs and MCP.

Compare plans and prices

FAQ

Questions about the Form 4 API

Is there a free Form 4 API?
Yes. A free Earnings Feed account gets an API key with 15 requests a minute and 5,000 a month, every endpoint included and no credit card. At 100 trades a page, that is up to 500,000 trades a month.
Which SEC forms does the insider trading API cover?
Forms 3, 4 and 5 and their amendments. Each trade line on the form (Table I for shares, Table II for options and other derivatives) is one item in the response, with the accession number of the filing it came from.
How quickly do new Form 4s show up?
We check EDGAR every minute, and most filings reach you within minutes of SEC acceptance. The API serves the same filings as the feed.
Does the API flag 10b5-1 plan trades?
Not as a field yet. Every trade carries its accession number, so you can open the filing and read the 10b5-1 checkbox and footnotes. Our post on 10b5-1 sales explains what they mean and how often they appear.
Can I get only open-market buys and sales?
Yes. Pass codes=P for open-market or private purchases, codes=S for sales, or codes=P,S for both. Awards (A), exercises (M) and shares withheld for tax (F) are left out.
Is there an SDK?
Yes, for Node.js and TypeScript (npm install earningsfeed), Python (pip install earningsfeed) and Rust (cargo add earningsfeed). Plain HTTP works too: one GET with a bearer key.

Make your first request in a minute

Free plan: 15 requests a minute, 5,000 a month and every endpoint, including filings, 13F holdings and company data. See the full SEC filings API.