Congress.gov API

The Congress.gov API (v3) provides machine-readable access to legislative data from Congress.gov, including bills, amendments, summaries, members, committees, nominations, treaties, and the Congressional Record. Responses are available in JSON or XML. A free API key is required (sign up at api.congress.gov). Rate limit is 5,000 requests per hour.

OpenAPI Specification

loc-congress-gov-openapi.yml Raw ↑
openapi: 3.0.3
info:
  description: 'Congress.gov shares its application programming interface (API) with
    the public to ingest the Congressional data. <a href="sign-up/" target="_blank">Sign
    up for an API key</a> from api.data.gov that you can use to access web services
    provided by Congress.gov. To learn more, view our <a href="https://github.com/LibraryOfCongress/api.congress.gov/"
    target="_blank">GitHub repository</a>.

    '
  title: Congress.gov API
  version: '3'
servers:
- url: /v3
security:
- ApiKeyAuth: []
tags:
- name: bill
  description: Returns bill data from the API
- name: amendments
  description: Returns amendment data from the API
- name: summaries
  description: Returns summaries data from the API
- name: congress
  description: Returns congress and congressional sessions data from the API
- name: member
  description: Returns member data from the API
- name: house-vote
  description: '[BETA] Returns House of Representatives roll call vote data from the
    API'
- name: committee
  description: Returns committee data from the API
- name: committee-report
  description: Returns committee report data from the API
- name: committee-print
  description: Returns committee print data from the API
- name: committee-meeting
  description: Returns committee meeting data from the API
- name: hearing
  description: Returns hearing data from the API
- name: congressional-record
  description: Returns Congressional Record data from the API
- name: daily-congressional-record
  description: Returns daily Congressional Record data from the API
- name: bound-congressional-record
  description: Returns bound Congressional Record data from the API
- name: house-communication
  description: Returns House communication data from the API
- name: house-requirement
  description: Returns House requirement data from the API
- name: senate-communication
  description: Returns Senate communication data from the API
- name: nomination
  description: Returns nomination data from the API
- name: crsreport
  description: Returns Congressional Research Service (CRS) report data from the API
- name: treaty
  description: Returns treaty data from the API
paths:
  /bill:
    get:
      tags:
      - bill
      summary: Returns a list of bills sorted by date of latest action
      description: Returns a list of bills sorted by date of latest action
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bill'
            application/xml:
              schema:
                $ref: '#/components/schemas/Bill'
        '400':
          description: Invalid status value
  /bill/{congress}:
    get:
      tags:
      - bill
      summary: Returns a list of bills filtered by the specified congress, sorted
        by date of latest action
      description: Returns a list of bills filtered by the specified congress, sorted
        by date of latest action
      parameters:
      - name: congress
        in: path
        description: The congress number. For example, can be 117.
        required: true
        schema:
          type: integer
          format: int32
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bill'
            application/xml:
              schema:
                $ref: '#/components/schemas/Bill'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}:
    get:
      tags:
      - bill
      summary: Returns a list of bills filtered by the specified congress and bill
        type, sorted by date of latest action.
      description: Returns a list of bills filtered by the specified congress and
        bill type, sorted by date of latest action.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bill'
            application/xml:
              schema:
                $ref: '#/components/schemas/Bill'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}:
    get:
      tags:
      - bill
      summary: Returns detailed information for a specified bill.
      description: Returns detailed information for a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillDetail'
            application/xml:
              schema:
                $ref: '#/components/schemas/BillDetail'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/actions:
    get:
      tags:
      - bill
      summary: Returns the list of actions on a specified bill.
      description: Returns the list of actions on a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Actions'
            application/xml:
              schema:
                $ref: '#/components/schemas/Actions'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/amendments:
    get:
      tags:
      - bill
      summary: Returns the list of amendments to a specified bill.
      description: Returns the list of amendments to a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Amendments'
            application/xml:
              schema:
                $ref: '#/components/schemas/Amendments'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/committees:
    get:
      tags:
      - bill
      summary: Returns the list of committees associated with a specified bill.
      description: Returns the list of committees associated with a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Committee'
            application/xml:
              schema:
                $ref: '#/components/schemas/Committee'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/cosponsors:
    get:
      tags:
      - bill
      summary: Returns the list of cosponsors on a specified bill.
      description: Returns the list of cosponsors on a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      - $ref: '#/components/parameters/sort'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoSponsor'
            application/xml:
              schema:
                $ref: '#/components/schemas/CoSponsor'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/relatedbills:
    get:
      tags:
      - bill
      summary: Returns the list of related bills to a specified bill.
      description: Returns the list of related bills to a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedBills'
            application/xml:
              schema:
                $ref: '#/components/schemas/RelatedBills'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/subjects:
    get:
      tags:
      - bill
      summary: Returns the list of legislative subjects on a specified bill.
      description: Returns the list of legislative subjects on a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subjects'
            application/xml:
              schema:
                $ref: '#/components/schemas/Subjects'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/summaries:
    get:
      tags:
      - bill
      summary: Returns the list of summaries for a specified bill.
      description: Returns the list of summaries for a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillSummaries'
            application/xml:
              schema:
                $ref: '#/components/schemas/BillSummaries'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/text:
    get:
      tags:
      - bill
      summary: Returns the list of text versions for a specified bill.
      description: Returns the list of text versions for a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Text'
            application/xml:
              schema:
                $ref: '#/components/schemas/Text'
        '400':
          description: Invalid status value
  /bill/{congress}/{billType}/{billNumber}/titles:
    get:
      tags:
      - bill
      summary: Returns the list of titles for a specified bill.
      description: Returns the list of titles for a specified bill.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/billNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Titles'
            application/xml:
              schema:
                $ref: '#/components/schemas/Titles'
        '400':
          description: Invalid status value
  /law/{congress}:
    get:
      tags:
      - bill
      summary: Returns a list of laws filtered by the specified congress.
      description: Returns a list of laws filtered by the specified congress.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Law'
            application/xml:
              schema:
                $ref: '#/components/schemas/Law'
        '400':
          description: Invalid status value
  /law/{congress}/{lawType}:
    get:
      tags:
      - bill
      summary: Returns a list of laws filtered by specified congress and law type
        (public or private).
      description: Returns a list of laws filtered by specified congress and law type
        (public or private).
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/lawType'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Law'
            application/xml:
              schema:
                $ref: '#/components/schemas/Law'
        '400':
          description: Invalid status value
  /law/{congress}/{lawType}/{lawNumber}:
    get:
      tags:
      - bill
      summary: Returns a law filtered by specified congress, law type (public or private),
        and law number.
      description: Returns a law filtered by specified congress, law type (public
        or private), and law number.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/lawType'
      - $ref: '#/components/parameters/lawNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LawNumber'
            application/xml:
              schema:
                $ref: '#/components/schemas/LawNumber'
        '400':
          description: Invalid status value
  /amendment:
    get:
      tags:
      - amendments
      summary: Returns a list of amendments sorted by date of latest action.
      description: Returns a list of amendments sorted by date of latest action.
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Amendment'
            application/xml:
              schema:
                $ref: '#/components/schemas/Amendment'
        '400':
          description: Invalid status value
  /amendment/{congress}:
    get:
      tags:
      - amendments
      summary: Returns a list of amendments filtered by the specified congress, sorted
        by date of latest action.
      description: Returns a list of amendments filtered by the specified congress,
        sorted by date of latest action.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Amendment'
            application/xml:
              schema:
                $ref: '#/components/schemas/Amendment'
        '400':
          description: Invalid status value
  /amendment/{congress}/{amendmentType}:
    get:
      tags:
      - amendments
      summary: Returns a list of amendments filtered by the specified congress and
        amendment type, sorted by date of latest action.
      description: Returns a list of amendments filtered by the specified congress
        and amendment type, sorted by date of latest action.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/amendmentType'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Amendment'
            application/xml:
              schema:
                $ref: '#/components/schemas/Amendment'
        '400':
          description: Invalid status value
  /amendment/{congress}/{amendmentType}/{amendmentNumber}:
    get:
      tags:
      - amendments
      summary: Returns detailed information for a specified amendment.
      description: Returns detailed information for a specified amendment.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/amendmentType'
      - $ref: '#/components/parameters/amendmentNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmendmentNumber'
            application/xml:
              schema:
                $ref: '#/components/schemas/AmendmentNumber'
        '400':
          description: Invalid status value
  /amendment/{congress}/{amendmentType}/{amendmentNumber}/actions:
    get:
      tags:
      - amendments
      summary: Returns the list of actions on a specified amendment.
      description: Returns the list of actions on a specified amendment.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/amendmentType'
      - $ref: '#/components/parameters/amendmentNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmendmentActions'
            application/xml:
              schema:
                $ref: '#/components/schemas/AmendmentActions'
        '400':
          description: Invalid status value
  /amendment/{congress}/{amendmentType}/{amendmentNumber}/cosponsors:
    get:
      tags:
      - amendments
      summary: Returns the list of cosponsors on a specified amendment.
      description: Returns the list of cosponsors on a specified amendment.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/amendmentType'
      - $ref: '#/components/parameters/amendmentNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmendmentCosponsors'
            application/xml:
              schema:
                $ref: '#/components/schemas/AmendmentCosponsors'
        '400':
          description: Invalid status value
  /amendment/{congress}/{amendmentType}/{amendmentNumber}/amendments:
    get:
      tags:
      - amendments
      summary: Returns the list of amendments to a specified amendment.
      description: Returns the list of amendments to a specified amendment.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/amendmentType'
      - $ref: '#/components/parameters/amendmentNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmendmentAmendments'
            application/xml:
              schema:
                $ref: '#/components/schemas/AmendmentAmendments'
        '400':
          description: Invalid status value
  /amendment/{congress}/{amendmentType}/{amendmentNumber}/text:
    get:
      tags:
      - amendments
      summary: Returns the list of text versions for a specified amendment from the
        117th Congress onwards.
      description: Returns the list of text versions for a specified amendment from
        the 117th Congress onwards.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/amendmentType'
      - $ref: '#/components/parameters/amendmentNumber'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmendmentText'
            application/xml:
              schema:
                $ref: '#/components/schemas/AmendmentText'
        '400':
          description: Invalid status value
  /summaries:
    get:
      tags:
      - summaries
      summary: Returns a list of summaries sorted by date of last update.
      description: Returns a list of summaries sorted by date of last update.
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      - $ref: '#/components/parameters/sort'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Summaries'
            application/xml:
              schema:
                $ref: '#/components/schemas/Summaries'
        '400':
          description: Invalid status value
  /summaries/{congress}:
    get:
      tags:
      - summaries
      summary: Returns a list of summaries filtered by congress, sorted by date of
        last update.
      description: Returns a list of summaries filtered by congress, sorted by date
        of last update.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      - $ref: '#/components/parameters/sort'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Summaries'
            application/xml:
              schema:
                $ref: '#/components/schemas/Summaries'
        '400':
          description: Invalid status value
  /summaries/{congress}/{billType}:
    get:
      tags:
      - summaries
      summary: Returns a list of summaries filtered by congress and by bill type,
        sorted by date of last update.
      description: Returns a list of summaries filtered by congress and by bill type,
        sorted by date of last update.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/billType'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      - $ref: '#/components/parameters/sort'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Summaries'
            application/xml:
              schema:
                $ref: '#/components/schemas/Summaries'
        '400':
          description: Invalid status value
  /congress:
    get:
      tags:
      - congress
      summary: Returns a list of congresses and congressional sessions.
      description: Returns a list of congresses and congressional sessions.
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Congresses'
            application/xml:
              schema:
                $ref: '#/components/schemas/Congresses'
        '400':
          description: Invalid status value
  /congress/{congress}:
    get:
      tags:
      - congress
      summary: Returns a list of congresses and congressional sessions.
      description: Returns a list of congresses and congressional sessions.
      parameters:
      - $ref: '#/components/parameters/congress'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Congresses'
            application/xml:
              schema:
                $ref: '#/components/schemas/Congresses'
        '400':
          description: Invalid status value
  /congress/current:
    get:
      tags:
      - congress
      summary: Returns a list of congresses and congressional sessions.
      description: Returns a list of congresses and congressional sessions.
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Congresses'
            application/xml:
              schema:
                $ref: '#/components/schemas/Congresses'
        '400':
          description: Invalid status value
  /member:
    get:
      tags:
      - member
      summary: Returns a list of congressional members.
      description: Returns a list of congressional members.
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/fromDateTime'
      - $ref: '#/components/parameters/toDateTime'
      - $ref: '#/components/parameters/currentMember'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Members'
            application/xml:
              schema:
                $ref: '#/components/schemas/Members'
        '400':
          description: Invalid status value
  /member/{bioguideId}:
    get:
      tags:
      - member
      summary: Returns detailed information for a specified congressional member.
      description: Returns detailed information for a specified congressional member.
      parameters:
      - $ref: '#/components/parameters/bioguideId'
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Member'
            application/xml:
              schema:
                $ref: '#/components/schemas/Member'
        '400':
          description: Invalid status value
  /member/{bioguideId}/sponsored-legislation:
    get:
      tags:
      - member
      summary: Returns the list of legislation sponsored by a specified congressional
        member.
      description: Returns the list of legislation sponsored by a specified congressional
        member.
      parameters:
      - $ref: '#/components/parameters/bioguideId'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
        

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