# Congress.gov API

Category: [Government and law](https://free-web-services.com/web-services/open-data/government/)  
Page: https://free-web-services.com/web-services/open-data/government/congress-gov-api.html  
Documentation: https://api.congress.gov/

The Congress.gov API from the Library of Congress gives data about the US Congress: bills and their actions, amendments, members, committees, nominations and the Congressional Record, for example to follow a bill through Congress. Responses are JSON or XML. Free with a free api.data.gov key.

- API key: Needed, free
- Pricing: Free with a free api.data.gov key.
- From the browser: Yes (CORS)
- Formats: JSON, XML
- Interface: REST, HTTP-GET
- Provider: api.congress.gov
- Last checked: Working on November 7th, 2026

Example request:

```sh
curl 'https://api.congress.gov/v3/bill?api_key=YOUR_API_KEY&limit=5'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

