Aggregate insider activity for a company or insider
get_insider_statsTotals over one company and/or one insider, plus transaction_ids for every contributing row (feed those to get_insider_transactions_by_id for the detail; transaction_ids is paged by ids_page / ids_page_size — 200 per page by default, 1000 max — while ids_total and ids_has_more describe the whole set, and get_insider_transactions_by_id accepts at most 100 ids per call). Requires ticker and/or insider_cik. Key names inside stats follow method: acquired/disposed for "ad", bought/sold for "ps". Value totals count transactions with no cash price as 0. Share totals and average prices use the adjusted basis and exclude rows whose shares field holds a debt principal amount. corporate_action_crossing is true when the window spans a corporate action. corporate_actions is returned only when anchored on a ticker that has corporate actions on file. Whenever transactions were excluded, skipped or have no cash value, _warnings states the count and the parameter that changes it — read _warnings before using any total. start_date_applied / as_of_date_applied echo the window actually used; results are limited to your plan's history window. A ticker outside your plan's company coverage returns 403 PLAN_TIER_INSUFFICIENT_COVERAGE and is still charged. 40 credits + 5 per 1000 participating transactions. POST /api/v1/ownership/stats; FINANCIAL_API_DOCUMENTATION.md.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | "ad" (default) splits on acquired_disposed_code; "ps" treats P as a buy and S as a sell and narrows the scope to those two codes. | ad |
| ticker | No | Company ticker. Provide this and/or insider_cik. | |
| ids_page | No | Page for transaction_ids only (default 1). | |
| as_of_date | No | YYYY-MM-DD window end on the transaction date; filings submitted after it are excluded too. Must not be in the future. | |
| start_date | No | YYYY-MM-DD window start. | |
| insider_cik | No | Insider SEC CIK, digits only. Provide this and/or ticker. | |
| relationship | No | Any of "is_director", "is_officer", "is_ten_percent_owner", "is_other"; OR semantics, evaluated per filing. | |
| ids_page_size | No | transaction_ids per page, 1-1000 (default 200). | |
| is_derivative | No | Restrict to derivative (true) or non-derivative (false) rows. | |
| transaction_code | No | SEC transaction codes to keep (<= 20). | |
| include_anomalies | No | Include transactions carrying data_quality_flags (excluded by default). | |
| exclude_likely_merged | No | Drop filings whose amendment merge is only probable. | |
| include_unresolved_amendments | No | Include amendments that could not be matched to an original filing. |