{% include "styles.html" %}
{%- if City %}{{ City }}{% if Country %}, {% endif %}{% endif -%} {{- Country -}} {%- if CountryISO %} {{ CountryISO }}{% endif -%} {%- if ASNOrg %} · {{ ASNOrg }}{% endif -%}
| IP | {{ IP }} |
|---|---|
| Decimal | {{ IPDecimal }} |
| Hostname | {{ Hostname }} |
| ASN | {{ ASN }} |
| Organization | {{ ASNOrg }} |
| Country | {{ Country }} |
| Country ISO | {{ CountryISO }} |
| EU Member | {{ CountryEU }} |
| Region | {{ RegionName }} |
| Region Code | {{ RegionCode }} |
| City | {{ City }} |
| Postal Code | {{ PostalCode }} |
| Metro Code | {{ MetroCode }} |
| Latitude | {{ Latitude }} |
| Longitude | {{ Longitude }} |
| Timezone | {{ Timezone }} |
All endpoints are available programmatically. Use curl -s to suppress the progress bar.
| Command | Response |
|---|---|
curl {{ Host }}{% if ExplicitLookup %}?ip={{ IP }}{% endif %} |
{{ IP }} |
curl {{ Host }}/country{% if ExplicitLookup %}?ip={{ IP }}{% endif %} |
{{ Country }} |
curl {{ Host }}/country-iso{% if ExplicitLookup %}?ip={{ IP }}{% endif %} |
{{ CountryISO }} |
curl {{ Host }}/city{% if ExplicitLookup %}?ip={{ IP }}{% endif %} |
{{ City }} |
curl {{ Host }}/asn{% if ExplicitLookup %}?ip={{ IP }}{% endif %} |
{{ ASN }} |
Accept: application/json header for JSON responses.?ip=ADDRESS to look up a different IP. Not supported on /port.| Command | Description |
|---|---|
curl {{ Host }}/json{% if ExplicitLookup %}?ip={{ IP }}{% endif %} |
Full IP information |
curl {{ Host }}/port/<PORT> |
Port reachability check |
{{ JSON | safe }}
{% if Port %}
{
"ip": "{{ IP }}",
"port": 443,
"reachable": false
}
{% endif %}
-4 or -6 to your client, e.g. curl -4 {{ Host }}.