NsiderAPI
Access real-time insider trading data, historical transactions, and sentiment scores programmatically. Build your own tools and integrations.
Everything You Need to Build
Real-time data, powerful filtering, and AI-powered sentiment analysis
Real-Time Data
Access insider trades as soon as they're filed with the SEC. No delays, no caching.
Powerful Filtering
Filter by ticker, company, insider, trade type, value range, and date. Combine multiple filters for precise queries.
AI Sentiment Analysis
Get AI-powered sentiment scores based on insider trading activity. Know if insiders are bullish or bearish.
API Endpoints
Complete reference for all available endpoints
/api/v1/tradesGet insider trades with filtering and pagination
Parameters
tickerstring• Filter by stock tickercompanystring• Filter by company nameinsiderstring• Filter by insider nametrade_typestring• Filter by trade typemin_valuenumber• Minimum trade valuemax_valuenumber• Maximum trade valuestart_datestring• Start date (YYYY-MM-DD)end_datestring• End date (YYYY-MM-DD)limitnumber• Number of results (1-1000)offsetnumber• Number of results to skip/api/v1/trades/searchSearch trades by company, insider, or ticker
Parameters
qstring• Search query (required)limitnumber• Number of results (1-1000)/api/v1/trades/recentGet trades from the last N hours
Parameters
hoursnumber• Number of hours to look back (1-168)/api/v1/trades/significantGet significant trades above a minimum value
Parameters
min_valuenumber• Minimum trade value (default: 1000000)limitnumber• Number of results (1-1000)/api/v1/stocks/{ticker}/quoteGet real-time stock quote data
Parameters
tickerstring• Stock ticker symbol (path parameter)/api/v1/stocks/{ticker}/sentimentGet AI-powered sentiment analysis based on insider activity
Parameters
tickerstring• Stock ticker symbol (path parameter)force_recalculateboolean• Force recalculation of sentiment/api/v1/filingsGet SEC filings with filtering and pagination
Parameters
form_typestring• Filter by form type (10-K, 10-Q)tickerstring• Filter by stock tickercompanystring• Filter by company namelimitnumber• Number of results (1-500)offsetnumber• Number of results to skip/api/v1/filings/{accession_number}Get a specific filing by accession number
Parameters
accession_numberstring• SEC filing accession number (path parameter)Getting Started
Learn how to authenticate and make your first API request
Authentication
All API requests require authentication using an API key. Include your API key in the request headers using one of the following methods:
Option 1: X-API-Key Header
X-API-Key: your_api_key_hereOption 2: Authorization Bearer
Authorization: Bearer your_api_key_hereBase URL
All API requests should be made to:
https://api.nsideralert.com/api/v1Example Requests
cURL
curl -X GET "https://api.nsideralert.com/api/v1/trades?ticker=AAPL&limit=10" \ -H "X-API-Key: your_api_key_here"
Python
import requests
headers = {
"X-API-Key": "your_api_key_here"
}
response = requests.get(
"https://api.nsideralert.com/api/v1/trades",
headers=headers,
params={"ticker": "AAPL", "limit": 10}
)
data = response.json()JavaScript (Fetch)
const response = await fetch(
"https://api.nsideralert.com/api/v1/trades?ticker=AAPL&limit=10",
{
headers: {
"X-API-Key": "your_api_key_here"
}
}
);
const data = await response.json();Response Format
All responses are returned in JSON format. Successful requests return a 200 status code with the requested data. Errors return appropriate HTTP status codes with error details.
{
"trades": [
{
"id": 12345,
"ticker": "AAPL",
"company": "Apple Inc.",
"insider": "Tim Cook",
"trade_type": "P - Purchase",
"price": "150.25",
"quantity": 10000,
"value": "1502500.00",
"trade_date": "2024-01-15"
}
],
"count": 1,
"limit": 10,
"offset": 0
}Request API Access
Loading...