insider_history
One insider's Form-4 transaction trail + their OWN-history baseline — the audit surface behind an 'unusual buy'. Returns recent transactions (class, shares, value_usd, filing_date, is_planned) plus baseline stats computed from the insider's history up to as_of: n_open_market_buys, n_open_market_buys_5y, median_buy_usd, last_buy_date, is_first_buy_in_5y, is_outsized_vs_own_median. A CEO who buys every quarter is not a signal; a first buy in five years is — this lets you see which.
PIT-honest: both the trail and the baseline are computed from filing_date <= as_of, so a historical query never sees future trades (the baseline is NOT read from the as-of-today baselines table). Aggregates price-sanitized value_usd.
Code G rows are class gift with gift_kind = gift | intra_owner_transfer; their value_usd is ESTIMATED (value_estimated=true, market close x shares) and labeled in value_note. price_market_ratio far from 1 means the price was filed in local currency (e.g. BRL); value_usd is already converted. Each transaction carries accession + filing_url (its Form 4; open with get_filing).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"insider_cik": "<insider_cik>"
},
"name": "insider_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | PIT cutoff YYYY-MM-DD. Default today. | |
| limit | No | Max transactions returned (default 50, max 200). | |
| insider_cik | Yes | The reporting owner's SEC CIK (required). From insider_flow / insiders_of_company. |