Table of Contents

State Legislative Districts

Given an address or latitude/longitude coordinate pair, Geocodio can return information about the location's state legislative districts and state legislators.

Geocodio supports bulk address or coordinate matching to state legislative districts via our uploading a spreadsheet geocoding tool and via API.

You can download an example of Geocodio's results when you add state House and Senate or Unicameral districts to a spreadsheet of addresses here or to latitude/longitude coordinates here

State legislative districts

For states with bicameral districts:

  • State Legislative District House Name
  • State Legislative District House Number
  • State Legislative District House OCD id
  • State Legislative District House Proportion
  • State Legislative District Senate Name
  • State Legislative District Senate Number
  • State Legislative District Senate OCD id
  • State Legislative District Senate Proportion

For Nebraska, the only state with with a single-chamber (Unicameral) legislature, data is returned under the "Senate" header.

Geocodio endeavors to return the district names using local conventions, such as "Assembly District #" in California. If you would only like the district number, we encourage you to use that column. (Note that some states do not use numbers.)

State legislator biographical and contact information

Geocodio can also optionally return information about the state legislators, such as names, party, and contact information. When uploading a spreadsheet, click the box that says "Add state legislator info?" Legislator data is included for free when you request state legislative districts.

Data includes:

  • First and last name
  • Birthday
  • Gender
  • Party
  • Photo URL
  • Website
  • Office Address
  • Office Phone Number
  • Email
  • Contact Form
  • RSS URL
  • Twitter
  • Facebook
  • YouTube Link and ID
  • VoteSmart ID
  • BallotPedia ID
  • Wikipedia ID
  • OpenStates ID

Not all data may be available for all legislators. For example, not all legislators may have a contact form, YouTube channel, or etc.

Our source for state legislator data is OpenStates. If you identify incorrect or missing data, we encourage you to submit a pull request directly to OpenStates.

OCD-IDs

Open Civic Data Division Identifiers(OCD-IDs) are automatically returned when adding districts. These can be used to uniquely identify a district.

Proportion

As districts rarely follow town/city or ZIP code boundaries, Geocodio suggests using street addresses to improve accuracy whenever possible. However, there many be times when you only have a city name, or a ZIP code.

But if you need to look up state legislative districts with only a city/state or ZIP code, Geocodio can still help. Geocodio will return a proportion value, which is number is a decimal percentage representation of how much of a district boundary intersects with a ZIP code boundary.

That is, the larger the number, the more likely that is to be the correct district for citizens in that ZIP code.

When geocoding spreadsheets, only the district with the highest proportion is returned. To get all possible results, use the Geocodio API.

Redistricting

Geocodio updated our state legislative district data after 2020 Census redistricting, we are continuing to track court cases and update districts as they become available. See our redistricting status page here.

There are currently no upcoming changes to state legislative district boundaries. However, should there be, you can request updated districts early using the stateleg-next data append with the Geocodio API.

Download an example

You can download an example spreadsheet of addresses that Geocodio has added state house and senate or unicameral districts added here.

API to convert addresses or coordinates to state legislative districts

If you would prefer to programmatically integrate state legislative district data, you can see the Geocodio API documentation for state legislative district appends here.

Cost

Requests are billed as geocode + state legislative info (i.e., two lookups). For example, if you need the state legislative districts for 100 addresses, that would count as 200 lookups.

Pay-as-you-go customers can calculate how much it will cost and how long it will take here.

Copyright © 2014-2025 Dotsquare LLC, Norfolk, Virginia. All rights reserved.