get
https://example.com/v3/bill/
The result set can be further filtered using 'fromDateTime' and 'toDateTime' parameters. It can also be sorted by 'updateDate'.
-
fromDateTime: start timestamp to filter by update date.
-
toDateTime: end timestamp to filter by update date.
-
sort: sort by 'updateDate' in ascending (asc) or descending (desc) order.
GET /bill/:congress
Example Request
/v3/bill/117?fromDateTime=2022-08-04T04:02:00Z&toDateTime=2022-08-04T04:03:00Z&sort=updateDate+desc
::
{
'bills': [
{
'congress': 117,
'latestAction': {
'actionDate': '2022-04-06',
'text': 'Became Public Law No: 117-108.'
},
'number': '3076',
'originChamber': 'House',
'originChamberCode': 'H',
'title': 'Postal Service Reform Act of 2021',
'type': 'HR',
'updateDate': '2022-08-04T04:02:02Z',
'url': 'https://api.congress.gov/v3/bill/117/hr/3076?format=json'
},
...
]
}