Providing ISO 3166 as a micro-service using lumen


ISO 3166 is a standard published by the International Organization for Standardization (ISO) that defines codes for the names of countries, dependent territories, special areas of geographical interest, and their principal subdivisions (e.g., provinces or states). The official name of the standard is Codes for the representation of names of countries and their subdivisions.

You can use this standard through the REST API at

How to use: All the following are GET requests which can be done using the Postman or any other software of your preference.

// Get all continents

// Get the countries of the continent X (continent code)

// Get the subdivisions of the country X (country code)

If you need the source code to create your own ISO3166 micro-service please contact us.

Disclaimer: The present content may not be used for training artificial intelligence or machine learning algorithms. All other uses, including search, entertainment, and commercial use, are permitted.