Skip to main content
Version: v5

bill_info

Get summary, status, and other metadata for a specific bill.

Examples​

from openbb import obb
obb.uscongress.bill_info(provider='congress_gov', bill_url='https://api.congress.gov/v3/bill/119/s/1947?')
# The bill URL can be shortened to just the bill number (e.g., '119/s/1947').
obb.uscongress.bill_info(bill_url='119/s/1947', provider='congress_gov')

Parameters​


Returns​

results: CongressBillInfo

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​