gov

Your sitting members of the US Congress for a location.

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.

get/api/gov/representatives

Request

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

Query parameters

addressstring

Street address or full address string.

statestring

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

string
OR
number

District.

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.