❯ curl ip.supersandro.de

Ashburn, United States · AMAZON-AES

Additional information

IP address 2600:1f28:365:80b0:661e:3d44:ae1a:25dd
Decimal 50511295764702181196841577643847067101
Country United States
Country (ISO) US
Region Virginia
Region code VA
Metro code 511
Postal code 20149
City Ashburn
Latitude 39.0469
Longitude -77.4903
Timezone America/New_York
ASN AS14618
Organization AMAZON-AES

Location

Approximate location based on IP address. IP geolocation data is provided by MaxMind GeoLite2.

API

All data is available programmatically. When using curl, pass the -s flag to hide the progress bar.

Plain text

These endpoints return plain text by default, with a trailing newline at the end.

Command Response
curl ip.supersandro.de 2600:1f28:365:80b0:661e:3d44:ae1a:25dd
curl ip.supersandro.de/country United States
curl ip.supersandro.de/country-iso US
curl ip.supersandro.de/city Ashburn
curl ip.supersandro.de/asn AS14618
  • Set the Accept: application/json header to request response as JSON.
  • Append ?ip=IP to the request URL to lookup information for a different IP. This is not supported for the /port endpoint.

JSON

These endpoints always return JSON.

Command Description
curl ip.supersandro.de/json Retrieve all IP information. See response.

Response

{
  "ip": "2600:1f28:365:80b0:661e:3d44:ae1a:25dd",
  "ip_decimal": 50511295764702181196841577643847067101,
  "country": "United States",
  "country_iso": "US",
  "country_eu": false,
  "region_name": "Virginia",
  "region_code": "VA",
  "metro_code": 511,
  "zip_code": "20149",
  "city": "Ashburn",
  "latitude": 39.0469,
  "longitude": -77.4903,
  "time_zone": "America/New_York",
  "asn": "AS14618",
  "asn_org": "AMAZON-AES",
  "user_agent": {
    "product": "CCBot",
    "version": "2.0",
    "comment": "(https://commoncrawl.org/faq/)",
    "raw_value": "CCBot/2.0 (https://commoncrawl.org/faq/)"
  }
}

Port response

This is an example response. The actual result depends on the reachability of the queried port.

{
  "ip": "2600:1f28:365:80b0:661e:3d44:ae1a:25dd",
  "port": 443,
  "reachable": false
}

FAQ

How do I force IPv4 or IPv6 lookup?
Pass the appropriate flag to your client, e.g. curl -4 or curl -6.
Is automated use permitted?
Yes, but please limit automated requests to 1 request per minute. Requests exceeding this limit may receive a 429 status code or be dropped entirely.
Can I run my own instance?
Yes. The source code and documentation are available on GitHub.