Skip to main content
Version: v5

bills

Get and filter lists of Congressional Bills.

Examples​

from openbb import obb
obb.uscongress.bills(provider='congress_gov')
obb.uscongress.bills(start_date='2025-01-01', end_date='2025-01-31', provider='congress_gov')
# Get all bills of type 's' (Senate) for the 118th Congress.
obb.uscongress.bills(bill_type='s', congress=118, limit=0, provider='congress_gov')

Parameters​


Returns​

results: CongressBills

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​