Get insider trading transactions
Returns a list of insider trading transactions that match the specified filters. Returns at most 100 results per request. For more results, use the offset parameter.
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/insidertransactions"
});
console.log(output);Query parameters
Company ticker symbol (e.g., AAPL, MSFT).
Central Index Key (CIK) of the company.
Name of the insider (exact match). Use /v1/insiderslist to look up insider names.
SEC form type (3, 4, or 5). (Allowed: 3, 4, 5)
Type of transaction (e.g., Purchase, Sale, Award, etc.).
Transaction code (e.g., P, S, A, D, F, etc.).
Transaction date in YYYY-MM-DD format.
Minimum transaction date in YYYY-MM-DD format.
Maximum transaction date in YYYY-MM-DD format.
Type of insider: 'director' (matches director or chairman), '10_percent_owner' (matches 10% Owner), or 'officer' (excludes director, 10% owner, and chairman). (Allowed: director, 10_percent_owner, officer)
Minimum transaction value in USD.
Maximum transaction value in USD.
Maximum number of results to return (1-100, default: 25). (Default: 10)
Number of results to skip for pagination (default: 0). (Default: 0)