# Openinsider — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Track insider trading activity by accessing the latest SEC filings, identifying cluster buys, and discovering top insider purchases with advanced filtering capabilities. Screen stocks based on insider behavior patterns and visualize buy/sell trends to inform your investment decisions.

**Category:** Finance & Markets | **Website:** [openinsider.com/](https://openinsider.com/) | **Docs:** [parse.bot/marketplace/88f73872-5d69-4116-ac77-8714c0eff84c/openinsider-com-api](https://parse.bot/marketplace/88f73872-5d69-4116-ac77-8714c0eff84c/openinsider-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-openinsider-com-api-88f73872/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_insider_buy_sell_chart_data

Retrieve aggregated daily purchase and sale filing counts and values from the historical dataset. Returns one row per trading day with totals. When filtering by date, provide both start_date and end_date together in YYMMDD format for a bounded range. Omitting both returns the complete dataset.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `end_date` | string | No | End date filter in YYMMDD format (e.g. '260424' for 2026-04-24). Should be used together with start_date. |
| `start_date` | string | No | Start date filter in YYMMDD format (e.g. '260401' for 2026-04-01). Should be used together with end_date. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-openinsider-com-api-88f73872/get_insider_buy_sell_chart_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date":"<string>","start_date":"<string>"}'
```

### get_latest_cluster_buys

Fetch the latest cluster buys — instances where multiple insiders purchased shares of the same company within a short period. Includes industry classification and insider count. Useful for identifying coordinated insider buying signals.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-openinsider-com-api-88f73872/get_latest_cluster_buys \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_latest_insider_trading

Fetch the latest insider trading filings (purchases and sales). Returns up to 100 of the most recent SEC Form 4 filings with details including filing date, trade date, ticker, company, insider name, title, trade type, price, quantity, ownership change, and value.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-openinsider-com-api-88f73872/get_latest_insider_trading \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_ticker_insider_trades

Retrieve all insider trades for a specific stock ticker symbol. Returns the complete history of SEC Form 4 filings for that company, including purchases and sales by all insiders.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ticker` | string | Yes | Stock ticker symbol (e.g. AAPL, MSFT, TSLA). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-openinsider-com-api-88f73872/get_ticker_insider_trades \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ticker":"<string>"}'
```

### get_top_insider_purchases_month

Fetch top insider purchases for the past month, ranked by trade value. Returns the largest insider buy transactions filed with the SEC in the last 30 days.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-openinsider-com-api-88f73872/get_top_insider_purchases_month \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### screener

Advanced screener with filtering options for insider trades. Returns paginated results filtered by trade type, insider role, price range, sector, industry, and date range. Supports filtering for CEO and CFO trades specifically.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `filing_date_range` | string | No | Number of days back for filing date filter. |
| `industry` | string | No | SIC industry code to filter by. |
| `is_ceo` | string | No | Filter for CEO trades. Set to '1' to include only CEO trades. |
| `is_cfo` | string | No | Filter for CFO trades. Set to '1' to include only CFO trades. |
| `max_price` | string | No | Maximum share price filter. |
| `min_price` | string | No | Minimum share price filter. |
| `page` | integer | No | Page number for pagination. |
| `purchases` | string | No | Include purchases. '1' to include, '0' to exclude. |
| `sales` | string | No | Include sales. '1' to include, '0' to exclude. |
| `sector` | string | No | SIC sector code to filter by (e.g. 10, 15, 20, 25, 30, 35, 40, 45, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 65, 70, 73, 78, 79, 80, 82, 87, 99). |
| `ticker` | string | No | Stock ticker symbol to filter by (e.g. AAPL). |
| `trade_date_range` | string | No | Number of days back for trade date filter. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-openinsider-com-api-88f73872/screener \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filing_date_range":"<string>","industry":"<string>","is_ceo":"<string>","is_cfo":"<string>","max_price":"<string>","min_price":"<string>","page":"<integer>","purchases":"<string>","sales":"<string>","sector":"<string>","ticker":"<string>","trade_date_range":"<string>"}'
```
