1
6 Comments

Location Lookup as a Service?

I'm adding a "Location" field to my product and would rather find an off-the-shelf solution that supports features like autocomplete, cities or countries, etc and ideally gives each a unique ID.

Any ideas?

    1. 1

      Yup eventually found their GeoCoding API - the Big G truly has it all.

  1. 1

    There are several sites like Google Developers, GeoNames and even Zipcode API provides authentic dataset in this regard but I personally prefer GeoNames, Rapid API and Back4App. Probably, Back4App in terms of development is better idea because it is easy to fetch dataset from here in the form of various frameworks. Have a look at some suggestions:

    https://www.geonames.org/
    https://www.back4app.com/database/back4app/zip-codes-all-countries-in-the-world
    https://rapidapi.com/blog/ip-geolocation-api/

    Hopefully, these suggestions would assist you in better manner.

  2. 1

    I believe what you're looking for is called geocoding, where you can supply an address or coordinates (latitude & longitude) and get information like country, city, and zip code...

    here are some suggestions:

    https://opencagedata.com/api#forward-resp
    https://developers.google.com/maps/documentation/geocoding/start
    https://docs.mapbox.com/api/search/#geocoding

    1. 1

      "Geocoding" - where was that word when I was trying to google! Thanks.

  3. 1

    Not sure what it's written in, but there are a few location autocomplete things out there in npm-land, like this: https://www.npmjs.com/package/location-autocomplete

Trending on Indie Hackers
How I grew a side project to 100k Unique Visitors in 7 days with 0 audience 47 comments Competing with Product Hunt: a month later 33 comments Why do you hate marketing? 27 comments $15k revenues in <4 months as a solopreneur 14 comments Use Your Product 13 comments How I Launched FrontendEase 13 comments