Address Autocomplete

Kmcnet 1,066 Reputation points
2023-02-02T02:18:07.7633333+00:00

Hello everyone and thanks for the help in advance. I need to develop a page for address input that will be entered by an end user. Obviously, user input is prone to error so I am looking for solutions to validate the input. I know the US Postal service has an api to validate against, but I am also aware sites like Zillow use some type of autocomplete for the input. I'm not sure what the best method is and there seems to be numerous for-pay autocompletes. Any insight would be appreciated.

Developer technologies ASP.NET Other
0 comments No comments
{count} votes

Accepted answer
  1. Lan Huang-MSFT 30,186 Reputation points Microsoft External Staff
    2023-02-02T05:25:04.3633333+00:00

    Hi @Kmcnet ,

    I think you can autocomplete addresses in ASP.NET MVC using Google Places AutoComplete plugin.

    The Google Places (Address) AutoComplete TextBox is part of Google Maps API and it is used to find out Address and their Geographical coordinates i.e. Latitude and Longitude of a Location.

    You can refer to the following example:

    address-autocomplete

    Address Autocomplete in mvc

    https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Elizabeth Parker 0 Reputation points
    2025-04-09T19:47:40.8766667+00:00

    Hi @Kmcnet,

    Great question! I've run into the same issue while building address input forms—user-entered data is often incomplete or messy, and getting clean, standardized addresses can be tricky.

    I’ve recently been using Sthan.io, and it’s been a solid alternative—especially for .NET projects. It's a lightweight, developer-friendly set of APIs for address autocomplete, parsing, and validation.

    If you want to see it in action: US Address Autocomplete

    Docs are here: Sthan.io Documentation

    Hope this helps!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.