US Government data extensions for OpenBB Platform, one provider per agency.
Actively maintained. Last release 2 months ago, commits in 12 of the last 26 weeks. A safe choice.
pip install openbb-government-usOpenBB US Government Provider Extensions
This package integrates US Government data sources into the OpenBB Platform, organized as one provider per federal agency. A single install:
pip install openbb-government-us
registers three providers - congress_gov, us_treasury, and usda - plus two API routers, obb.uscongress and obb.ustreasury. Every endpoint uses public, keyless data; no API keys or registration are required anywhere.
Congress
Provider: congress_gov - Router: obb.uscongress
Legislative data for the U.S. Congress, sourced from GovInfo bulk data, the GovInfo link service, the unitedstates dataset, and Voteview.
Coverage:
- Bills: lists, metadata, summaries, and full text (
obb.uscongress.bills,bill_info,bill_text) - Enacted laws, public and private (
obb.uscongress.laws) - Amendments: lists, details, and text (
obb.uscongress.amendments,amendment_info,amendment_text) - House and Senate calendars (
obb.uscongress.calendars) - Congressionally mandated reports (
obb.uscongress.mandated_reports) - Committees and committee documents (
obb.uscongress.committee_info,committee_documents) - Members, their sponsored legislation, and roll-call votes (
obb.uscongress.members,member_legislation,member_votes) - Full-text search across legislative documents (
obb.uscongress.search) - Document download URLs for bills, laws, amendments, calendars, reports, and committee documents (the
*_urlsendpoints)
Treasury
Provider: us_treasury - Router: obb.ustreasury
Data from the U.S. Department of the Treasury via TreasuryDirect, FedInvest, and the FiscalData API.
TreasuryDirect and FedInvest, served through the standard fixed income router:
- Auction search - announcements and results of marketable securities (
obb.fixedincome.government.treasury_auctions) - End-of-day prices for marketable Treasury securities ()