IP Address Today

IP address lookup for Peru

Every lookup that resolves to Peru carries the country facts below, alongside the region, city, coordinates and network operator for that particular address.

Peru country reference

Country name
Peru
ISO 3166-1 alpha-2
PE
Capital
Lima
International calling code
+51

What a lookup returns for Peru

The country block is filled in from the address itself — you do not pass the country in. Region, city and network vary per address.

{
  "ip": "203.0.113.42",
  "location": {
    "country": {
      "name": "Peru",
      "code": "PE",
      "capital": "Lima",
      "phoneCode": "+51",
      "flag": "🇵🇪"
    },
    "region": { "name": "…", "code": "…" },
    "city": "…",
    "latitude": 0.0,
    "longitude": 0.0,
    "accuracyRadius": 50
  },
  "connection": { "asn": 0, "isp": "…", "org": "…" }
}

How accurate is geolocation in Peru?

Country-level accuracy is reliable — the address blocks allocated to networks operating in Peru are well documented by the regional registry. City-level accuracy is not a guarantee anywhere: an address is mapped to where its network announces it, which is often a provider hub rather than the user's suburb.

Every response carries an accuracyRadius in kilometres. Treat the coordinates as the centre of a circle that size, not as a pin. Mobile and corporate connections in Peru routinely resolve to a different city entirely, and anyone on a VPN will resolve wherever the exit node sits.

Common uses

  • Showing prices in the local currency and applying the right tax treatment for visitors from Peru.
  • Defaulting the country and calling code (+51) on sign-up forms so people are not scrolling a list of 200.
  • Meeting content licensing or regulatory rules that differ by country.
  • Flagging logins from an unexpected country during fraud review.

Doing this for thousands of addresses?

These calculators run in your browser and never send us your input. When you need geolocation, ASN and network data for addresses in bulk, the API answers in one call — no key required to try it.

curl https://api.ipaddresstoday.com/api/v1/8.8.8.8

Related