Patent attributes
Disclosed are various embodiments for optimizing location searches using geohash codes. A common prefix for a plurality of geohash codes associated with a respective one of a plurality of bounding boxes is identified, wherein each of the plurality of bounding boxes represents a geographic area. A location identifier from another computing device is received. A geohash code based at least in part on the location identifier is identified. The geohash code is then compared with the common prefix for each of the plurality of bounding boxes. Next, a list of common prefixes that match the geohash code. A list of respective geographic areas is returned to the other computing device based at least in part on the list of common prefixes.