GeoSearch API auto-completes the partial address provided by the user, which can be useful in your e-commerce businesses check-out, shipping, or billing pages. This helps shipping the product to the correct address, helps calculate the exact tax rates for that address, and results in an amazing buying experience for the customers.
This API has one endpoint, which can do a search based on latitude longitude, IP Address, or a Country. There are other parameters that can be used to narrow down the search accordingly.
Let's see a use case:
The address search can further be refined by providing the parameter values for this API. For example, searchRadius parameter can be used to find address within a particular radius and the value can be provided in feet, kms, miles, and meters. There are other parameters like areaName1, areaName3, postcode which search within a state, city or town, or a postal code respectively.