Skip to the content


Detect a country from contact information


Auto-detect country information to improve user experience and data accuracy

The methods of the Country Detection service allow you to automatically identify a country based on an address, telephone number, email address or IP address.

Use the IPAddressToCountrySimple method to identify a country from an IP address as a user is on your website to help personalise the site for them.

Use the DetectCountry method for other use-cases such as auto-completing the country in your CRM system after entering an address.

The following methods are available in the CountryDetection service.


Identifies a country from a customer's IP address


Identifies the country from a customer's contact details.