# Insider trading API: every Form 3, 4, 5 and 144 as JSON

Each record is one insider filing, read from the XML the insider filed: who traded, at which company, in what role, how many shares at what dollar value, and what they owned afterwards. Filter for open-market purchases over $1 million, a CEO's sales this year, or 10b5-1 plan trades.

- Endpoint: `POST https://api.quantisnow.com/v1/insider-trades`
- Coverage: Forms 3, 4 and 5 since January 2021 and Form 144 since October 2023: 1.09 million filings by 88,000 insiders
- How fresh: Searchable 1 to 2 minutes after the SEC accepts the filing
- Source: Form 3, 4, 5 and 144 filings on EDGAR

## Fields

| Field | Type | What it holds |
| --- | --- | --- |
| `accessionNo` | string | EDGAR accession number. |
| `formType` | string | 3, 4, 5 or 144, with /A on amendments (4/A). |
| `amendment` | boolean | True for 4/A and the like. |
| `restatesEarlier` | boolean | True when this amendment repeats trades from a filing already in the results. |
| `filedAt` | date | Acceptance time, US Eastern. |
| `transactionDate` | date | Trade date reported on the form (planned sale date on a 144). |
| `issuer.cik` | string | Company CIK. |
| `issuer.name` | string | Company name. |
| `issuer.ticker` | string | Company ticker. |
| `reportingOwner.cik` | string | The insider's own CIK. Stable across companies and name spellings. |
| `reportingOwner.name` | string | Name as filed, usually last name first: "Slootman Frank". |
| `reportingOwner.officerTitle` | string | Title when the insider is an officer, e.g. "Chief Financial Officer". |
| `reportingOwner.isDirector` | boolean | Sits on the board. |
| `reportingOwner.isOfficer` | boolean | Is an officer. |
| `reportingOwner.isTenPercentOwner` | boolean | Owns 10% or more. |
| `transactionCodes` | string[] | SEC transaction codes on the form: P open-market purchase, S sale, M option exercise, A grant, F tax withholding, G gift. |
| `purchased.shares` | number | Shares bought in the filing's open-market purchases. |
| `purchased.valueUsd` | number | Dollar value of those purchases. |
| `sold.shares` | number | Shares sold. |
| `sold.valueUsd` | number | Dollar value of the sales. |
| `sharesOwnedAfter` | number | Shares held directly after the last reported trade. |
| `rule10b51` | boolean | The trades were made under a 10b5-1 trading plan. |
| `plannedSale.shares` | number | Form 144 only: shares the insider plans to sell. |
| `plannedSale.valueUsd` | number | Form 144 only: market value of the planned sale. |

## Examples

### Which insiders bought more than $1 million of their own company's stock in the last 30 days?

Large open-market buys are the insider signal most studies find worth watching.

```shell
curl -X POST https://api.quantisnow.com/v1/insider-trades \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "formType:4 AND transactionCodes:P AND purchased.valueUsd:>1000000 AND filedAt:[2026-10-19 TO 2026-11-18]",
  "from": 0,
  "size": 5,
  "sort": [
    {
      "purchased.valueUsd": {
        "order": "desc"
      }
    }
  ]
}'
```

Response (real, first 2 of 93):

```json
{
  "total": {
    "value": 93,
    "relation": "eq"
  },
  "data": [
    {
      "accessionNo": "0001011438-26-000643",
      "formType": "4",
      "amendment": false,
      "restatesEarlier": false,
      "filedAt": "2026-11-03T16:35:59-05:00",
      "transactionDate": "2026-11-02",
      "issuer": {
        "cik": "0000789570",
        "name": "MGM Resorts International",
        "ticker": "MGM"
      },
      "reportingOwner": {
        "cik": "0001307631",
        "name": "Meister Keith A.",
        "officerTitle": null,
        "isDirector": true,
        "isOfficer": false,
        "isTenPercentOwner": false
      },
      "transactionCodes": [
        "P"
      ],
      "purchased": {
        "shares": 1745592,
        "valueUsd": 51740827.48
      },
      "sold": {
        "shares": 0,
        "valueUsd": 0
      },
      "sharesOwnedAfter": null,
      "rule10b51": false
    },
    {
      "accessionNo": "0001104659-26-121502",
      "formType": "4",
      "amendment": false,
      "restatesEarlier": false,
      "filedAt": "2026-11-02T17:45:33-05:00",
      "transactionDate": "2026-10-29",
      "issuer": {
        "cik": "0000084839",
        "name": "Rollins Inc",
        "ticker": "ROL"
      },
      "reportingOwner": {
        "cik": "0001212243",
        "name": "LOR INC",
        "officerTitle": null,
        "isDirector": false,
        "isOfficer": false,
        "isTenPercentOwner": true
      },
      "transactionCodes": [
        "P"
      ],
      "purchased": {
        "shares": 1444402,
        "valueUsd": 49956665.33
      },
      "sold": {
        "shares": 0,
        "valueUsd": 0
      },
      "sharesOwnedAfter": 146728468,
      "rule10b51": false
    }
  ]
}
```

### How much Snowflake stock has Frank Slootman sold in the last six months?

Follow one person across every filing by their CIK, not their name, which is spelled differently from form to form.

```shell
curl -X POST https://api.quantisnow.com/v1/insider-trades \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "reportingOwner.cik:0001402348 AND sold.valueUsd:>0 AND filedAt:[2026-05-22 TO 2026-11-18]",
  "from": 0,
  "size": 5,
  "sort": [
    {
      "filedAt": {
        "order": "desc"
      }
    }
  ]
}'
```

Response (real, first 2 of 12):

```json
{
  "total": {
    "value": 12,
    "relation": "eq"
  },
  "data": [
    {
      "accessionNo": "0001628280-26-063114",
      "formType": "4",
      "amendment": false,
      "restatesEarlier": false,
      "filedAt": "2026-09-22T19:18:29-04:00",
      "transactionDate": "2026-09-21",
      "issuer": {
        "cik": "0001640147",
        "name": "Snowflake Inc.",
        "ticker": "SNOW"
      },
      "reportingOwner": {
        "cik": "0001402348",
        "name": "Slootman Frank",
        "officerTitle": null,
        "isDirector": true,
        "isOfficer": false,
        "isTenPercentOwner": false
      },
      "transactionCodes": [
        "M",
        "S"
      ],
      "purchased": {
        "shares": 0,
        "valueUsd": 0
      },
      "sold": {
        "shares": 300000,
        "valueUsd": 100345541.19
      },
      "sharesOwnedAfter": 19024,
      "rule10b51": true
    },
    {
      "accessionNo": "0001402348-26-000018",
      "formType": "4",
      "amendment": false,
      "restatesEarlier": false,
      "filedAt": "2026-09-16T20:36:26-04:00",
      "transactionDate": "2026-09-16",
      "issuer": {
        "cik": "0001640147",
        "name": "Snowflake Inc.",
        "ticker": "SNOW"
      },
      "reportingOwner": {
        "cik": "0001402348",
        "name": "Slootman Frank",
        "officerTitle": null,
        "isDirector": true,
        "isOfficer": false,
        "isTenPercentOwner": false
      },
      "transactionCodes": [
        "F",
        "S"
      ],
      "purchased": {
        "shares": 0,
        "valueUsd": 0
      },
      "sold": {
        "shares": 8191,
        "valueUsd": 2608915.41
      },
      "sharesOwnedAfter": 19024,
      "rule10b51": true
    }
  ]
}
```

### Which insiders filed to sell more than $10 million of stock this month?

A Form 144 comes before the sale, so it shows selling a few days before the Form 4 does.

```shell
curl -X POST https://api.quantisnow.com/v1/insider-trades \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "formType:144 AND plannedSale.valueUsd:>10000000 AND filedAt:[2026-11-01 TO 2026-11-18]",
  "from": 0,
  "size": 5,
  "sort": [
    {
      "plannedSale.valueUsd": {
        "order": "desc"
      }
    }
  ]
}'
```

Response (real, first 2 of 30):

```json
{
  "total": {
    "value": 30,
    "relation": "eq"
  },
  "data": [
    {
      "accessionNo": "0001104659-26-122289",
      "formType": "144",
      "amendment": false,
      "restatesEarlier": false,
      "filedAt": "2026-11-03T20:51:11-05:00",
      "transactionDate": "2026-11-03",
      "issuer": {
        "cik": "0001618673",
        "name": "Performance Food Group Co",
        "ticker": "PFGC"
      },
      "reportingOwner": {
        "cik": "0001582090",
        "name": "Sachem Head Capital Management LP",
        "officerTitle": null,
        "isDirector": true,
        "isOfficer": false,
        "isTenPercentOwner": false
      },
      "transactionCodes": [],
      "purchased": {
        "shares": 0,
        "valueUsd": 0
      },
      "sold": {
        "shares": 0,
        "valueUsd": 0
      },
      "sharesOwnedAfter": null,
      "rule10b51": false,
      "plannedSale": {
        "shares": 1500000,
        "valueUsd": 151260000
      }
    },
    {
      "accessionNo": "0001628280-26-072447",
      "formType": "144",
      "amendment": false,
      "restatesEarlier": false,
      "filedAt": "2026-11-09T19:54:10-05:00",
      "transactionDate": "2026-11-09",
      "issuer": {
        "cik": "0001846576",
        "name": "FIGS, Inc.",
        "ticker": "FIGS"
      },
      "reportingOwner": {
        "cik": "0001820448",
        "name": "Spear Catherine Eva",
        "officerTitle": null,
        "isDirector": true,
        "isOfficer": false,
        "isTenPercentOwner": false
      },
      "transactionCodes": [],
      "purchased": {
        "shares": 0,
        "valueUsd": 0
      },
      "sold": {
        "shares": 0,
        "valueUsd": 0
      },
      "sharesOwnedAfter": null,
      "rule10b51": false,
      "plannedSale": {
        "shares": 4044284,
        "valueUsd": 79672395
      }
    }
  ]
}
```

## Good to know

- `purchased` counts code P only. Grants, option exercises and gifts are not purchases, so a filing with only code M has `purchased.valueUsd` of 0.
- An amendment is a record of its own with `amendment: true`. When it repeats trades from an earlier filing, `restatesEarlier` is true as well; filter with `restatesEarlier:false` to count each trade once.

---

Get an API key: https://www.quantisnow.com/sec-api/keys (a person replies within one business day; approved keys start with 1,000 free calls).

All SEC API pages:

- [Overview](https://www.quantisnow.com/sec-api.md): SEC filings, insider trades, 13F holdings, financials and 8-K events through one query API, an MCP server and plain-English questions.
- [Get an API key](https://www.quantisnow.com/sec-api/keys): Request a key; every request is read and answered within one business day.
- [Query syntax and limits](https://www.quantisnow.com/sec-api/query-syntax.md): Lucene query syntax, authentication, paging, sorting, rate limits and errors.
- [Playground](https://www.quantisnow.com/sec-api/playground): Run the example queries in the browser and see the real responses.
- [Filings search](https://www.quantisnow.com/sec-api/filings-search.md): Query 10-Ks, 10-Qs, 8-Ks, S-1s, Form D and every other EDGAR form with one Lucene query. Ticker, CIK, form type, filing time and links to the filing index, as JSON.
- [Insider trading](https://www.quantisnow.com/sec-api/insider-trading.md): Search insider purchases and sales from Form 4, initial holdings from Form 3 and planned sales from Form 144 by ticker, insider, role, dollar size and date.
- [13F holdings](https://www.quantisnow.com/sec-api/13f-holdings.md): Every 13F filer's positions by quarter, with shares, value and the change from the quarter before: new position, added, trimmed or sold out. Search by fund, CIK or ticker.
- [13D and 13G stakes](https://www.quantisnow.com/sec-api/beneficial-ownership.md): Search Schedule 13D activist stakes and 13G passive stakes by filer, company and date. Every filing above 5% ownership, as it is accepted.
- [Financial statements](https://www.quantisnow.com/sec-api/financial-statements.md): Quarterly and annual income statement, balance sheet and cash flow for every SEC filer, read from XBRL and normalized to the same field names. Search by ticker, fiscal year or any value.
- [8-K events](https://www.quantisnow.com/sec-api/8-k-events.md): Every Form 8-K with its item numbers: auditor changes (4.01), bankruptcies (1.03), delisting notices (3.01), executive changes (5.02), earnings (2.02) and the rest. Search by item, company and date.
- [News and press releases](https://www.quantisnow.com/sec-api/news-wire.md): Press releases from the major wires, FDA actions, analyst upgrades and downgrades and every SEC filing, tagged by ticker and category, in one searchable stream with a live websocket.
- [Plain-English questions](https://www.quantisnow.com/sec-api/natural-language.md): Ask a question in English; get back the query it became and the rows it found.
- [MCP server](https://www.quantisnow.com/sec-api/mcp.md): Search SEC data from Claude, ChatGPT and Cursor.
- [Find insider buying clusters with the Form 4 API](https://www.quantisnow.com/sec-api/guides/insider-buying-clusters.md): Pull every open-market insider purchase for a window, group by company and keep the ones where three or more insiders bought. Python, 30 lines.
- [Track activist investors with Schedule 13D filings](https://www.quantisnow.com/sec-api/guides/track-activist-13d-filings.md): Query new Schedule 13D filings, tell activists from passive 13G holders, and follow one fund across every company it files on.
- [See which funds bought or sold a stock from 13F filings](https://www.quantisnow.com/sec-api/guides/which-funds-bought-a-stock.md): Use the change field on 13F holdings to list new positions, increases and full exits in one stock for a quarter, without joining two quarters yourself.
- [Screen 8-K filings by item number: auditor changes, delistings and bankruptcies](https://www.quantisnow.com/sec-api/guides/8k-item-screener.md): What each 8-K item number means, which ones traders watch, and how to query one item across every company with the 8-K API.
- [Load SEC financial statements into pandas](https://www.quantisnow.com/sec-api/guides/financial-statements-pandas.md): Pull quarterly income statement, balance sheet and cash flow data from XBRL filings into a pandas DataFrame, and screen every filer on one metric.
- [Page past 10,000 results in a Lucene-style search API](https://www.quantisnow.com/sec-api/guides/paginate-past-10000-results.md): Why search APIs stop at 10,000 results per query and the date-window loop that gets every record anyway.
- [Search SEC filings from Claude, ChatGPT or Cursor with MCP](https://www.quantisnow.com/sec-api/guides/sec-filings-in-claude-mcp.md): Connect the Quantisnow MCP server to an AI assistant and ask about filings, insider trades, 13F holdings and financials in plain English.
- [SEC's free EDGAR APIs vs a filings search API: what each is for](https://www.quantisnow.com/sec-api/guides/sec-edgar-api-vs-data-sec-gov.md): What data.sec.gov, EDGAR full-text search and the bulk files give you for free, where they stop, and when a search API saves the work.
- [All guides](https://www.quantisnow.com/sec-api/guides.md): How-to guides with code and real responses.

Quantisnow is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR is the SEC's filing system; the filings themselves are public records.
