Return All Representatives

32 views
Skip to first unread message

Spencer Brown

unread,
Mar 21, 2024, 4:13:52 PMMar 21
to Google Civic Information API
I have been experimenting with this and had no luck....

It appears I need to query a specific state, zip, address etc. to get return data. 

Is there a way to grab all 100 US Senators nationwide with a query?

Likewise for all 435 US House of Representatives? 

Ultimately I am trying to determine which ones have undefined as their email address, so that i can update them in my project to their correct email address 

Kas Stohr

unread,
Mar 22, 2024, 12:33:39 AMMar 22
to Google Civic Information API

The API does require an address currently.  I believe this is because it returns data based on polling locations (precinct). However, if you were to provide the state legislative office address for each state, for example, as an address, you would get the Senators and Members of Congress for all 50 states.  That said, you could likely more easily get contact data from their congressional websites. 

Be aware, most congressional offices uses inbox management software that screens for spam, security threats, etc. Many public offices no longer make email addresses public. And, even if you do find out the address, the email would not be received unless you are a verified sender.  Instead they offer a web form on their official website. So, if you cannot find an email or other readily available contact method, it is likely that the web form is the main contact method. 
Reply all
Reply to author
Forward
0 new messages