GET address2022?lat={lat}&lng={lng}
Provides State and Congressional District members based on the latitude and longitude coordinates provided,
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| lat | String representing the latitude coordinate. |
Define this parameter in the request URI. |
| lng | String representing the longitude coordinate. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Response": "sample string 1",
"HouseDistrict": "sample string 2",
"HouseName": "sample string 3",
"HouseEMailAddress": "sample string 4",
"HouseImageName": "sample string 5",
"HouseStaticPage": "sample string 6",
"HouseParty": "sample string 7",
"HouseDistrict2": "sample string 8",
"HouseName2": "sample string 9",
"HouseEMailAddress2": "sample string 10",
"HouseImageName2": "sample string 11",
"HouseStaticPage2": "sample string 12",
"HouseParty2": "sample string 13",
"SenateDistrict": "sample string 14",
"SenateName": "sample string 15",
"SenateEMailAddress": "sample string 16",
"SenateImageName": "sample string 17",
"SenateStaticPage": "sample string 18",
"SenateParty": "sample string 19",
"CongressDistrict": "sample string 20",
"CongressName": "sample string 21",
"CongressOffice": "sample string 22",
"CongressPhone": "sample string 23",
"CongressParty": "sample string 24",
"USSenatorName1": "sample string 25",
"USSenatorName2": "sample string 26",
"Street": "sample string 27",
"City": "sample string 28",
"State": "sample string 29",
"Zip": "sample string 30"
}
application/xml, text/xml
Sample:
<DistrictData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Response>sample string 1</Response> <HouseDistrict>sample string 2</HouseDistrict> <HouseName>sample string 3</HouseName> <HouseEMailAddress>sample string 4</HouseEMailAddress> <HouseImageName>sample string 5</HouseImageName> <HouseStaticPage>sample string 6</HouseStaticPage> <HouseParty>sample string 7</HouseParty> <HouseDistrict2>sample string 8</HouseDistrict2> <HouseName2>sample string 9</HouseName2> <HouseEMailAddress2>sample string 10</HouseEMailAddress2> <HouseImageName2>sample string 11</HouseImageName2> <HouseStaticPage2>sample string 12</HouseStaticPage2> <HouseParty2>sample string 13</HouseParty2> <SenateDistrict>sample string 14</SenateDistrict> <SenateName>sample string 15</SenateName> <SenateEMailAddress>sample string 16</SenateEMailAddress> <SenateImageName>sample string 17</SenateImageName> <SenateStaticPage>sample string 18</SenateStaticPage> <SenateParty>sample string 19</SenateParty> <CongressDistrict>sample string 20</CongressDistrict> <CongressName>sample string 21</CongressName> <CongressOffice>sample string 22</CongressOffice> <CongressPhone>sample string 23</CongressPhone> <CongressParty>sample string 24</CongressParty> <USSenatorName1>sample string 25</USSenatorName1> <USSenatorName2>sample string 26</USSenatorName2> <Street>sample string 27</Street> <City>sample string 28</City> <State>sample string 29</State> <Zip>sample string 30</Zip> </DistrictData>