Get Public Laws
get_public_lawsANSWERS "how many public laws has the 119th Congress passed" / "most recent public law" / "list of laws enacted this Congress" — returns public (or private) laws enacted in one Congress, from congress.gov's official /law endpoint. GovTrack never had an equivalent endpoint at all. Returns the total count, the most recent law (number, originating bill, title, enactment date), and the list of laws (newest first). Requires an API key (see get_bill).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of laws to return (default: 20, max: 100). | |
| congress | Yes | Congress number, e.g. 119 for the 119th Congress (2025–2026). | |
| law_type | No | "pub" (default, public laws) or "priv" (private laws). |