❯ curl echoip.pfuschni.cx

Palmdale, United States · TWC-20001-PACWEST

Additional information

IP address 216.73.216.140
Decimal 3628718220
Country United States
Country (ISO) US
Region California
Region code CA
Metro code 803
Postal code 93551
City Palmdale
Latitude 34.6038
Longitude -118.2295
Timezone America/Los_Angeles
ASN AS20001
Organization TWC-20001-PACWEST

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 echoip.pfuschni.cx 216.73.216.140
curl echoip.pfuschni.cx/country United States
curl echoip.pfuschni.cx/country-iso US
curl echoip.pfuschni.cx/city Palmdale
curl echoip.pfuschni.cx/asn AS20001
  • 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 echoip.pfuschni.cx/json Retrieve all IP information. See response.

Response

{
  "ip": "216.73.216.140",
  "ip_decimal": 3628718220,
  "country": "United States",
  "country_iso": "US",
  "country_eu": false,
  "region_name": "California",
  "region_code": "CA",
  "metro_code": 803,
  "zip_code": "93551",
  "city": "Palmdale",
  "latitude": 34.6038,
  "longitude": -118.2295,
  "time_zone": "America/Los_Angeles",
  "asn": "AS20001",
  "asn_org": "TWC-20001-PACWEST",
  "user_agent": {
    "product": "Mozilla",
    "version": "5.0",
    "comment": "AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
    "raw_value": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
  }
}

Port response

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

{
  "ip": "216.73.216.140",
  "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.