Looking for recommendations for an API to lookup 3-letter country ISO codes with approximate matching

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
  • public-apis

    Discontinued A collective list of free APIs such as http://ipstack.com, http://fixer.io/, https://numverify.com/, etc. for use in software and web development. [Moved to: https://github.com/public-apis/public-apis] (by toddmotto)

  • I'm also familiar with the list of APIs https://github.com/toddmotto/public-apis but I couldn't find an API that does what I want (although I might have looked in the wrong place, so feel free to correct me). I've obviously also searched for "API iso code" on reddit but nothing came up.

  • ISO-3166-Countries-with-Regional-Codes

    ISO 3166-1 country lists merged with their UN Geoscheme regional codes in ready-to-use JSON, XML, CSV data sets

  • You can download the country code data from https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes

  • 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
  • Fuzzle

    Expandable search engine written in Python. Models upcoming!

  • The issue with your requirement here is not only do you want to probably account for country code and name, but aliases. I can imagine there's a dataset out there but you'll want to build your own algorithm to do the searching, or actually, I have a really old project that might be sufficient already called Fuzzle.

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