Get Geographic $2.00 / 1,000 calls

Country by IP

What this tool does

This tool helps you find the country associated with an Internet address. It is useful for understanding where traffic originates or verifying the geographic location of a web presence.

When to use it

  • Checking if a website visitor is coming from a specific country.
  • Verifying the location of a server or service.
  • Filtering content based on the user's geographic region.

What to expect

The tool returns the name and two-letter code of the country linked to the provided address.

Limitations

  • The result is based on registration data and may not reflect the user's actual physical location.
  • Some addresses, such as those from private networks or virtual hosts, may not have a known country.
  • The accuracy depends on the quality of the underlying location data.

When it fails

  • The provided address is not in a valid format.
  • The location data for the address is not available.
  • The service could not retrieve the information in time.

Good to know

  • Private network addresses do not have a public geographic location.
  • Results are based on data registration and may vary slightly.

Input data

Parameter Required Example Description
ip Yes 95.23.100.79 The IP address to look up, written as four groups of numbers separated by dots (e.g. 95.23.100.79). This is required. If the format is incorrect or it is a local test address, the tool will return empty results.

Output data

Field Description
code The two-letter country code (e.g. ES). It is empty if the IP address is invalid or the lookup fails.
name The full name of the country (e.g. Spain). It is empty if the IP address is invalid or the lookup fails.