Data source: SEC EDGAR (Form 4)
https://context.gnist.ai/rest/insider-trading/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (3)
get_insider_tradesGet recent insider buy/sell transactions for a public company.
Parses SEC Form 4 filings to extract individual transactions by
corporate insiders (officers, directors, 10%+ owners). Shows who
traded, what they traded, how many shares, at what price, and
their remaining holdings.
Transaction codes:
- P = Purchase (open market buy)
- S = Sale (open market sell)
- M = Exercise/conversion of derivative (e.g. stock option)
- A = Grant/award
- F = Tax withholding
Examples:
get_insider_trades("AAPL") → Recent Apple insider transactions
get_insider_trades("TSLA", limit=10) → Last 10 Tesla Form 4 filings
Returns:
Company info and list of transactions sorted by date (newest first),
each with owner details, shares, price, and post-transaction holdings.
| Parameter | Type | Required | Description |
|---|---|---|---|
ticker_or_cik | string | required | Ticker symbol (e.g. "AAPL", "TSLA") or numeric CIK (e.g. "320193"). |
limit | integer | optional | Maximum Form 4 filings to parse (default 20, max 50). Each filing may contain multiple transactions. (default: 20) |
{
"ticker_or_cik": "example"
}get_insider_summaryGet aggregated insider trading activity for a company.
Analyzes recent Form 4 filings and summarizes:
- Net buying vs selling sentiment (are insiders buying or selling?)
- Total shares bought and sold across all insiders
- Per-insider breakdown: name, title, shares bought/sold, net position
Useful for gauging insider confidence in a company's prospects.
Heavy insider buying often signals management confidence; heavy
selling may indicate concern (though selling for diversification
or tax reasons is common).
Examples:
get_insider_summary("AAPL") → Apple insider buy/sell summary
get_insider_summary("NVDA") → NVIDIA insider activity overview
Returns:
Overall buy/sell sentiment, total shares bought and sold,
and per-insider summary with relationship and activity.
| Parameter | Type | Required | Description |
|---|---|---|---|
ticker_or_cik | string | required | Ticker symbol (e.g. "AAPL") or numeric CIK (e.g. "320193"). |
{
"ticker_or_cik": "example"
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"feedback": "example"
}Quick Start
curl -X POST "https://context.gnist.ai/rest/insider-trading/get_insider_trades" \
-H "Content-Type: application/json" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"ticker_or_cik": "example"}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/rest/insider-trading/get_insider_trades",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
json={
"ticker_or_cik": "example"
},
)
print(resp.json())