Skip to content
Docs

Insider trades (Form 4)

Every transaction in the company's most recent Form 4 filings: the insider and their role (director, officer and title, 10% owner), the security, date, transaction code and its meaning, shares, price and value, shares held afterwards, direct or indirect ownership, whether it was under a 10b5-1 plan, and option exercise details. summary totals open-market purchases (P) and sales (S), counting a trade filed twice (an amendment, joint filers) once. A long read stops before the time limit and says truncated.

POST/v1/sec/insider_trades
4 creditsTry it4 (an empty answer, an unknown company and failed requests are free)

Request

POSThttps://api.scrapercompany.com/v1/sec/insider_trades

Authenticate with your API key in the x-api-key header (see Authentication).

Run this request on your own API key from this page, with the values you type. Signed out? Sign in or get an API key.

Body

JSON object. Unknown fields are rejected with 422.

  • companystringrequiredpattern ^(\d{1,10}|[A-Za-z][A-Za-z0-9.\-]{0,9})$

    Ticker (AAPL, BRK.B) or SEC CIK number (320193). Find the CIK of a company without a ticker, a fund or a person by name with POST /v1/sec/companies. An insider's own CIK returns that person's trades in every company.

  • limitintegerdefault 10min 1, max 40

    Form 4 filings read, newest first.

  • sincestring (date) | null

    Earliest filing date.

  • codesarray of stringmax items 20

    Transaction codes to keep: P open-market purchase, S sale, A grant, M option exercise, F shares withheld for tax, G gift. Empty keeps every code.

Example request

curl -X POST "https://api.scrapercompany.com/v1/sec/insider_trades" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "company": "AAPL"
  }'

Response

200 — Form 4 transactions. Metered responses carry x-credits-charged and x-credits-remaining headers (see credit headers).

200 response
{
  "company": {
    "cik": "0000320193",
    "name": "Apple Inc.",
    "tickers": [
      "AAPL"
    ]
  },
  "filings_read": 3,
  "truncated": false,
  "transactions": [
    {
      "filing_date": "2026-10-22",
      "accession_number": "0001140361-26-040540",
      "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126040540/form4.xml",
      "form": "4",
      "issuer": {
        "cik": "0000320193",
        "name": "Apple Inc.",
        "ticker": "AAPL"
      },
      "insider": "Newstead Jennifer",
      "insider_cik": "0001780525",
      "insider_title": "SVP, GC and Government Affairs",
      "is_director": false,
      "is_officer": true,
      "is_ten_percent_owner": false,
      "rule_10b5_1": true,
      "security": "Common Stock",
      "derivative": false,
      "date": "2026-10-20",
      "code": "S",
      "code_meaning": "open market or private sale",
      "shares": 2399,
      "price": 339.62,
      "value": 814748.38,
      "acquired_or_disposed": "disposed",
      "shares_owned_after": 34795,
      "ownership": "direct"
    },
    {
      "filing_date": "2026-10-19",
      "accession_number": "0001140361-26-040127",
      "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126040127/form4.xml",
      "form": "4",
      "issuer": {
        "cik": "0000320193",
        "name": "Apple Inc.",
        "ticker": "AAPL"
      },
      "insider": "Borders Ben",
      "insider_cik": "0002100523",
      "insider_title": "Principal Accounting Officer",
      "is_director": false,
      "is_officer": true,
      "is_ten_percent_owner": false,
      "rule_10b5_1": true,
      "security": "Common Stock",
      "derivative": false,
      "date": "2026-10-15",
      "code": "M",
      "code_meaning": "option exercise or conversion (exempt)",
      "shares": 1714,
      "acquired_or_disposed": "acquired",
      "shares_owned_after": 40451,
      "ownership": "direct"
    }
  ],
  "summary": {
    "open_market_purchases": {
      "count": 0,
      "shares": 0,
      "value": 0
    },
    "open_market_sales": {
      "count": 11,
      "shares": 5071,
      "value": 1737171.28
    }
  },
  "meta": {
    "source": "sec_edgar",
    "requests": 5,
    "elapsed_s": 0.7
  }
}

Errors

Errors return a JSON body with a detail field. Failed requests are not charged. See Errors for the full list and retry advice.

StatusMeaningRetry?
401Unauthorized

Missing or invalid API key.

{"detail":"missing or invalid API key"}
No, fix the request
402Payment Required

Not enough credits for this request: the account's credits mode is enforce (mode in GET /v1/billing) and the request costs more than the available credits. Nothing is run or charged.

{"detail":"insufficient credits: this request costs 5, 0 available. Credits renew 2026-11-01."}
No, fix the request
404Not Found

The property, stay, job or record was not found.

{"detail":"job not found"}
No, fix the request
422Unprocessable Content

Request validation failed. detail is a list of problems for schema errors, or a string for semantic checks performed by the endpoint.

{"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]}
No, fix the request
429Too Many Requests

Too many requests: the key's requests-per-minute limit was exceeded, or (in enforce credits mode) the plan's concurrent-request limit. No rate-limit or Retry-After headers are sent; back off and retry.

{"detail":"rate limit 60/min exceeded"}
Yes, with backoff
503Service Unavailable

Temporarily unavailable: a dependency of this endpoint is down, or the upstream source changed its contract. Retry later.

{"detail":"database unavailable: OperationalError"}
Yes, with backoff

Try it

Press Try it above to run this request on your own key, with the values you type (sign in first). For a no-code walkthrough, use the workspace’s guided Try it.

  1. Export your key: export SCRAPERCOMPANY_API_KEY=sk_... (no key yet? start a free trial).
  2. Copy the cURL example above and run it in a terminal.

Credits

4 credits per successful call (4 (an empty answer, an unknown company and failed requests are free)). Failed, blocked and empty results are free.

Questions about this page?

Send the page link and your question, and the team will answer.

Email support