skillfed

openbb-congress-gov

Congress.gov Provider Extension for the OpenBB Platform

openbb-congress-gov v1.2.3 80.0K downloads/30d#14,327 on PyPI
License unclear Active released

What it is and what it does

This package is an OpenBB Platform extension that wraps the Congress.gov API, exposing U.S. legislative data through a unified Python interface. It lets you fetch lists of bills, retrieve summaries and metadata (including sponsors, committees, and related bills), download full bill text, and access bill text URLs in multiple formats. The package integrates into the OpenBB ecosystem, so if you have openbb-core installed, you access all endpoints under the `obb.uscongress` namespace.

The package is designed to work both as a programmatic library (for scripts and applications) and as a backend component for the OpenBB Workspace App, which provides a PDF viewer and linked query tool for browsing legislation. Configuration requires a free Congress.gov API key, which you set via environment variable, user settings file, or the OpenBB session API.

Use it for:

  • Fetch and analyze recent bills from Congress to monitor legislative activity in specific domains.
  • Build a research tool that retrieves bill summaries, sponsors, and committee assignments for a given bill number.
  • Download full bill text in multiple formats for document processing or archival.
  • Integrate legislative data into a financial or policy analysis platform via the OpenBB Platform.
  • Launch the OpenBB Workspace App to browse and read bills interactively with a PDF viewer.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides access to U.S. legislative data from Congress.gov, including bill lists, summaries, metadata, and full bill text through the OpenBB Platform.

Yes, if you need programmatic access to Congress.gov data and are already using or willing to adopt the OpenBB Platform. Low install friction and active maintenance are in its favor. However, verify the license terms first—the unclear license status is a material risk for commercial or restricted-use projects. Confirm that the Congress.gov API key meets your rate and availability requirements.

Install

openbb-congress-gov on PyPI

pip

pip install openbb-congress-gov

uv

uv add openbb-congress-gov

poetry

poetry add openbb-congress-gov

Installing openbb-congress-gov

Before you install

Low install friction as a pure Python wheel with a single runtime dependency on openbb-core. Actively maintained with a release within the last 80 days.

License in practice

License status is unclear—no SPDX identifier or raw license text is declared. Verify the actual license terms before adopting this package in a commercial or restricted-use context.

Quickstart

pip install openbb-congress-gov

from openbb import obb
bills = obb.uscongress.bills(limit=10)
bill_info = obb.uscongress.bill_info(bill_url="119/hr/1")

Requires a free Congress.gov API key, obtained by registering at https://api.congress.gov/sign-up/. Python 3.10 or later.

Verify before relying

  • Whether the package is actively maintained by OpenBB or community-driven; repo metadata is not available.
  • Exact license terms and any redistribution or commercial-use restrictions.
  • Whether the Congress.gov API key is truly free or has usage limits or cost tiers.

Package facts

License not declared (unclear)
Python support supports the current Python release (<4,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 1 — openbb-core
Maintenance actively maintained — 80 days since the last release
First released
Downloads 79,976/month — #14,327 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: openbb_congress_gov-1.2.3-py3-none-any.whl

Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

congress.gov api wrapperus legislative data accessbill information retrievalopenbb congress providerlegislative metadata and summariesbill text downloadercongress bills api client
legislative-dataapi-wrapperopenbb-extension

More WWW/HTTP packages