Is there an API for fetching list of countries according iso 3166-1?

1.6k Views Asked by At

Is it possible to fetch a list of countries according to ISO 3166-1 ? I have found this package (Countries), however I am not sure whether it is reliable source or not. How do you handle it ?

Also, there is a list of available countries in PDF, see here (unctad)

I am curious whether there is a free API for this purpose, or I need to manually create a JSON for my react app.

1

There are 1 best solutions below

1
user11877521 On

Here is one that you can use. end point: data get https://datahub.io/core/country-list