GOP.gov Anywhere API

member.zip


This method provides the contact information for individual Members of Congress based on Zip Code.

http://www.gop.gov/api/member.zip

 

Parameters

Parameters are the data you will pass with the call.

api_token

Your secret identifier. You can find your API Token under "Information" of your GOP Portfolio Account.

member_zip

The Zip Code within the United States

Rules: Required; Must be a five-digit string (i.e. 46016)

member_zip4

Precise location within member_zip

Rules: Not Required; Must be a four-digit string (i.e. 0100)

 

Error Messages


If member_zip is not a valid zip code
ERROR: Information Not Provided


XML Return

<?xml version="1.0" encoding="utf-8"?>
   <method call="member.zip" timestamp="3/20/2010 5:26:16 PM" >
      <member>
         <firstname>Mike</firstname>
         <middlename></middlename>
         <lastname>Pence</lastname>
         <suffix></suffix>
         <state>IN</state>
         <district>06</district>
         <office>1431 Longworth HOB</office>
         <phone>5-3021</phone>
         <fax>5-3382</fax>
         <url>mikepence.house.gov</url>
         <rssurl>0</rssurl>
         <photo>gop.gov/resources/images/contact/members/111/IN/06.jpg</photo>
         <bio>...</bio>
      </member>
   </method>
GOP.gov Anywhere API
Member Methods
Committee Methods
Legislative Methods
Documents Methods