GnistAI GnistAI
Log in

Insider Trading

Corporate insider buy/sell transactions — Form 4 filings parsed for officer, director, and 10%+ owner trades.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: SEC EDGAR (Form 4)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/insider-trading/
Authentication

All 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_trades

Get 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.

ParameterTypeRequiredDescription
ticker_or_cikstringrequiredTicker symbol (e.g. "AAPL", "TSLA") or numeric CIK (e.g. "320193").
limitintegeroptionalMaximum Form 4 filings to parse (default 20, max 50). Each filing may contain multiple transactions. (default: 20)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_insider_trades",
    "arguments": {
      "ticker_or_cik": "example"
    }
  }
}
get_insider_summary

Get 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.

ParameterTypeRequiredDescription
ticker_or_cikstringrequiredTicker symbol (e.g. "AAPL") or numeric CIK (e.g. "320193").
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_insider_summary",
    "arguments": {
      "ticker_or_cik": "example"
    }
  }
}
report_feedback

Report 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'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/insider-trading/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_insider_trades", "arguments": {"ticker_or_cik": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/insider-trading/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_insider_trades",
    "arguments": {
      "ticker_or_cik": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Finance)

Resources