# Congress Stock Trades API — Senate & House (STOCK Act) (`smartmoney-data/congress-stock-trades-tracker`) Actor

Stock trades by US Senators and Representatives from official STOCK Act disclosures, House and Senate in one schema: ticker, buy/sell, amount range, owner, and days to disclose. Filter by politician or ticker. Pay per result.

- **URL**: https://apify.com/smartmoney-data/congress-stock-trades-tracker.md
- **Developed by:** [SmartMoney Data](https://apify.com/smartmoney-data) (community)
- **Categories:** Business, AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 congressional trades

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Congress Stock Trades API — Senate & House (STOCK Act)

**Follow the stock trades of US Senators and Representatives, straight from their official STOCK Act disclosures — one clean table for both chambers.**

Members of Congress must disclose stock trades over $1,000 within 45 days. The Senate publishes them behind a session-gated search site; the House publishes them as PDFs. This Actor handles both and gives you structured data: who traded, what, when, how much — and how late they reported it.

> Part of the **SmartMoney Data** suite: [Insider Trades](https://apify.com/smartmoney-data/sec-insider-trades-tracker) · [Hedge Fund 13F Holdings](https://apify.com/smartmoney-data/sec-13f-hedge-fund-tracker) · [Congress Stock Trades](https://apify.com/smartmoney-data/congress-stock-trades-tracker) · [Form 144 Planned Sales](https://apify.com/smartmoney-data/sec-form-144-planned-insider-sales) · [13D/13G Activist Stakes](https://apify.com/smartmoney-data/sec-13d-13g-activist-stakes)

### What you can do with it

- 📈 **"Congress buys" strategies** — the idea behind popular congressional-trading ETFs, as raw data.
- 🔔 **Alerts** — get notified when any member trades a stock on your watchlist.
- 📰 **Journalism & watchdogs** — track conflicts of interest and late disclosures.
- 📊 **Research** — committee-member trading, sector patterns, timing studies.
- 🤖 **AI agents & apps** — "Who in Congress traded NVDA this quarter?" as one API call.

### Features

- ✅ **Both chambers** — Senate electronic filings and House PDF filings, normalised into one schema
- ✅ **Politician, chamber, state & district**
- ✅ **Ticker, asset name & asset type** (stocks, options, bonds, funds…)
- ✅ **Purchase / Sale (Full) / Sale (Partial) / Exchange**
- ✅ **Amount range** as text *and* numeric `amountMin` / `amountMax` for filtering and sorting
- ✅ **Owner** — Self, Spouse, Joint or Dependent Child
- ✅ **`reportingLagDays`** — days between the trade and its disclosure (spot late filers)
- ✅ Filters by politician, ticker, transaction type and minimum amount — **you only pay for rows you keep**
- ✅ **Summary** of the most-traded tickers and per-politician buy/sell counts
- ✅ Link to the original official filing on every row

### How to use it

#### Everything disclosed in the last 30 days

```json
{ "lookbackDays": 30 }
```

#### One member's large purchases over the past year

```json
{
  "politicians": ["Pelosi"],
  "transactionTypes": ["purchase"],
  "minAmountUsd": 50000,
  "lookbackDays": 365
}
```

#### Who in Congress traded these stocks this quarter?

```json
{ "tickers": ["NVDA", "MSFT", "LMT"], "lookbackDays": 90 }
```

#### Senate only

```json
{ "chambers": ["senate"], "lookbackDays": 14 }
```

### Output

One row per trade. Example (illustrative values):

```json
{
  "politician": "Jane Q. Public",
  "chamber": "House",
  "state": "CA",
  "district": "11",
  "owner": "Spouse",
  "ticker": "GOOGL",
  "assetName": "Alphabet Inc. - Class A",
  "assetType": "ST",
  "transactionType": "Purchase",
  "transactionDate": "2026-09-01",
  "disclosureDate": "2026-09-16",
  "reportingLagDays": 15,
  "amountRange": "$250,001 - $500,000",
  "amountMin": 250001,
  "amountMax": 500000,
  "comment": null,
  "filingUrl": "https://disclosures-clerk.house.gov/public_disc/ptr-pdfs/…pdf"
}
```

Download as **JSON, CSV, Excel, XML or HTML**, or fetch via API. The **`SUMMARY`** record in the key-value store lists the most-traded tickers (and who traded them) plus per-politician purchase/sale counts.

### Use it from code or an AI agent

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("smartmoney-data/congress-stock-trades-tracker").call(
    run_input={"tickers": ["NVDA"], "lookbackDays": 90}
)
for t in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(t["politician"], t["transactionType"], t["amountRange"])
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('smartmoney-data/congress-stock-trades-tracker').call({ lookbackDays: 7 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**AI agents:** add this Actor as a tool through the [Apify MCP server](https://mcp.apify.com). **No-code:** schedule it daily and send new trades to Google Sheets, Slack, Discord, email, Zapier or Make.

### Pricing

**Pay per result** — you're charged for each trade returned; filtered-out trades are free. See the **Pricing** tab for current rates. Set a *maximum cost per run* and the Actor stops cleanly when it's reached.

### FAQ

**Why are amounts ranges instead of exact values?**
The STOCK Act only requires members to disclose a range (e.g. $1,001–$15,000). `amountMin`/`amountMax` make those ranges sortable and filterable.

**How quickly do trades show up?**
Members have up to 45 days to disclose, so trades appear when the member files — `reportingLagDays` shows how long they took.

**Are all filings included?**
All electronically filed periodic transaction reports. A small share of filings are handwritten paper scans that can't be read reliably; these are skipped and counted in `SUMMARY.paperOrScanned`.

**How accurate is the House data?**
House disclosures are PDFs; the parser rebuilds wrapped asset names and amounts, and every row links to the source filing so you can verify it. If you spot a mis-parsed filing, send us the link and we'll fix it.

**Is this legal to use?**
Yes. These are public disclosures published by the US Senate and House under the STOCK Act.

### Related Actors

- 👔 [SEC Insider Trades Tracker](https://apify.com/smartmoney-data/sec-insider-trades-tracker) — what CEOs and directors are buying and selling.
- 🏦 [Hedge Fund 13F Holdings Tracker](https://apify.com/smartmoney-data/sec-13f-hedge-fund-tracker) — what Berkshire, Pershing Square & co. bought and sold last quarter.
- 🚨 [Form 144 Planned Insider Sales](https://apify.com/smartmoney-data/sec-form-144-planned-insider-sales) — executives and directors who have filed to sell, before the sale happens.
- 🎯 [13D & 13G Activist Stakes](https://apify.com/smartmoney-data/sec-13d-13g-activist-stakes) — activist funds and 5%+ owners, with their stated purpose.

### Support

Found a bug or need a feature? Open an issue on the **Issues** tab or email **smartmoney-data@googlegroups.com** — we usually reply within a day.

*Data is provided for informational purposes only and is not investment advice.*

# Actor input Schema

## `chambers` (type: `array`):

Which chambers to include: senate, house.

## `lookbackDays` (type: `integer`):

Include reports disclosed within this many days.

## `politicians` (type: `array`):

Only these members (name or last name, e.g. 'Pelosi'). Leave empty for everyone.

## `tickers` (type: `array`):

Only trades in these tickers (e.g. NVDA). Leave empty for all assets.

## `transactionTypes` (type: `array`):

Only these types: purchase, sale, exchange. Leave empty for all.

## `minAmountUsd` (type: `integer`):

Skip trades whose disclosed range tops out below this value (e.g. 50000 drops the $1,001–$15,000 bucket).

## `maxReportsPerChamber` (type: `integer`):

Upper bound on disclosure reports processed per chamber (newest first).

## Actor input object example

```json
{
  "chambers": [
    "senate",
    "house"
  ],
  "lookbackDays": 30,
  "politicians": [],
  "tickers": [],
  "transactionTypes": [],
  "minAmountUsd": 0,
  "maxReportsPerChamber": 200
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("smartmoney-data/congress-stock-trades-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("smartmoney-data/congress-stock-trades-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call smartmoney-data/congress-stock-trades-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,smartmoney-data/congress-stock-trades-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0HgN7e5tveXUbAU1W/builds/fSB2DYsYHUtGNr6Hu/openapi.json
