IPinfo

Your public IP address

2600:1f28:365:80b0:9bd:e822:e72e:8f06

View JSON

Country
United StatesCountry code: US
City
AshburnVirginia
Network
AS14618Amazon Data Services Northern Virginia

Connection details

A closer look at this address.

IP address and network details
IP address2600:1f28:365:80b0:9bd:e822:e72e:8f06
Decimal address50511295764702181190185163791033863942
Country codeUS
RegionVirginia
Region codeVA
Postal code20147
Network providerAmazon Data Services Northern Virginia
Time zoneAmerica/New_York
Coordinates39.04372, -77.48749
User agentCCBot/2.0 (https://commoncrawl.org/faq/)

API

Make it a query.

Choose what you need. Copy the command or try it here.

Terminal

Response

Current address preview

          

The service reports the address used to connect to it. Port checks test the connection's IP address.

Usage

Commands use this service's address. Responses below are illustrative; your results depend on the IP address being looked up.

Just the IP address

$ curl 'https://ip.bea.sh'
127.0.0.1

$ http 'https://ip.bea.sh'
127.0.0.1

$ wget -qO- 'https://ip.bea.sh'
127.0.0.1

$ fetch -qo- 'https://ip.bea.sh'
127.0.0.1

$ bat -print=b 'https://ip.bea.sh/ip'
127.0.0.1

Country, city, and network lookup

$ curl 'https://ip.bea.sh/country'
Elbonia

$ curl 'https://ip.bea.sh/country-iso'
EB

$ curl 'https://ip.bea.sh/city'
Bornyasherk

$ curl 'https://ip.bea.sh/asn'
AS31337

$ curl 'https://ip.bea.sh/asn-org'
Dilbert Technologies

As JSON

$ curl -H 'Accept: application/json' 'https://ip.bea.sh'
# Or: curl 'https://ip.bea.sh/json'
{
  "city": "Bornyasherk",
  "country": "Elbonia",
  "country_iso": "EB",
  "ip": "127.0.0.1",
  "ip_decimal": 2130706433,
  "asn": "AS31337",
  "asn_org": "Dilbert Technologies"
}

Port testing

$ curl 'https://ip.bea.sh/port/80'
{
  "ip": "127.0.0.1",
  "port": 80,
  "reachable": false,
  "status": "refused"
}

IPv4 and IPv6

This service supports both IPv4 and IPv6 and reports the address used to connect to it. curl's -4 and -6 flags choose the client's connection family; a VPN or proxy may forward that connection over a different family.

Install IPinfo

Your network, one tap away.

Use your browser’s menu to install IPinfo or add it to your home screen. In Safari on iPhone or iPad, tap Share, then Add to Home Screen. On Mac, choose File → Add to Dock.

IP and location checks need an internet connection.