API Documentation

Query API

Insider Transactions API

Form D API

Download and PDF Generator API

XBRL to JSON Converter API

Mapping API

Form 3, 4, 5 Parse API

SRO Filings Database

Insider Transactions API

Discover and analyze insider buy and sell transactions for all publicly listed companies on US stock exchanges using the Insider Trading Data API. Gain insights into the activities of company directors, officers, 10% owners, and other executives, as the API provides comprehensive search capabilities. Key information includes the CIK and name of the insider, their relationship to the company, the number of shares and securities involved, purchase or selling prices, transaction dates, pre and post-transaction security holdings, footnotes (such as the impact of Rule 10b-18 or 10b5-1 stock purchase plans), and more. The complete list of available data points is provided below.

API Features:

  • HTTP POST-based API
  • Accepts search queries
  • Returns all matching insider transactions
  • All data points are searchable
  • Maximum of 50 insider transactions per query
  • Increment the 'from' parameter by 50 for each subsequent batch of matching transactions

Dataset Size: All filings on SEC EDGAR filed since 1993.

Data Update Frequency: Less than 300 milliseconds.

API Endpoint

https://api.secfilingdata.com/v1/filings/insidertrades/

Supported HTTP methods: POST

Request and response content type: JSON

Authentication

To authenticate and access the Insider Trading Data API, use the API key provided in your user profile after signing up. 1. Set as Authorization Header: Before making a POST request to `https://api.sec-api.io/insider-trading`, set the Authorization header in your request to `YOUR_API_KEY`.

Request Parameters

When interacting with the Insider Trading Data API, you can utilize various request parameters to tailor your search. Refer to the complete list of properties in the Response Structure section below. Construct your search query as a JSON-formatted payload using the specified structure.

query (object): The primary search query object expressed as `query_string`.

  • query (string): Examples: The `query_string` object. Examples: `"issuer.tradingSymbol:TSLA"` returns all insider transactions performed by Tesla executives.
from (string):

Set the `from` property to the starting position of your query. `from` is used to paginate through results. For example, set `from` to 10 if you want to ignore the first 10 filings.

size (string):

Number of filings returned per request. For example, set `size` to 10 to return 10 filings per request. Maximum: 50. Default: 50.

sort (array):

Array of objects describing how to order the returned filings.

Response Format

The response type is JSON, and the transactions array includes all XML-to-JS converted filings. Each array item represents a single SEC form 3, 4, or 5. Many data fields have optional footnotes attached, indicated by the "with footnote" mark.

Response Details

  • transactions (array): An array of all matching transactions. Each item represents the JSON-converted XML data of a matching filing.
  • accessionNo (string): Accession number of the original filing.
  • filedAt (dateTime): Date and time when the transaction filing was accepted by SEC EDGAR. Example: 2022-08-09T21:23:00-04:00
  • documentType (string):*Type of the form: 3, 3/A, 4, 4/A, 5, 5/A.
  • periodOfReport (date): Meaning in Form 3: date of event requiring statement. In Form 4: date of earliest transaction. In Form 5: statement for issuer's fiscal year end. Format: YYYY-MM-DD
  • dateOfOriginalSubmission (date): If amended, the date of the original filing in the format YYYY-MM-DD. Mandatory in Form 3/A, 4/A, and 5/A.
  • issuer (object): Issuer information
  • cik (string): CIK of issuer. Leading zeros are removed.
  • name (string): Issuer name.
  • tradingSymbol (string): Issuer trading symbol.
  • reportingOwner (object): Information about the reporting entity.
  • nonDerivativeTable (object): Table I - Non-Derivative Securities
  • transactions (array): Non-derivative transactions
  • derivativeTable (object): Table II - Derivative Securities
  • transactions (array): Derivative transactions
  • footnotes (array):Array of footnote objects.
  • id (string):ID
  • text (string): Footnote
  • remarks (array): Array of remark objects.
  • ownerSignatureName (string): Owner's signature name
  • ownerSignatureNameDate (date): Date of owner's signature