Capitol Trades Congress Stock Trades Scraper avatar

Capitol Trades Congress Stock Trades Scraper

Pricing

Pay per event

Go to Apify Store
Capitol Trades Congress Stock Trades Scraper

Capitol Trades Congress Stock Trades Scraper

Scrape US congressional stock trades from Capitol Trades: politician, party, chamber, state, issuer, ticker, trade and publication dates, owner, buy or sell, size range and price. Filter by politician, issuer, ticker or trade type and export to JSON or CSV.

Pricing

Pay per event

Rating

0.0

(0)

Developer

DevilScrapes

DevilScrapes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 hours ago

Last modified

Share


🎯 What this scrapes

Every member of Congress who trades stocks has to disclose it, and the filings are scattered across House and Senate sites. This Actor reads the public disclosure feed on Capitol Trades and hands back one clean row per trade: who traded, which party, chamber and state, what issuer and ticker, when they traded and when it was published, whether it was a buy or a sell, the size bracket (with numeric min and max in USD) and the price. Narrow it by politician Bioguide id, issuer id, ticker or trade type, or just pull the latest feed. Data comes from public STOCK Act disclosures; Devil Scrapes is not affiliated with Capitol Trades.

🔥 What we handle for you

  • 🛡️ We rotate browser fingerprints so the target sees a real browser, not a Python script.
  • 🔁 We retry with exponential backoff on 408 / 429 / 5xx and honour Retry-After, up to 5 attempts per page.
  • 🌐 We rotate proxy sessions through Apify Proxy on every block.
  • 🧊 We keep the dataset clean -- Pydantic-validated rows, ISO-8601 dates, stable trade ids.
  • 🧱 A failed page never kills the run -- we skip it, keep going, and report it in the status message.
  • 💰 You pay only for results that land. No matching trades, no row charges (only the small start fee).

💡 Use cases

  • Retail-signal and quant feeds -- ingest congressional buys and sells with numeric size bounds as a raw factor.
  • Fintech newsletters and dashboards -- surface the latest politician trades in a daily or weekly brief.
  • Political-finance journalism -- pull every disclosed trade for one lawmaker by Bioguide id, with filing delay in days.
  • Watchlist monitoring -- keep only the tickers you care about with the ticker filter.
  • Compliance and research -- compare trade dates against publication dates across parties and chambers.

⚙️ How to use it

  1. Click Try for free at the top of the page.
  2. Fill in the input form — most fields have sensible defaults.
  3. Click Start. Output streams into the run's dataset.
  4. Export from Storage → Dataset as JSON, CSV, or Excel — or fetch via the API.

📥 Input

FieldTypeRequiredDefaultNotes
politician_idsarrayno[]Bioguide ids (e.g. P000197). One query per id. Leave empty for all politicians.
issuer_idsarrayno[]Capitol Trades issuer ids (digits). One query per id; combined with politician ids as a cross product.
tx_typestringno'all'Only buys, only sells, or all trades.
name_containsstringno'—'Case-insensitive filter on politician or issuer name, applied to fetched rows.
tickersarrayno[]Keep only rows whose ticker matches (e.g. NVDA or NVDA:US).
max_pagesintegerno3Page cap per query (96 rows per page).
max_rowsintegerno300Global cap on rows emitted; the run stops fetching once reached.
proxy_configurationobjectno{'useApifyProxy': True}Apify datacenter proxy by default. Residential is opt-in.

Example input

{
"politician_ids": [
"P000197"
],
"max_pages": 1,
"max_rows": 5,
"proxy_configuration": {
"useApifyProxy": true
}
}

📤 Output

Every row is one dataset item.

FieldTypeNotes
trade_idstringCapitol Trades trade id.
trade_urlstringAbsolute trade-detail URL.
politician_idstringBioguide id.
politician_namestringPolitician name.
partystringParty.
chamberstringHouse or Senate.
statestringUS state code.
issuer_idstringCapitol Trades issuer id.
issuer_namestringIssuer name.
tickerstringTicker as served, e.g. NOW:US.
published_atstringISO date the disclosure was published.
published_rawstringPublished cell text as served.
traded_atstringISO date of the trade.
traded_rawstringTraded cell text as served.
filed_after_daysintegerDays between trade and filing.
ownerstringOwner: Joint, Spouse, Self, Child, Undisclosed.
tx_typestringbuy, sell or exchange.
size_rangestringSize bucket string, en dash preserved.
size_min_usdintegerLower bound of size bucket in USD.
size_max_usdintegerUpper bound of size bucket in USD.
price_usdnumberPrice per unit in USD.
scraped_atstringISO-8601 UTC scrape time.

Example output

{
"trade_id": "20003802997",
"trade_url": "https://www.capitoltrades.com/trades/20003802997",
"politician_id": "S000168",
"politician_name": "Maria Elvira Salazar",
"party": "Republican",
"chamber": "House",
"state": "FL",
"issuer_id": "2264488",
"issuer_name": "Berkshire Hathaway Inc",
"ticker": "BRK/B:US",
"published_at": "2026-10-08",
"published_raw": "Yesterday",
"traded_at": "2026-09-24",
"traded_raw": "24 Sept 2026",
"filed_after_days": 13,
"owner": "Undisclosed",
"tx_type": "sell",
"size_range": "1K–15K",
"size_min_usd": 1000,
"size_max_usd": 15000,
"price_usd": 505.18,
"scraped_at": "2026-10-09T03:49:55+00:00"
}

💰 Pricing

Pay-Per-Event — you pay only when these events fire:

EventUSDWhat it is
actor-start$0.20One-off warm-up charge per run
trade-row$0.0025PPE event

Example: 1 000 trades at the rates above ≈ $2.70. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

🚧 Limitations

  • Trade-level rows only -- politician profiles, issuer profiles and portfolio statistics are out of scope.
  • Size is a disclosure bracket, not an exact dollar amount.
  • Name and ticker filters are applied to fetched rows; use politician and issuer ids to narrow the pages fetched.
  • Each run is capped by max pages per query and max rows, so large pulls take several runs or higher caps.

❓ FAQ

Where does the data come from?

From the public STOCK Act disclosures of US House and Senate members, as listed on Capitol Trades. Devil Scrapes is not affiliated with Capitol Trades.

How do I find a politician's id?

Use the Bioguide id, e.g. P000197 for Nancy Pelosi. It is the id in the politician's Capitol Trades profile link.

Why is the size a range instead of an exact amount?

Disclosures report value brackets, not exact amounts. We keep the bracket string as published and add size_min_usd and size_max_usd as integers so you can filter and sort.

What does a null ticker or price mean?

Some disclosed assets (municipal bonds, private funds, options) have no listed ticker or price. We return those rows with the field set to null rather than dropping them.

What happens if my filters match nothing?

The run succeeds with zero rows and a status message listing the filters searched. You pay only the small start fee.

💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an issue on the Actor's Issues tab on Apify Console — we ship fixes weekly and we read every report.