# 2s Gov Representatives Lookup

> 2s Gov Representatives Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-11-30).

Returns US congressional representatives (House and Senate) for a given address, state, or congressional district

## Facts

- Endpoint: GET https://2s.io/api/gov/representatives?utm_source=zero.xyz
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-gov-representatives-lookup-351fb617
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sBqCnt9kwcfcbblxYK5uf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-gov-representatives-lookup-351fb617
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "state": "NY"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "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."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-gov-representatives-lookup-351fb617/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
