Where do websites get country-state-city data?

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • countries-states-cities-database

    🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities

  • At $WORK I created a prototype that used https://github.com/dr5hn/countries-states-cities-database for a city/state/country typeahead widget - it was generally ok, loaded data into a read-only sqlite db that was created at container build time. We shipped it to AWS for the demo. There are some data bugs, cities in Turkey and Geneva were the top reported issues. You get what you pay for I suppose. Have not seen Geonames before this post but agree the username vs some form of api key/auth is weird.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts