Wiki

Case Status
Log In

Wiki

 
List of API Calls»API Call - Country - List Coun…
  • RSS Feed

Last modified on 1/19/2023 8:54 AM by User.

Tags:

API Call - Country - List Countries

Description:

This call is designed to produce a list of all the countries.

Parameters:
format json, xml

Call Format:

/api/countries.<format>

Example:

Input: https://www.findaport.com/api/countries.xml
Output: A list of all the countries available.

Output Fields:

Output Fields Descriptions Examples
locode Country UN/LOCODE AS
country Country name American Samoa
is_dependency_q Whether the country is a dependency or not. 0
dependency_of UN/LOCODE of country being dependent upon.  US
geo_sort_order Value for geographic search. 6160
version Version number of country record 68341

Output example:

Example Output

                                  

Next API Call: Country - List Locales                                                                                                                        Return to API Call Summary.


Need an API Key? Click here here for more details.

 

If you would like to find out more about Findaport.com or our Findaport API service, please contact us at info@portinfo.co.uk. Shipping Guides Ltd are recognised industry specialists in publishing port and harbour information for your various port entry requirements. For more information on our products, please visit www.portinfo.co.uk.