bill_info
Get summary, status, and other metadata for a specific bill.
Enter the URL of the bill as: https://api.congress.gov/v3/bill/119/hr/131?
URLs for bills can be found from the uscongress.bills endpoint.
The raw JSON response from the API will be returned along with a formatted text version of the key information from the raw response.
In OpenBB Workspace, this command returns as a Markdown widget.
Parameters
- standard
- congress_gov
bill_url: str
Enter a base URL of a bill (e.g., 'https://api.congress.gov/v3/bill/119/s/1947?format=json'). Alternatively, you can enter a bill number (e.g., '119/s/1947').
Returns
results: CongressBillInfo
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
- standard
- congress_gov
markdown_content: str
Aggregated metadata for the bill in Markdown format.
raw_data: dict[str, Any]
Raw JSON data from the collected bill information.