RepsContact

Embed on Your Site

Let your visitors find and contact their congressional representatives without leaving your site. Free, one line of HTML, no API key.

Live preview

Quick Start

Copy and paste one snippet into your HTML.

All representatives

<iframe src="https://repscontact.com/embed/widget"
  width="100%" height="600" style="border:none; max-width:700px;">
</iframe>

Senate only

<iframe src="https://repscontact.com/embed/widget?type=senate"
  width="100%" height="500" style="border:none; max-width:700px;">
</iframe>

House only

<iframe src="https://repscontact.com/embed/widget?type=house"
  width="100%" height="500" style="border:none; max-width:700px;">
</iframe>

Options

Parameter Values Description
type all, senate, house Which representatives to show (default: all)
zip 5-digit zip Pre-fill zip code and auto-search on load
theme light, dark Color scheme (default: light)

Features

Auto-resize

The widget posts its height to the parent frame so you can auto-size the iframe.

Dark mode

Pass theme=dark to match dark-themed sites.

Address refinement

When a zip spans multiple districts, visitors can enter their street address for exact results.

Geolocation

Visitors can use their device location to look up reps automatically.