Holiday Sale! Get over 30% off when you subscribe to an annual plan!

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:

(4.1)

From 3,258 users

3,400+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
295ms329ms379ms618ms976ms

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

  • ticker  optional

    Company ticker symbol (e.g., AAPL, MSFT).

  • cik  optional

    Central Index Key (CIK) of the company (e.g., 789019).

  • name  optional

    Name of the insider (supports partial matching, e.g., Satya).

  • form_type  optional

    SEC form type: 3, 4, or 5.

  • transaction_type  optional

    Type of transaction (e.g., Purchase, Sale, Award).

  • transaction_code  optional

    Transaction code (e.g., P for Purchase, S for Sale, A for Award).

  • transaction_date  optional

    Transaction date in YYYY-MM-DD format (e.g., 2024-01-15).

  • min_transaction_date  optional

    Minimum transaction date in YYYY-MM-DD format.

  • max_transaction_date  optional

    Maximum transaction date in YYYY-MM-DD format.

  • insider_type  optional

    Type of insider: director (matches director or chairman), 10_percent_owner (matches 10% Owner), or officer (excludes director, 10% owner, and chairman).

  • min_transaction_value  optional

    Minimum transaction value in USD (e.g., 10000).

  • max_transaction_value  optional

    Maximum transaction value in USD (e.g., 1000000).

  • limit  optional premium only

    Maximum number of results to return. Max value is 100. Default value is 10.

  • offset  optional premium only

    Number of results to skip for pagination (default: 0).

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

  • accession_number

    The SEC accession number (filing ID) for the transaction.

  • form

    The SEC form type (3, 4, or 5).

  • filing_date

    The date the filing was submitted to the SEC (YYYY-MM-DD).

  • sec_filing_url

    URL to the SEC filing document.

  • cik

    The Central Index Key (CIK) of the company.

  • ticker

    The stock ticker symbol of the company.

  • company_name

    The name of the company (issuer).

  • insider_name

    The name of the insider who executed the transaction.

  • insider_position

    The position/title of the insider (e.g., CEO, Director, 10% Owner).

  • transaction_code

    The transaction code (e.g., P, S, A, D, F).

  • transaction_name

    Description of the transaction.

  • transaction_type

    The type of transaction (e.g., Purchase, Sale, Award).

  • transaction_price

    The price per share of the transaction.

  • shares

    The number of shares involved in the transaction.

  • transaction_value

    The total value of the transaction in USD.

  • pre_transaction_shares

    The number of shares held before the transaction.

  • pre_transaction_shares_value

    The total value of shares held before the transaction in USD (pre_transaction_shares × price).

  • remaining_shares

    The number of shares remaining after the transaction.

  • remaining_shares_value

    The total value of remaining shares after the transaction in USD (remaining_shares × price).

Sample Request Live Demo!

ticker
cik
name
form_type
insider_type

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/insidertransactions?ticker=AAPL

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
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

  • name  required

    Name of the insider (supports partial matching, e.g., Timothy Cook or Cook).

  • company_ticker  optional

    Company ticker symbol to filter transactions (e.g., AAPL, MSFT).

  • company_cik  optional

    Central 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-Key  required

    API Key associated with your account.

Response

  • insider_name

    The name of the insider.

  • position

    The position/title of the insider (e.g., CEO, Director, 10% Owner).

  • ticker

    The stock ticker symbol of the company.

  • cik

    The Central Index Key (CIK) of the company.

  • company_name

    The name of the company (issuer).

  • shares

    The number of shares currently owned by the insider (from their most recent filing's remaining_shares). May be null if not available.

  • value

    The total value of the shares in USD (shares × price from most recent filing). May be null if not available.

  • transactions

    An array of transaction objects with detailed information about each transaction.

Sample Request Live Demo!

name
company_ticker
company_cik

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/insiderdetails?name=Timothy%20Cook&company_ticker=AAPL

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
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

  • ticker  optional

    Company ticker symbol (e.g., AAPL, MSFT). Either ticker or CIK is required.

  • cik  optional

    Central Index Key (CIK) of the company (e.g., 789019). Either ticker or CIK is required.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

  • insider_name

    The name of the insider.

  • position

    The position/title of the insider (e.g., CEO, Director, 10% Owner).

  • shares

    The number of shares currently owned by the insider (from their most recent filing's remaining_shares).

  • value

    The total value of the shares in USD (shares × price from most recent filing).

  • last_filing_date

    The date of the insider's most recent filing (YYYY-MM-DD).

  • ticker

    The stock ticker symbol of the company.

  • cik

    The Central Index Key (CIK) of the company.

  • company_name

    The name of the company (issuer).

Sample Request Live Demo!

ticker
cik

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/insiderslist?ticker=AAPL

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
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.