Congress.gov Intelligence - Bills, Members, Votes API

Congress.gov Intelligence - Bills, Members, Votes API

by benthepythondev

Extract US Congressional data from official Congress.gov API. Get bills, amendments, members, committees, hearings, nominations, treaties & CRS report...

5 runs
1 users
Try This Actor

Opens on Apify.com

About Congress.gov Intelligence - Bills, Members, Votes API

Extract US Congressional data from official Congress.gov API. Get bills, amendments, members, committees, hearings, nominations, treaties & CRS reports. Filter by congress, chamber, state, date. Includes AI relevance scoring. Perfect for political research, lobbying & legal compliance.

What does this actor do?

Congress.gov Intelligence - Bills, Members, Votes API is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Congress.gov Intelligence - US Congressional Data API Extract comprehensive US Congressional data from the official Congress.gov API. Get bills, amendments, members, votes, committees, hearings, nominations, treaties, and CRS research reports. ## Why This Actor? - Official API Source - Direct access to the Library of Congress Congress.gov API - No Bot Protection - API-based, 100% reliable data extraction - Comprehensive Coverage - 10 data types covering all congressional activities - AI Relevance Scoring - Automatic 0-100 scoring based on recency and importance - Full Details Mode - Get sponsors, cosponsors, summaries, actions, and bill text - Search & Filter - Find bills by keyword, congress, date range, and more ## Use Cases - Political Research - Track legislation on specific topics - Lobbying Intelligence - Monitor bills affecting your industry - Journalism - Find newsworthy legislative activity - Legal Compliance - Track regulatory changes - Academic Research - Historical congressional data analysis - Policy Tracking - Monitor specific legislators or committees ## Supported Data Types | Data Type | Description | Key Fields | |-----------|-------------|------------| | Bills | All legislation (H.R., S., resolutions) | Title, sponsor, status, actions, summary | | Amendments | Changes proposed to bills | Purpose, sponsor, status | | Members | Senators and Representatives | Party, state, district, committees | | Committees | Congressional committees | Chamber, members, jurisdiction | | Hearings | Committee hearings | Date, topic, witnesses | | Nominations | Presidential nominations | Nominee, position, status | | Treaties | International treaties | Topic, status, votes | | CRS Reports | Research Service reports | Topic, analysis, recommendations | | House Votes | Roll call votes (Beta) | Question, result, member votes | | Congressional Record | Official proceedings | Date, volume, debates | ## Getting Started ### 1. Get Your Free API Key 1. Go to https://api.congress.gov/sign-up/ 2. Fill in your name and email 3. Check your email for the API key (arrives within seconds) ### 2. Run the Actor json { "api_key": "YOUR_API_KEY_HERE", "data_type": "bills", "congress": 118, "search_query": "climate change", "max_results": 100, "enable_scoring": true } ## Input Parameters | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | api_key | string | Yes | Your Congress.gov API key | | data_type | string | Yes | Type of data to extract (see list above) | | congress | number | No | Filter by Congress number (e.g., 118 for 2023-2025) | | bill_type | string | No | Filter by bill type (hr, s, hjres, sjres, etc.) | | chamber | string | No | Filter by chamber (house, senate) | | state_code | string | No | Filter members by state (e.g., CA, TX) | | search_query | string | No | Keywords to search in titles/descriptions | | from_date | string | No | Start date (YYYY-MM-DD) | | to_date | string | No | End date (YYYY-MM-DD) | | include_details | boolean | No | Fetch full bill details (slower) | | include_text | boolean | No | Include bill text links | | max_results | number | No | Maximum results (default: 100) | | enable_scoring | boolean | No | Calculate relevance scores (default: true) | ## Example Output ### Bill Data json { "type": "bill", "data_source": "congress.gov", "bill_type": "HR", "number": "1234", "congress": 118, "title": "Clean Energy Innovation Act", "origin_chamber": "House", "latest_action": "Referred to the Committee on Energy and Commerce.", "latest_action_date": "2024-03-15", "sponsor": { "name": "Rep. Smith, John [D-CA-12]", "party": "D", "state": "CA", "bioguide_id": "S001234" }, "cosponsor_count": 45, "summary": { "text": "This bill promotes clean energy innovation...", "action_date": "2024-03-15", "action_desc": "Introduced in House" }, "subjects": ["Energy", "Climate Change", "Research"], "relevance_score": 85, "congress_gov_url": "https://www.congress.gov/bill/118th-congress/house-bill/1234", "scraped_at": "2024-03-20T10:30:00Z" } ### Member Data json { "type": "member", "data_source": "congress.gov", "bioguide_id": "P000197", "name": "Pelosi, Nancy", "party": "Democratic", "state": "CA", "district": 11, "chamber": "House of Representatives", "relevance_score": 80, "scraped_at": "2024-03-20T10:30:00Z" } ## Advanced Usage ### Track Specific Topics json { "api_key": "YOUR_KEY", "data_type": "bills", "congress": 118, "search_query": "artificial intelligence", "include_details": true, "max_results": 50 } ### Get All Senators from a State json { "api_key": "YOUR_KEY", "data_type": "members", "state_code": "TX", "chamber": "senate" } ### Recent Bills with Full Text json { "api_key": "YOUR_KEY", "data_type": "bills", "congress": 118, "from_date": "2024-01-01", "include_details": true, "include_text": true, "max_results": 25 } ## Relevance Scoring Each item receives an AI-calculated relevance score (0-100) based on: - Recency - Items updated in the last week score higher - Activity - Bills that became law or passed chambers score higher - Current Congress - Current congress items score higher - Status - Active members, pending nominations score higher ## Rate Limits The Congress.gov API has rate limits. This actor automatically: - Respects rate limits with built-in delays - Retries on 429 (rate limit) errors - Paginates large result sets efficiently ## Pricing This actor charges $3 per 1,000 results. You only pay for the data you receive. - Bills with basic info: $3/1K - Bills with full details: $5/1K (additional API calls) ## Support - Issues: GitHub Issues - Questions: Contact via Apify ## Changelog ### 1.0.0 (2024) - Initial release - Support for 10 data types - AI relevance scoring - Full details mode for bills - Search and filtering ## License MIT License - Free to use for any purpose. --- Built by benthepythondev | Data from official Congress.gov API

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Congress.gov Intelligence - Bills, Members, Votes API now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
benthepythondev
Pricing
Paid
Total Runs
5
Active Users
1
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support