home / openregs

congress_members

All current and historical members of Congress (12,700+) from the congress-legislators project. Includes bioguide_id (universal key), party, state, chamber, and cross-reference IDs for OpenSecrets, FEC, GovTrack, and more.

Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API

7 rows where chamber = "Senate", party = "Whig" and state = "MA" sorted by full_name

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: first_served, terms_count, trade_count, first_served (date), last_served (date), birthday (date), served_until (date)

state 1

  • MA · 7 ✖

party 1

  • Whig · 7 ✖

is_current 1

  • 0 7

chamber 1

  • Senate · 7 ✖
bioguide_id first_name last_name full_name ▼ nickname party state chamber district first_served last_served is_current opensecrets_id fec_ids govtrack_id thomas_id votesmart_id lis_id wikipedia_id ballotpedia_id birthday gender terms_count served_until trade_count speech_count bills_sponsored vote_count fec_total_received
W000238 Daniel Webster Daniel Webster   Whig MA Senate   1813-05-24 1850-07-22 0   [] 411406       Daniel Webster   1782-01-18 M 7 1850-07-22 3 0 0 0 0
E000264 Edward Everett Edward Everett   Whig MA Senate   1825-12-05 1855-03-03 0   [] 403944       Edward Everett   1794-04-11 M 6 1855-03-03 0 0 0 0 0
B000233 Isaac Bates Isaac Bates   Whig MA Senate   1827-12-03 1845-12-31 0   [] 401228       Isaac C. Bates   1779-01-23 M 4 1845-12-31 0 0 0 0 0
D000117 John Davis John Davis   Whig MA Senate   1825-12-05 1853-03-03 0   [] 403250       John Davis (Massachusetts governor)   1787-01-13 M 5 1853-03-03 0 0 0 0 0
R000368 Julius Rockwell Julius Rockwell   Whig MA Senate   1843-12-04 1855-12-31 0   [] 409338       Julius Rockwell   1805-04-26 M 3 1855-12-31 0 0 0 0 0
W000646 Robert Winthrop Robert Winthrop   Whig MA Senate   1839-12-02 1851-03-03 0   [] 411800       Robert C. Winthrop   1809-05-12 M 3 1851-03-03 0 0 0 0 0
C000375 Rufus Choate Rufus Choate   Whig MA Senate   1831-12-05 1845-03-03 0   [] 402514       Rufus Choate   1799-10-01 M 3 1845-03-03 0 0 0 0 0

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE congress_members (
    bioguide_id TEXT PRIMARY KEY,
    first_name TEXT,
    last_name TEXT,
    full_name TEXT,
    nickname TEXT,
    party TEXT,
    state TEXT,
    chamber TEXT,
    district INTEGER,
    first_served TEXT,
    last_served TEXT,
    is_current INTEGER,
    opensecrets_id TEXT,
    fec_ids TEXT,
    govtrack_id INTEGER,
    thomas_id TEXT,
    votesmart_id INTEGER,
    lis_id TEXT,
    wikipedia_id TEXT,
    ballotpedia_id TEXT,
    birthday TEXT,
    gender TEXT,
    terms_count INTEGER,
    served_until TEXT
, trade_count INTEGER DEFAULT 0, speech_count INTEGER DEFAULT 0, bills_sponsored INTEGER DEFAULT 0, vote_count INTEGER DEFAULT 0, fec_total_received INTEGER DEFAULT 0);
CREATE INDEX idx_cm_name ON congress_members(last_name, first_name);
CREATE INDEX idx_cm_party ON congress_members(party);
CREATE INDEX idx_cm_state ON congress_members(state);
CREATE INDEX idx_cm_chamber ON congress_members(chamber);
CREATE INDEX idx_cm_current ON congress_members(is_current);
CREATE INDEX idx_cm_current_trades ON congress_members(is_current DESC, trade_count DESC);
Powered by Datasette · Queries took 78.24ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API