I recently spent a ridiculous amount of time trying to figure out how to deal with this problem in autocomplete inputs...I did not find a solution I was particularly happy with. https://twitter.com/aptaube/status/1140249371688222722…
I had a form w/ fields (street addy, city, state) using Google Autocomplete API + Google Places API. The APIs do not always return the same type of address information, plus there's a big difference between how ppl define where they live and how govt/corp define.
Ohh, I see. I haven't used the Google Places API before (I was thinking of using it for an idea I had) but I might look into alternatives now. Maybe https://developer.foursquare.com is better