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
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 42 comments Getting first 908 Paid Signups by Spending $353 ONLY. 24 comments 🔥Roast my one-man design agency website 21 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments Hero Section Copywriting Framework that Converts 3x 12 comments