> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Congress.gov

> U.S.

U.S. Congress API providing bill text, voting records, committee hearings, member profiles, and legislative activity. Best for tracking legislation, analyzing voting patterns, or monitoring regulatory changes that affect specific industries. The official source for U.S. legislative data — unlike Federal Register (executive branch rules), Congress.gov covers the legislative process.

2 example endpoints available through Lava's AI Gateway. See the [Congress.gov API docs](https://api.congress.gov/) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://api.congress.gov/v3` is supported. Congress.gov legislative data API. Construct URL as [https://api.congress.gov/v3/\&#123;endpoint\&#125](https://api.congress.gov/v3/\&#123;endpoint\&#125);. Common endpoints: /bill, /member, /committee, /amendment, /nomination, /treaty. Supports ?limit= and ?offset= for pagination. Auth param (api\_key) is added automatically. The endpoints below are curated examples.</Info>

## Endpoints

### List recent bills

**GET** `https://api.congress.gov/v3/bill?limit=5` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.congress.gov/v3/bill?limit=5', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.congress.gov%2Fv3%2Fbill%3Flimit%3D5" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### List members of Congress

**GET** `https://api.congress.gov/v3/member?limit=5` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.congress.gov/v3/member?limit=5', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.congress.gov%2Fv3%2Fmember%3Flimit%3D5" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
