Insider Trading API
The Insider Trading API provides comprehensive insider trading transaction data from SEC filings (Form 3, Form 4, Form 5). Search and filter transactions by company, insider, transaction type, date range, and more.
Available endpoints:
- /v1/insidertransactions - Search and filter insider trading transactions
- /v1/insiderdetails - Get detailed transaction information for a given insider
- /v1/insiderslist - Retrieve a list of all insiders for a given company with their current share holdings
From 3,258 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 295ms | 329ms | 379ms | 618ms | 976ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/insidertransactions GET
https://api.api-ninjas.com/v1/insidertransactions
Returns a list of insider trading transactions that match the specified filters. All parameters are optional and can be combined for advanced filtering.
Parameters
tickeroptionalCompany ticker symbol (e.g.,
AAPL,MSFT).cikoptionalCentral Index Key (CIK) of the company (e.g.,
789019).nameoptionalName of the insider (supports partial matching, e.g.,
Satya).form_typeoptionalSEC form type:
3,4, or5.transaction_typeoptionalType of transaction (e.g.,
Purchase,Sale,Award).transaction_codeoptionalTransaction code (e.g.,
Pfor Purchase,Sfor Sale,Afor Award).transaction_dateoptionalTransaction date in
YYYY-MM-DDformat (e.g.,2024-01-15).min_transaction_dateoptionalMinimum transaction date in
YYYY-MM-DDformat.max_transaction_dateoptionalMaximum transaction date in
YYYY-MM-DDformat.insider_typeoptionalType of insider:
director(matches director or chairman),10_percent_owner(matches 10% Owner), orofficer(excludes director, 10% owner, and chairman).min_transaction_valueoptionalMinimum transaction value in USD (e.g.,
10000).max_transaction_valueoptionalMaximum transaction value in USD (e.g.,
1000000).limitoptional premium onlyMaximum number of results to return. Max value is
100. Default value is10.offsetoptional premium onlyNumber of results to skip for pagination (default: 0).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
accession_numberThe SEC accession number (filing ID) for the transaction.
formThe SEC form type (3, 4, or 5).
filing_dateThe date the filing was submitted to the SEC (YYYY-MM-DD).
sec_filing_urlURL to the SEC filing document.
cikThe Central Index Key (CIK) of the company.
tickerThe stock ticker symbol of the company.
company_nameThe name of the company (issuer).
insider_nameThe name of the insider who executed the transaction.
insider_positionThe position/title of the insider (e.g., CEO, Director, 10% Owner).
transaction_codeThe transaction code (e.g., P, S, A, D, F).
transaction_nameDescription of the transaction.
transaction_typeThe type of transaction (e.g., Purchase, Sale, Award).
transaction_priceThe price per share of the transaction.
sharesThe number of shares involved in the transaction.
transaction_valueThe total value of the transaction in USD.
pre_transaction_sharesThe number of shares held before the transaction.
pre_transaction_shares_valueThe total value of shares held before the transaction in USD (pre_transaction_shares × price).
remaining_sharesThe number of shares remaining after the transaction.
remaining_shares_valueThe total value of remaining shares after the transaction in USD (remaining_shares × price).
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/insidertransactions?ticker=AAPLHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[
{
"accession_number": "0002050912-25-000008",
"form": "Form 4",
"filing_date": "2025-10-17",
"sec_filing_url": "https://www.sec.gov/Archives/edgar/data/320193/0002050912-25-000008-index.html",
"cik": "320193",
"ticker": "AAPL",
"company_name": "Apple Inc.",
"insider_name": "Kevan Parekh",
"insider_position": "Senior Vice President, CFO",
"transaction_code": "S",
"transaction_name": "Open Market Sale",
"transaction_type": "sale",
"transaction_price": 248.73,
"shares": 500,
"transaction_value": 124365,
"pre_transaction_shares": 9265,
"pre_transaction_shares_value": 2304483.4499999997,
"remaining_shares": 8765,
"remaining_shares_value": 2180118.4499999997
},
{
"accession_number": "0002050912-25-000008",
"form": "Form 4",
"filing_date": "2025-10-17",
"sec_filing_url": "https://www.sec.gov/Archives/edgar/data/320193/0002050912-25-000008-index.html",
"cik": "320193",
"ticker": "AAPL",
"company_name": "Apple Inc.",
"insider_name": "Kevan Parekh",
"insider_position": "Senior Vice President, CFO",
"transaction_code": "S",
"transaction_name": "Open Market Sale",
"transaction_type": "sale",
"transaction_price": 247.82,
"shares": 1534,
"transaction_value": 380155.88,
"pre_transaction_shares": 10299,
"pre_transaction_shares_value": 2552298.1799999997,
"remaining_shares": 8765,
"remaining_shares_value": 2172142.3
},
{
"accession_number": "0002050912-25-000008",
"form": "Form 4",
"filing_date": "2025-10-17",
"sec_filing_url": "https://www.sec.gov/Archives/edgar/data/320193/0002050912-25-000008-index.html",
"cik": "320193",
"ticker": "AAPL",
"company_name": "Apple Inc.",
"insider_name": "Kevan Parekh",
"insider_position": "Senior Vice President, CFO",
"transaction_code": "S",
"transaction_name": "Open Market Sale",
"transaction_type": "sale",
"transaction_price": 245.89,
"shares": 500,
"transaction_value": 122945,
"pre_transaction_shares": 9265,
"pre_transaction_shares_value": 2278170.85,
"remaining_shares": 8765,
"remaining_shares_value": 2155225.85
}
]Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/insidertransactions?ticker=AAPL" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/v1/insiderdetails GET premium only
https://api.api-ninjas.com/v1/insiderdetails
Returns detailed transaction information for a given insider. Supports partial name matching and optional filtering by company.
Parameters
namerequiredName of the insider (supports partial matching, e.g.,
Timothy CookorCook).company_tickeroptionalCompany ticker symbol to filter transactions (e.g.,
AAPL,MSFT).company_cikoptionalCentral Index Key (CIK) of the company to filter transactions (e.g.,
789019).
Note: The endpoint returns a maximum of 10 transactions, ordered by filing date (most recent first).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
insider_nameThe name of the insider.
positionThe position/title of the insider (e.g., CEO, Director, 10% Owner).
tickerThe stock ticker symbol of the company.
cikThe Central Index Key (CIK) of the company.
company_nameThe name of the company (issuer).
sharesThe number of shares currently owned by the insider (from their most recent filing's remaining_shares). May be
nullif not available.valueThe total value of the shares in USD (shares × price from most recent filing). May be
nullif not available.transactionsAn array of transaction objects with detailed information about each transaction.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/insiderdetails?name=Timothy%20Cook&company_ticker=AAPLHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"insider_name": "Timothy D Cook",
"position": "Chief Executive Officer",
"ticker": "AAPL",
"cik": "320193",
"company_name": "Apple Inc.",
"shares": 3280295,
"value": 839296278.7,
"transactions": [
{
"accession_number": "0001214156-25-000011",
"form": "Form 4",
"filing_date": "2025-10-03",
"sec_filing_url": "https://www.sec.gov/Archives/edgar/data/320193/0001214156-25-000011-index.html",
"cik": "320193",
"ticker": "AAPL",
"company_name": "Apple Inc.",
"insider_name": "Timothy D Cook",
"insider_position": "Chief Executive Officer",
"transaction_code": "S",
"transaction_name": "Open Market Sale",
"transaction_type": "sale",
"transaction_price": 255.86,
"shares": 22524,
"transaction_value": 5762990.64,
"pre_transaction_shares": 3302819,
"pre_transaction_shares_value": 845059269.34,
"remaining_shares": 3280295,
"remaining_shares_value": 839296278.7
},
"..."
]
}Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/insiderdetails?name=Timothy%20Cook" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/v1/insiderslist GET premium only
https://api.api-ninjas.com/v1/insiderslist
Returns a list of all insiders for a given company (via ticker or CIK). For each insider, returns their name, position, and current share holdings based on their most recent filing.
Parameters
tickeroptionalCompany ticker symbol (e.g.,
AAPL,MSFT). Either ticker or CIK is required.cikoptionalCentral Index Key (CIK) of the company (e.g.,
789019). Either ticker or CIK is required.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
insider_nameThe name of the insider.
positionThe position/title of the insider (e.g., CEO, Director, 10% Owner).
sharesThe number of shares currently owned by the insider (from their most recent filing's remaining_shares).
valueThe total value of the shares in USD (shares × price from most recent filing).
last_filing_dateThe date of the insider's most recent filing (YYYY-MM-DD).
tickerThe stock ticker symbol of the company.
cikThe Central Index Key (CIK) of the company.
company_nameThe name of the company (issuer).
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/insiderslist?ticker=AAPLHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[
{
"insider_name": "Timothy D Cook",
"position": "Chief Executive Officer",
"shares": 3280295,
"value": 835917574.85,
"last_filing_date": "2025-10-03",
"ticker": "AAPL",
"cik": "320193",
"company_name": "Apple Inc."
},
{
"insider_name": "Susan Wagner",
"position": "Director",
"shares": 62491,
"value": null,
"last_filing_date": "2025-02-04",
"ticker": "AAPL",
"cik": "320193",
"company_name": "Apple Inc."
},
{
"insider_name": "Wanda M Austin",
"position": "Director",
"shares": 1588,
"value": null,
"last_filing_date": "2025-02-04",
"ticker": "AAPL",
"cik": "320193",
"company_name": "Apple Inc."
},
"..."
]Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/insiderslist?ticker=AAPL" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.