Logo

Country Lookup API is a simple-to-use API to get Country data such as the Country's Name, Capital, Continent, and more!

Simple Usage Guide:

Here is a simple example of how to get a single Country's Data:

Console Output

            

Or, if you want the data of all Countries, you can use https://countrylookup-api.netlify.app/api/full instead.

Generate Random Country Data:

You can generate a random country's data by using /random/1 in the URL. Change the number after /random/ to choose the number of random country data you want to generate.

Try it out! Change the number after /random/ to get more random country data:

Console Output

            

Try it out yourself!

Experiment with the API, or use it to make fun Applications!