Docs/APIs/Insider Trading

Insider Trading

Get Company Insider Transactions by Ticker

OperationalCredits 1 per callp50 208msFinanceStar

Overview

Insider Trading works by parsing SEC Form 4 ownership filings for US public companies into clean, normalized transactions and layering on derived intelligence the raw filings do not carry - open-market buy versus sell totals, net insider activity, distinct insiders, and a bullish/bearish sentiment read. Compensation noise like option grants and tax withholding is separated from real open-market signals. Data is refreshed continuously from official SEC filings.

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

GEThttps://api.apiverve.com/v1/insidertrading
curl "https://api.apiverve.com/v1/insidertrading?ticker=AAPL&type=buy&limit=10" \
  -H "x-api-key: your_api_key_here"
const res = await fetch('https://api.apiverve.com/v1/insidertrading?ticker=AAPL&type=buy&limit=10', {
  headers: { 'x-api-key': 'your_api_key_here' },
});

if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);

const { data } = await res.json();
console.log(data);
import requests

res = requests.get(
    "https://api.apiverve.com/v1/insidertrading?ticker=AAPL&type=buy&limit=10",
    headers={"x-api-key": "your_api_key_here"},
    timeout=15,
)
res.raise_for_status()

print(res.json()["data"])
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/insidertrading?ticker=AAPL&type=buy&limit=10", nil)
	req.Header.Set("x-api-key", "your_api_key_here")

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
tickerRequiredstringStock ticker symbol (e.g. AAPL, MSFT, ADBE)
length 1–6
typeOptionalPremiumstringFilter to open-market buys or sells (buy or sell).
limitOptionalPremiumintegerNumber of transactions to return (1-25). Defaults to 5.
range 1–25

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "status": "ok",
  "error": null,
  "data": {
    "ticker": "AAPL",
    "cik": "0000320193",
    "company": "Apple Inc.",
    "totalRecentForm4": 512,
    "count": 5,
    "lastTransactionDate": "2025-10-14",
    "daysSinceLastTransaction": 64,
    "transactions": [
      {
        "filingDate": "2025-10-16",
        "transactionDate": "2025-10-14",
        "insiderName": "COOK TIMOTHY D",
        "insiderTitle": "Chief Executive Officer",
        "relationship": {
          "director": true,
          "officer": true,
          "tenPercentOwner": false
        },
        "security": "Common Stock",
        "transactionCode": "S",
        "transactionType": "Sale",
        "direction": "sell",
        "acquiredDisposed": "D",
        "shares": 511000,
        "pricePerShare": 245.5,
        "value": 125450500,
        "sharesOwnedAfter": 3280000,
        "accessionNumber": "0000320193-25-000118",
        "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000118/xslF345X05/wf-form4.xml"
      },
      {
        "filingDate": "2025-10-02",
        "transactionDate": "2025-10-01",
        "insiderName": "MAESTRI LUCA",
        "insiderTitle": "Senior Vice President, CFO",
        "relationship": {
          "director": false,
          "officer": true,
          "tenPercentOwner": false
        },
        "security": "Common Stock",
        "transactionCode": "S",
        "transactionType": "Sale",
        "direction": "sell",
        "acquiredDisposed": "D",
        "shares": 74213,
        "pricePerShare": 241.18,
        "value": 17899091,
        "sharesOwnedAfter": 112884,
        "accessionNumber": "0000320193-25-000112",
        "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000112/xslF345X05/wf-form4.xml"
      },
      {
        "filingDate": "2025-08-20",
        "transactionDate": "2025-08-18",
        "insiderName": "WILLIAMS JEFFREY E",
        "insiderTitle": "Chief Operating Officer",
        "relationship": {
          "director": false,
          "officer": true,
          "tenPercentOwner": false
        },
        "security": "Common Stock",
        "transactionCode": "P",
        "transactionType": "Purchase",
        "direction": "buy",
        "acquiredDisposed": "A",
        "shares": 5000,
        "pricePerShare": 226.4,
        "value": 1132000,
        "sharesOwnedAfter": 489210,
        "accessionNumber": "0000320193-25-000101",
        "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000101/xslF345X05/wf-form4.xml"
      },
      {
        "filingDate": "2025-08-04",
        "transactionDate": "2025-08-01",
        "insiderName": "ADAMS KATHERINE L",
        "insiderTitle": "Senior Vice President, General Counsel",
        "relationship": {
          "director": false,
          "officer": true,
          "tenPercentOwner": false
        },
        "security": "Common Stock",
        "transactionCode": "A",
        "transactionType": "Grant/Award",
        "direction": null,
        "acquiredDisposed": "A",
        "shares": 25000,
        "pricePerShare": 0,
        "value": 0,
        "sharesOwnedAfter": 312450,
        "accessionNumber": "0000320193-25-000098",
        "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000098/xslF345X05/wf-form4.xml"
      },
      {
        "filingDate": "2025-08-04",
        "transactionDate": "2025-08-01",
        "insiderName": "O'BRIEN DEIRDRE",
        "insiderTitle": "Senior Vice President",
        "relationship": {
          "director": false,
          "officer": true,
          "tenPercentOwner": false
        },
        "security": "Common Stock",
        "transactionCode": "F",
        "transactionType": "Tax Withholding",
        "direction": null,
        "acquiredDisposed": "D",
        "shares": 8123,
        "pricePerShare": 232.1,
        "value": 1885348,
        "sharesOwnedAfter": 145200,
        "accessionNumber": "0000320193-25-000097",
        "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000097/xslF345X05/wf-form4.xml"
      }
    ],
    "summary": {
      "totalTransactions": 5,
      "distinctInsiders": 5,
      "buys": {
        "count": 1,
        "shares": 5000,
        "value": 1132000
      },
      "sells": {
        "count": 2,
        "shares": 585213,
        "value": 143349591
      },
      "netShares": -580213,
      "netValue": -142217591,
      "buySellRatio": 0.01,
      "sentiment": "Bearish",
      "clusterBuy": false
    }
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
tickerstring"AAPL"Stock ticker symbol for the company
cikstring"0000320193"SEC Central Index Key unique identifier
companystring"Apple Inc."Official registered name of the company
totalRecentForm4number512Total Form 4 filings in the company's recent feed
countnumber5Number of transactions returned in this response
lastTransactionDatestring"2025-10-14"Date of the most recent insider transaction
daysSinceLastTransactionPremiumnumber64Days since the most recent insider transaction
transactionsarray[5]Recent insider transactions, most recent first
filingDatestring"2025-10-16"Date the Form 4 was filed
transactionDatestring"2025-10-14"Date the transaction occurred
insiderNamestring"COOK TIMOTHY D"Name of the reporting insider
insiderTitlestring"Chief Executive Officer"Role or title of the insider
relationshipobject{...}Insider relationship flags (director, officer, 10% owner)
directorbooleantrue
officerbooleantrue
tenPercentOwnerbooleanfalse
securitystring"Common Stock"Title of the security transacted
transactionCodestring"S"SEC transaction code (P, S, A, M, F, ...)
transactionTypestring"Sale"Human-readable transaction type
directionstring"sell"Open-market direction (buy or sell), when applicable
acquiredDisposedstring"D"Whether shares were acquired (A) or disposed (D)
sharesnumber511000Number of shares in the transaction
pricePerSharenumber245.5Price per share for the transaction
valuenumber125450500Total transaction value (shares x price)
sharesOwnedAfternumber3280000Shares owned by the insider after the transaction
accessionNumberstring"0000320193-25-000118"SEC accession number for the filing
urlstring"https://www.sec.gov/Archives/edgar/data/320193/000032019325000118/xslF345X05/wf-form4.xml"Direct link to the Form 4 filing
summaryobject{...}Derived insider-sentiment summary
totalTransactionsPremiumnumber5Transactions in the summarized window
distinctInsidersPremiumnumber5Number of distinct insiders transacting
buysPremiumobject{...}Open-market buy totals (count, shares, value)
countPremiumnumber1Number of transactions returned in this response
sharesPremiumnumber5000
valuePremiumnumber1132000
sellsPremiumobject{...}Open-market sell totals (count, shares, value)
countPremiumnumber2Number of transactions returned in this response
sharesPremiumnumber585213
valuePremiumnumber143349591
netSharesPremiumnumber-580213Net shares bought minus sold (open-market)
netValuePremiumnumber-142217591Net dollar value bought minus sold (open-market)
buySellRatioPremiumnumber0.01Ratio of buy value to sell value
sentimentPremiumstring"Bearish"Insider sentiment read (Bullish, Bearish, Neutral)
clusterBuyPremiumbooleanfalseWhether multiple insiders bought in the window

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

Other ways to use Insider Trading

Set up Insider Trading on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKitReference →
Use it in Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheetsReference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContextReference →

More in Finance:

Was this page helpful?