Skip to content
StockDatum
Docs Data Pricing Pay by card Connect
Free sample

Insider buying clusters API from SEC Form 4

Sometimes several insiders at the same company buy its stock on the open market within a short window. StockDatum summarises those filed purchases into one row per company and share class, called a cluster. Each row tells you how many insiders bought, how many purchase lines there were, their total dollar value, the first and last dates, and who the buyers were.

A cluster is a factual summary of what was filed. It's not a recommendation. Purchases made under plans, including 10b5-1 plans, are left out of the count.

Price: $0.03 per call, paid in USDC on Base over x402. Flat for up to 200 rows (limit 1 to 200, default 50). The amount is always shown in the 402 response before your agent pays. Free sample: GET /sample/clusters.

What you get back

Key fields (meanings as in the field reference):

FieldWhat it is
ticker, issuer_name, security_classThe company and share class
window_start, window_endThe look-back window for the run (window_days long)
n_insidersDistinct owner groups with at least one counted buy in the window
n_buysOpen-market purchase lines counted (Form 4 code P, plan lines left out)
total_valueUSD value of the priced buy lines
first_txn, last_txnEarliest and latest transaction dates among the buys
insiders, rolesWho bought, and their titles or roles
default_view1 when the cluster is discretionary and at least 3 insiders bought $10,000 or more each

All fields returned: run_date, generated_at_utc, window_days, window_start, window_end, issuer_cik, security_class, issuer_name, ticker, n_insiders, n_insiders_min_value, n_token_insiders, token_insiders, n_insiders_unpriced, n_buys, n_buys_no_price, total_value, top_insider_pct, first_txn, last_txn, insiders, joint_filers, roles, ceo_cfo, n_late_buys, late_filed, late_accessions, sic, sector_sic, fund_flag, n_first_buy_12m, n_first_buy_unknown, first_buy_12m_flag, n_10b5_1_buys_excluded, n_10b5_1_insiders, cluster_class, default_view.

Clusters come from the latest run only.

A real row from the free sample

{
  "run_date": "2026-12-01",
  "window_days": 30,
  "window_start": "2026-11-01",
  "window_end": "2026-12-01",
  "issuer_name": "Aspen Neuroscience, Inc.",
  "ticker": "ASPE",
  "security_class": "Common",
  "n_insiders": 4,
  "n_buys": 6,
  "total_value": 67999995,
  "first_txn": "2026-11-02",
  "last_txn": "2026-11-02",
  "roles": "10% owner; Director, 10% owner",
  "cluster_class": "discretionary",
  "default_view": 1
}

Free sample

Try it with no payment: curl https://api.stockdatum.com/sample/clusters returns 5 rows from the sample.

A paid call looks like this: curl -i "https://api.stockdatum.com/v1/clusters?view=default&limit=10". Unpaid, it returns HTTP 402 with the price.

How to call it

REST (x402). Send GET /v1/clusters to https://api.stockdatum.com. Without payment you get HTTP 402 and a PAYMENT-REQUIRED header that states the price. Your x402 client signs 0.03 USDC on Base (eip155:8453, scheme exact) and retries with PAYMENT-SIGNATURE. Then the rows come back as JSON.

MCP. Connect to https://api.stockdatum.com/mcp (streamable HTTP, no API key) and call the clusters tool with the same parameters. A call without payment returns the price as an x402 payment request. See Connect over MCP.

x402 calls need no account or API key. You can also pay by card for prepaid credits. A valid call that returns zero rows is not charged.

Parameters

ticker (optional), view (default returns rows with default_view 1, all returns every row of the latest run), limit (1 to 200, default 50).

FAQ

What is an insider buying cluster?

It's a factual summary of filed trades. It counts Form 4 open-market purchase lines (code P) by several insiders at one company and share class within the run's window. It's not a recommendation.

What does the default view show?

Rows where default_view is 1. Those are discretionary clusters (not fund issuers) in which at least 3 insiders bought $10,000 or more each. Use view=all for every row of the latest run.

Are 10b5-1 plan purchases counted?

No. Plan lines, including dividend reinvestment and 10b5-1 plans, are left out of n_buys. n_10b5_1_buys_excluded shows how many plan buys were left out.

How much does a clusters call cost?

$0.03 per call, paid in USDC on Base over x402, flat for up to 200 rows. A valid call that returns zero rows is not charged.

Is this investment advice?

No. It's data from public SEC filings, for information only.

Other datasets

  • Form 4 insider trades
  • Form 144 proposed sale notices
  • 13F institutional holdings
  • 8-K and 6-K filings

All prices · API docs · Connect over MCP · Home

Data from public SEC filings, for information only. Not investment advice. StockDatum is not affiliated with or endorsed by the U.S. Securities and Exchange Commission.

Data from public SEC filings, for information only. Not investment advice. StockDatum is not affiliated with or endorsed by the U.S. Securities and Exchange Commission.

Franck Labs Ltd, company no. 17544200. Registered office: 128 City Road, London EC1V 2NX. Registered with the ICO under reference ZC292546. Contact: data@stockdatum.com

Home · Docs · Pricing · Pay by card · Terms · Privacy

Data

  • Form 4 insider trades
  • Form 144 proposed sale notices
  • 13F institutional holdings
  • 8-K and 6-K filings
  • Insider buying clusters