Library of Congress Bill API

Returns bill data from the API

Business capability
Legislative Process Coordination BC-3210.50

Operations 16

GET /bill Returns a list of bills sorted by date of latest action #
GET /bill/{congress} Returns a list of bills filtered by the specified congress, sorted by date of… #
GET /bill/{congress}/{billType} Returns a list of bills filtered by the specified congress and bill type… #
GET /bill/{congress}/{billType}/{billNumber} Returns detailed information for a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/actions Returns the list of actions on a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/amendments Returns the list of amendments to a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/committees Returns the list of committees associated with a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/cosponsors Returns the list of cosponsors on a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/relatedbills Returns the list of related bills to a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/subjects Returns the list of legislative subjects on a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/summaries Returns the list of summaries for a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/text Returns the list of text versions for a specified bill #
GET /bill/{congress}/{billType}/{billNumber}/titles Returns the list of titles for a specified bill #
GET /law/{congress} Returns a list of laws filtered by the specified congress #
GET /law/{congress}/{lawType} Returns a list of laws filtered by specified congress and law type (public or… #
GET /law/{congress}/{lawType}/{lawNumber} Returns a law filtered by specified congress, law type (public or private), and… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/loc-bill-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

loc-bill-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Congress.gov shares its application programming interface (API) with the public to ingest the Congressional data. Sign up for an API key from api.data.gov that you can use to access web services provided by Congress.gov. To learn more, view our GitHub repository.
  title: Congress.gov Bill API
  version: '3'
servers:
- url: /v3
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/loc/refs/heads/main/openapi/loc-bill-api-openapi.yml