gov

Look up or search members of the US Congress via Library of...

Look up or search members of the US Congress via Library of Congress Congress.gov API. Pass bioguideId (e.g. M001190) to fetch one member (full bio, terms, party history, leadership roles, sponsored + cosponsored legislation counts, official website, address). Or filter by congress + state + district, with currentMember=true to limit to seated members. Bioguide IDs are stable across history and are the canonical Congress-member identifier.

get/api/gov/congress-member

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/gov/congress-member
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

bioguideIdstring

Bioguide ID.

congressinteger

US Congress number (e.g. 118 for the 2023–2025 Congress).

statestring

US state — two-letter postal abbreviation (e.g. CA) or full name.

districtinteger

District.

currentMemberboolean

Current member.

limitinteger

Maximum number of results to return.

offsetinteger

Number of results to skip before returning (pagination offset).

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.