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.
Request
- Base URL: https://2s.io
- URL: https://2s.io/api/gov/congress-member
- Auth: API key in header PAYMENT-SIGNATURE
Query parameters
Bioguide ID.
US Congress number (e.g. 118 for the 2023–2025 Congress).
US state — two-letter postal abbreviation (e.g. CA) or full name.
District.
Current member.
Maximum number of results to return.
Number of results to skip before returning (pagination offset).
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
Changes
No recorded changes to this operation across all 1 revision of this API.