Skip to content

johnisanerd/Apify-Congressional-Trading-Data-Scraper

Repository files navigation

Apify Congressional Trading Data Scraper

Scrape the US Congressional trading data: get transactions from both the House and the Senate.

The most efficient, reliable, and developer-friendly Google Jobs search scraper

🚀 Quick Start

Prerequisites

  • Python 3.7 or higher
  • An Apify account and API key

Setup Instructions

  1. Clone the repository

    git clone https://github.com/johnisanerd/Apify-Congressional-Trading-Data-Scraper.git
    cd Apify-Congressional-Trading-Data-Scraper
  2. Create a virtual environment (recommended)

    # Using venv (Python 3.3+)
    python -m venv venv
    
    # Activate the virtual environment
    # On macOS/Linux:
    source venv/bin/activate
    # On Windows:
    venv\Scripts\activate
  3. Install dependencies

    # Install from requirements.txt
    pip install -r requirements.txt
    
  4. Configure your API key

    # Copy the example environment file
    cp .env.example .env
    
    # Edit .env and add your Apify API key
    # Get your API key from: https://apify.com?fpr=9n7kx3
  5. Run the example

    python congress-stock-trades-scraper.py

Alternative: Direct API Key Usage

If you prefer not to use a .env file, you can set the environment variable directly:

export APIFY_API_TOKEN="your_api_key_here"
python congress-stock-trades-scraper.py

You can see more documentation on how to use the Congressional stock tradesscraper here.

Made with ❤️

Transform your search automation with the most reliable and efficient Congressional stock trades scraper on the market. Last Updated: 2025.10.18

About

Scrape the US Congressional trading data: get transactions from both the House and the Senate.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages