Need to add Congressional districts or Senator and Representative contact information to latitude/longitude coordinates in bulk? You're in the right place.
This article shows you how to add Congressional districts to latitude/longitude coordinates using Geocodio. The Congressional district data returned includes approximate addresses, Congressional district number, Congress number, and Congress years, with the option to append legislator data. You can use our API to integrate it into a website, or upload Excel, CSV, and TSV files.
With Geocodio, you can choose to just get the raw data back (via spreadsheet or API), or view the locations on a map with Congressional district outlines.
If you just need the Congressional districts and Senator/Representative contact information for one latitude/longitude pair or address, you can use the tool below. Just check the box next to ‘Congressional Districts’, then click ‘show results.’
The first step will be to organize the latitude/longitude coordinates into a spreadsheet. Your spreadsheet will need to have headers. Latitude/longitude can all be in one column combined, or separated, as shown below, as long as it is consistent for the entire spreadsheet.
You can also download an example spreadsheet here. The addresses can be missing information as long as they are all consistently formatted. For example, you can have street + zip for some addresses and street + city + state for others.
Once your spreadsheet is organized, you can upload it directly to Geocodio. After confirming the columns and seeing a preview of the file on a map, you will be presented with options to append data. You will want to check the box that says “Congressional Districts”, with the option to include Senate and Representative info. Counties are included by default with geocoding.
Results are billed as geocode + Congressional district info (i.e., two lookups). For example, if you have 100 addresses that you want Congressional districts for, that would count as 200 lookups. You can calculate how much this will cost you and how long it will take here.
You will receive an email when your spreadsheet is done processing -- no need to stay on the page.
For example, Congressional District 8
For example, 117th
For example, 2021-2023
“In elections, we can’t have even a 5% tolerance for error. Geocodio gives us the accuracy we need to give people the correct information about the election and remind them to vote.”