❯ curl ip.kendoo.eu

United States

Additional information

IP address 18.97.14.87
Decimal 308350551
Country United States
Country (ISO) US
Latitude 37.751
Longitude -97.822
Timezone America/Chicago

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.kendoo.eu 18.97.14.87
curl ip.kendoo.eu/country United States
curl ip.kendoo.eu/country-iso US
  • 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.kendoo.eu/json Retrieve all IP information. See response.
curl ip.kendoo.eu/port/<PORT> Check if given port is reachable. See port response.

Response

{
  "ip": "18.97.14.87",
  "ip_decimal": 308350551,
  "country": "United States",
  "country_iso": "US",
  "country_eu": false,
  "latitude": 37.751,
  "longitude": -97.822,
  "time_zone": "America/Chicago",
  "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": "18.97.14.87",
  "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.