{"uid":"cap_sBqCnt9kwcfcbblxYK5uf","slug":"2s-gov-representatives-lookup-351fb617","name":"2s Gov Representatives Lookup","description":"Your sitting members of the US Congress for a location. Pass a US address (geocoded to its state + congressional district for you), or an explicit state (2-letter) with optional district number. Returns the current US House representative for that district plus the state's two US senators — each with full name, party, state/district, the Bioguide ID, DC office, phone, official website, and contact form. State-only returns just the two senators; territories/DC return their non-voting delegate (no senators). Bundled CC0 data (unitedstates/congress-legislators), refreshed periodically. Fills the gap after gov.district (which gives the district, not the people) — for civic lookup, advocacy, and constituent tooling.","url":"https://2s.io/api/gov/representatives?utm_source=zero.xyz","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":{"required":[],"properties":{"state":{"type":"string","description":"2-letter state/territory code (alternative to address)."},"address":{"type":"string","description":"US street address (geocoded to district)."},"district":{"type":"string","description":"Congressional district number (with state); omit for senators only."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"state":"NY"}}},"response":{"data":{"note":"No district specified — returning the two US senators only. Pass an address or a district to also get the House representative.","house":null,"query":{"state":"NY","address":null,"district":null},"senate":[{"name":"Kirsten E. Gillibrand","party":"Democrat","phone":"202-224-4451","state":"NY","office":"478 Russell Senate Office Building","chamber":"senate","termEnd":"2031-01-03","website":"https://www.gillibrand.senate.gov","district":null,"bioguideId":"G000555","contactForm":"https://www.gillibrand.senate.gov/contact/email-me"},{"name":"Charles E. Schumer","party":"Democrat","phone":"202-224-6542","state":"NY","office":"322 Hart Senate Office Building","chamber":"senate","termEnd":"2029-01-03","website":"https://www.schumer.senate.gov","district":null,"bioguideId":"S000148","contactForm":"https://www.schumer.senate.gov/contact/email-chuck"}],"source":[{"url":"https://github.com/unitedstates/congress-legislators","license":"CC0 1.0 (public domain dedication)","provider":"unitedstates/congress-legislators (bundled dataset)"}],"resolved":{"state":"NY","district":null,"matchedAddress":null}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"gov.representatives","settlement":{"txHash":"0x1e20240e967cbcdf0e9ff6ae2adbb27550cf841ba8d918a47e92f076606dd881","network":"eip155:8453","success":true}}}},"exampleRequest":{"state":"NY"},"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_3RxuD-4LSNcaV9Wq7SfQn","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":"Returns US congressional representatives (House and Senate) for a given address, state, or congressional district","exampleAgentPrompt":"Who are my US congressional representatives — both House and Senate — for 350 5th Ave, New York, NY 10118? I want their names, party, phone number, and contact info.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'house' object (name, party, phone, state, district, office, term end, website, contact form, bioguide ID) and a 'senate' array of senators (name, party, state, bioguide ID), plus a 'resolved' object showing the matched address, state, and congressional district, and a 'query' echo and data source attribution.","failureModes":["Address cannot be geocoded to a district — returns null or empty resolved fields","Invalid or unrecognized state code — may return empty results","No matching representative found for district (e.g. vacant seat) — house field may be null","Missing required query parameter — returns 400 or empty response","District number provided without state — may fail to resolve"],"whenToPreferThis":"Use this endpoint when you need to identify US federal congressional representatives (House and Senate) for a specific address, state, or district. It is the right choice for civic lookup, constituent contact, or political data enrichment tasks. Prefer this over manual lookups or web scraping when ground-truth, pay-per-call access is needed with no API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T18:41:14.606Z","isFirstParty":false,"canonicalSlug":"2s-gov-representatives-lookup-351fb617"}