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.
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.
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.
| Parameter | Type | Description |
|---|---|---|
tickerRequired | string | Stock ticker symbol (e.g. AAPL, MSFT, ADBE) length 1–6 |
typeOptionalPremium | string | Filter to open-market buys or sells (buy or sell). |
limitOptionalPremium | integer | Number 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.
{
"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.
| Field | Type | Example | Description |
|---|---|---|---|
ticker | string | "AAPL" | Stock ticker symbol for the company |
cik | string | "0000320193" | SEC Central Index Key unique identifier |
company | string | "Apple Inc." | Official registered name of the company |
totalRecentForm4 | number | 512 | Total Form 4 filings in the company's recent feed |
count | number | 5 | Number of transactions returned in this response |
lastTransactionDate | string | "2025-10-14" | Date of the most recent insider transaction |
daysSinceLastTransactionPremium | number | 64 | Days since the most recent insider transaction |
transactions | array[5] | Recent insider transactions, most recent first | |
filingDate | string | "2025-10-16" | Date the Form 4 was filed |
transactionDate | string | "2025-10-14" | Date the transaction occurred |
insiderName | string | "COOK TIMOTHY D" | Name of the reporting insider |
insiderTitle | string | "Chief Executive Officer" | Role or title of the insider |
relationship | object | {...} | Insider relationship flags (director, officer, 10% owner) |
director | boolean | true | |
officer | boolean | true | |
tenPercentOwner | boolean | false | |
security | string | "Common Stock" | Title of the security transacted |
transactionCode | string | "S" | SEC transaction code (P, S, A, M, F, ...) |
transactionType | string | "Sale" | Human-readable transaction type |
direction | string | "sell" | Open-market direction (buy or sell), when applicable |
acquiredDisposed | string | "D" | Whether shares were acquired (A) or disposed (D) |
shares | number | 511000 | Number of shares in the transaction |
pricePerShare | number | 245.5 | Price per share for the transaction |
value | number | 125450500 | Total transaction value (shares x price) |
sharesOwnedAfter | number | 3280000 | Shares owned by the insider after the transaction |
accessionNumber | string | "0000320193-25-000118" | SEC accession number for the filing |
url | string | "https://www.sec.gov/Archives/edgar/data/320193/000032019325000118/xslF345X05/wf-form4.xml" | Direct link to the Form 4 filing |
summary | object | {...} | Derived insider-sentiment summary |
totalTransactionsPremium | number | 5 | Transactions in the summarized window |
distinctInsidersPremium | number | 5 | Number of distinct insiders transacting |
buysPremium | object | {...} | Open-market buy totals (count, shares, value) |
countPremium | number | 1 | Number of transactions returned in this response |
sharesPremium | number | 5000 | |
valuePremium | number | 1132000 | |
sellsPremium | object | {...} | Open-market sell totals (count, shares, value) |
countPremium | number | 2 | Number of transactions returned in this response |
sharesPremium | number | 585213 | |
valuePremium | number | 143349591 | |
netSharesPremium | number | -580213 | Net shares bought minus sold (open-market) |
netValuePremium | number | -142217591 | Net dollar value bought minus sold (open-market) |
buySellRatioPremium | number | 0.01 | Ratio of buy value to sell value |
sentimentPremium | string | "Bearish" | Insider sentiment read (Bullish, Bearish, Neutral) |
clusterBuyPremium | boolean | false | Whether 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.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted | A key restriction or IP allow-list; see key scoping. |
429 | Rate limited, or out of credits | Read 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.
Related
More in Finance: