Get insider trades
Get insider trades like buys and sells for a ticker by a company insider.
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: "financial-datasets",
path: "/insider-trades",
query: {
"ticker": "example"
}
});
console.log(output);Query parameters
The ticker symbol of the company.
The maximum number of transactions to return (default: 10). This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.
Filter by insider name (e.g., 'Jen Hsun Huang'). Use the /insider-trades/names endpoint to get available names for a ticker.
Filter by transaction type (e.g., 'Open market sale', 'Gift'). Use the /insider-trades/transaction-types endpoint to get available types.
Filter by SEC form type: 4 for trades, 5 for annual statements (or their amendments 4/A, 5/A).
Filter by exact filing date in YYYY-MM-DD format.
Filter by filing date greater than or equal to this date (YYYY-MM-DD).
Filter by filing date less than or equal to this date (YYYY-MM-DD).
Filter by filing date greater than this date (YYYY-MM-DD).
Filter by filing date less than this date (YYYY-MM-DD).
Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.