{"uid":"cap_pd5FELyMxJge4foxdM7-D","slug":"2s-io-e7da644b","name":"Congress Member Lookup via Congress.gov API","description":"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.","url":"https://2s.io/api/gov/congress-member","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"limit":{"type":"integer","default":25,"maximum":250,"minimum":1},"state":{"type":"string","description":"2-letter state code, e.g. CA."},"offset":{"type":"integer","default":0,"minimum":0},"congress":{"type":"integer","minimum":1,"description":"Filter list by Congress number."},"district":{"type":"integer","minimum":0},"bioguideId":{"type":"string","description":"Member bioguide ID (1 uppercase letter + 6 digits)."},"currentMember":{"type":"boolean","default":true}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"limit":10,"state":"CA","currentMember":true}}},"response":{"data":{"mode":"list","count":52,"source":{"url":"https://api.congress.gov/","license":"US Government work, public domain.","provider":"Congress.gov API (Library of Congress)"},"members":[{"name":"Friedman, Laura","state":"California","terms":{"item":[{"chamber":"House of Representatives","startYear":2025}]},"district":30,"depiction":{"imageUrl":"https://www.congress.gov/img/member/6a0f0dcb69b12040cf77e337_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Democratic","bioguideId":"F000483"},{"name":"Schiff, Adam B.","state":"California","terms":{"item":[{"chamber":"House of Representatives","endYear":2024,"startYear":2001},{"chamber":"Senate","startYear":2024}]},"district":null,"depiction":{"imageUrl":"https://www.congress.gov/img/member/677d870dfdb6cf36bbb649b3_200.jpg","attribution":"Official U.S. Senate Photo"},"partyName":"Democratic","bioguideId":"S001150"},{"name":"Kiley, Kevin","state":"California","terms":{"item":[{"chamber":"House of Representatives","startYear":2023}]},"district":3,"depiction":{"imageUrl":"https://www.congress.gov/img/member/k000401_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Independent","bioguideId":"K000401"},{"name":"Padilla, Alex","state":"California","terms":{"item":[{"chamber":"Senate","startYear":2021}]},"district":null,"depiction":{"imageUrl":"https://www.congress.gov/img/member/p000145_200.jpg","attribution":"<a href=\"http://www.senate.gov/artandhistory/history/common/generic/Photo_Collection_of_the_Senate_Historical_Office.htm\">Courtesy U.S. Senate Historical Office</a>"},"partyName":"Democratic","bioguideId":"P000145"},{"name":"Costa, Jim","state":"California","terms":{"item":[{"chamber":"House of Representatives","startYear":2005}]},"district":21,"depiction":{"imageUrl":"https://www.congress.gov/img/member/6973c909ded7781a35cc1fd7_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Democratic","bioguideId":"C001059"},{"name":"Waters, Maxine","state":"California","terms":{"item":[{"chamber":"House of Representatives","startYear":1991}]},"district":43,"depiction":{"imageUrl":"https://www.congress.gov/img/member/w000187_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Democratic","bioguideId":"W000187"},{"name":"Pelosi, Nancy","state":"California","terms":{"item":[{"chamber":"House of Representatives","startYear":1987}]},"district":11,"depiction":{"imageUrl":"https://www.congress.gov/img/member/p000197_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Democratic","bioguideId":"P000197"},{"name":"Whitesides, George","state":"California","terms":{"item":[{"chamber":"House of Representatives","startYear":2025}]},"district":27,"depiction":{"imageUrl":"https://www.congress.gov/img/member/68dc43db199559bad714973d_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Democratic","bioguideId":"W000830"},{"name":"Fong, Vince","state":"California","terms":{"item":[{"chamber":"House of Representatives","startYear":2024}]},"district":20,"depiction":{"imageUrl":"https://www.congress.gov/img/member/669ff04f5d19788d1f2034aa_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Republican","bioguideId":"F000480"},{"name":"Cisneros, Gilbert Ray","state":"California","terms":{"item":[{"chamber":"House of Representatives","endYear":2021,"startYear":2019},{"chamber":"House of Representatives","startYear":2025}]},"district":31,"depiction":{"imageUrl":"https://www.congress.gov/img/member/6807d8d63e52ea7df920ef05_200.jpg","attribution":"Image courtesy of the Member"},"partyName":"Democratic","bioguideId":"C001123"}]},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"gov.congress-member","settlement":{"txHash":"0x88926ab29d9b21d280a9f5f9942dfec29837de3e7605f6618520c6913e5c7337","network":"eip155:8453","success":true}}}},"exampleRequest":{"limit":10,"state":"CA","currentMember":true},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zrlxe2OHXE6_AMWYmKtwH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up or search US Congress members by bioguide ID, congress number, state, district, or current-member status, returning full biographical and legislative data.","exampleAgentPrompt":"Can you pull up the full profile for Senator Markwayne Mullin — his bioguide ID is M001190 — including his party history, leadership roles, and how many bills he's sponsored?","exampleUseCases":null,"resultDescription":"Returns a Congress member record with full biography, party affiliation history, terms served, leadership roles held, counts of sponsored and cosponsored legislation, official website URL, and office address. When filtering (no bioguideId), returns a paginated list of matching members with the same field set.","failureModes":["Invalid bioguideId format returns 400 or empty result","Unknown bioguideId returns 404 or empty member list","Invalid state code returns empty results or 400","District number out of range for given state returns empty results","Congress number below 1 returns validation error","Upstream Congress.gov API unavailable causes 502 or timeout","Exceeding limit maximum of 250 returns validation error"],"whenToPreferThis":"Use this endpoint when you need authoritative, structured data about US Congress members — especially when you have a bioguide ID and need full biographical detail, or when filtering by congress session, state, and district to identify seated legislators. Prefer this over web scraping or general search when you need stable, canonical identifiers and structured legislative history. Best for civic apps, legislative research, constituent-lookup tools, or political data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:22.157Z","isFirstParty":false}