Skip to main content

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: list[CongressBills]

Serializable results.


provider: Optional[Literal['congress_gov']]

Provider name.


warnings: Optional[list[Warning_]]

list of warnings.


chart: Optional[Chart]

Chart object.


extra: dict[str, Any]

Extra info.


Data