openbb-congress-gov
Congress.gov Provider Extension for the OpenBB Platform
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-govuv
uv add openbb-congress-govpoetry
poetry add openbb-congress-govInstalling 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
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
openbb-federal-reserveIntegrates Federal Reserve data sources into…
agpl · top 15,000 on PyPI
openbb-blsIntegrates the U.S. Bureau of Labor Statistics…
agpl · top 15,000 on PyPI
openbbUnified interface to fetch financial market…
agpl · top 15,000 on PyPI
openbb-fredIntegrates FRED (Federal Reserve Economic Data)…
agpl · top 15,000 on PyPI
openbb-government-usIntegrates US Government data sources…
agpl · top 15,000 on PyPI
openbb-imfProvides a provider extension for the OpenBB…
agpl · top 15,000 on PyPI
openbb-us-eiaIntegrates U.S. Energy Information…
agpl · top 15,000 on PyPI
openbb-cftcProvides access to CFTC Commitment of Traders…
agpl · top 15,000 on PyPI
openbb-platform-apiLaunches and configures a FastAPI-based OpenBB…
agpl · top 15,000 on PyPI
openbb-econdbIntegrates EconDB economic data into the OpenBB…
agpl · top 15,000 on PyPI