HackMyIP

App · 11 actions

Free lookups about IP addresses, domains and websites: where an IP address is and who runs it, whether it's on spam blocklists, a domain's DNS records, registration and email setup, whether a website is up and how good its security headers are. No account or API key required.

Actions

ActionWhat it does
Check email domain setupCheck how a domain is set up for email: whether it has mail servers (MX), which servers may send for it (SPF) and what happens to forged mail (DMARC), each with a pass, warn or fail and a plain explanation.
Check IP on spam blocklistsCheck whether an IPv4 address is on any of 12 spam and abuse blocklists, such as Spamhaus, Barracuda and SpamCop.
Check website security headersGrade a website's security headers from A to F: HTTPS enforcement (HSTS), Content-Security-Policy, clickjacking protection and more, with what each is for.
Check website statusCheck whether a website is up, with the status it answers with and how long it takes.
Find hostname for IPFind the hostname an IP address points back to (reverse DNS), such as dns.google for 8.8.8.8.
Look up DNS recordsGet a domain's DNS records of one type: the addresses it points to, its mail servers, name servers, text records (such as SPF or site verification) and more.
Look up domain registrationGet a domain's registration (WHOIS): the registrar, when it was registered, when it expires and how many days are left, and its name servers.
Look up IP addressFind where an IP address is (city, region, country, time zone) and who runs it (internet provider, organisation, network), and whether it belongs to a hosting provider, a proxy or VPN, or a mobile network.
Look up networkLook up a network by its AS number (the number every internet provider and large company network has, such as 13335 for Cloudflare): who runs it and which registry allocated it.
Look up several IP addressesLook up to 50 IP addresses at once: city, country, internet provider and organisation for each.
Search networks by companyFind the networks (AS numbers) a company runs by searching for its name, such as cloudflare.

Check email domain setup

Check how a domain is set up for email: whether it has mail servers (MX), which servers may send for it (SPF) and what happens to forged mail (DMARC), each with a pass, warn or fail and a plain explanation.

Inputs

DomaindomaintextRequired
A domain such as example.com. A full link or an email address works too: only its domain is used.

Outputs

checked_attext
When the check ran (ISO 8601, UTC).
dmarcobject
DMARC: what receivers should do with mail that fails the checks.
domaintext
The domain checked.
mxobject
Mail servers (MX): whether the domain can receive email.
overalltext
'pass', 'warn' or 'fail' across all three checks.
spfobject
SPF: which servers may send email for the domain.
Example output
{
  "checked_at": "2026-10-19T22:41:38.569Z",
  "dmarc": {
    "explanation": "DMARC policy is p=quarantine: spoofed mail is sent to spam. Strong protection \u2014 p=reject is stricter still.",
    "policy": "quarantine",
    "record": "v=DMARC1; p=quarantine; sp=reject; pct=100; fo=1",
    "status": "pass"
  },
  "domain": "github.com",
  "mx": {
    "explanation": "1 mail server configured. The domain can receive email.",
    "mail_servers": [
      {
        "host": "github-com.mail.protection.outlook.com",
        "priority": 0
      }
    ],
    "record": "0 github-com.mail.protection.outlook.com",
    "status": "pass"
  },
  "overall": "pass",
  "spf": {
    "explanation": "SPF ends with ~all (soft fail): mail from unauthorized servers is accepted but flagged. A solid, common policy.",
    "record": "v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com ~all",
    "status": "pass"
  }
}

Check IP on spam blocklists

Check whether an IPv4 address is on any of 12 spam and abuse blocklists, such as Spamhaus, Barracuda and SpamCop. Useful for checking a mail server's address, or screening sign-ups.

Inputs

IP addressiptextRequired
An IPv4 address, such as 8.8.8.8.

Outputs

blocklistslist
Every blocklist asked, with its answer.
checked_countnumber
How many blocklists answered. The rest were unavailable just then.
iptext
The address checked.
listedtrue/false
True when at least one blocklist lists the address.
listed_countnumber
How many blocklists list it.
listed_onlist
The names of the blocklists that list it, e.g. 'SpamCop'.
unavailable_countnumber
How many blocklists did not answer.
Example output
{
  "blocklists": [
    {
      "description": "Combined spam/exploit/policy blocklist",
      "listed": false,
      "name": "Spamhaus ZEN",
      "status": "unavailable",
      "zone": "zen.spamhaus.org"
    },
    {
      "description": "Barracuda reputation block list",
      "listed": true,
      "name": "Barracuda",
      "status": "listed",
      "zone": "b.barracudacentral.org"
    },
    {
      "description": "SpamCop blocking list",
      "listed": true,
      "name": "SpamCop",
      "status": "listed",
      "zone": "bl.spamcop.net"
    }
  ],
  "checked_count": 2,
  "ip": "127.0.0.2",
  "listed": true,
  "listed_count": 2,
  "listed_on": [
    "Barracuda",
    "SpamCop"
  ],
  "unavailable_count": 1
}

Check website security headers

Grade a website's security headers from A to F: HTTPS enforcement (HSTS), Content-Security-Policy, clickjacking protection and more, with what each is for. Also lists headers that give away the software the site runs.

Inputs

WebsiteurltextRequired
The website's address, such as example.com or https://example.com/shop.

Outputs

checked_attext
When the check ran (ISO 8601, UTC).
checkslist
Each security header checked.
final_urltext
The page it ended up on after any redirects.
gradetext
A to F, A being best.
headers_to_improvelist
The headers that are missing or weak, e.g. 'Permissions-Policy'.
leaking_headerslist
Headers that give away the software the site runs, e.g. X-Powered-By.
scorenumber
0 to 100, 100 being best.
status_codenumber
The HTTP status of that page.
urltext
The address checked.
Example output
{
  "checked_at": "2026-10-19T22:41:38.343Z",
  "checks": [
    {
      "explanation": "Forces browsers to use HTTPS, protecting against protocol-downgrade and cookie-hijacking attacks.",
      "header": "Strict-Transport-Security",
      "present": true,
      "result": "pass",
      "value": "max-age=31536000; includeSubDomains; preload"
    },
    {
      "explanation": "Prevents the page from being framed by other sites, blocking clickjacking.",
      "header": "X-Frame-Options",
      "present": true,
      "result": "pass",
      "value": "SAMEORIGIN"
    },
    {
      "explanation": "Missing. Full URLs may leak to third parties via the Referer header.",
      "header": "Referrer-Policy",
      "present": false,
      "result": "warn",
      "value": null
    },
    {
      "explanation": "Missing. Embedded content can request powerful features without restriction.",
      "header": "Permissions-Policy",
      "present": false,
      "result": "warn",
      "value": null
    }
  ],
  "final_url": "https://dotnet.microsoft.com/en-us/apps/aspnet",
  "grade": "B",
  "headers_to_improve": [
    "Referrer-Policy",
    "Permissions-Policy"
  ],
  "leaking_headers": [
    {
      "header": "X-Powered-By",
      "value": "ASP.NET"
    }
  ],
  "score": 70,
  "status_code": 200,
  "url": "https://asp.net"
}

Check website status

Check whether a website is up, with the status it answers with and how long it takes. Run it on a schedule to be told when a site goes down.

Inputs

WebsiteurltextRequired
The website's address, such as example.com or https://example.com/shop.

Outputs

checked_attext
When the check ran (ISO 8601, UTC).
content_typetext
The kind of content it sent, e.g. 'text/html'.
is_uptrue/false
True when the site answered with a working page.
notetext
An explanation when the site looks down.
response_time_msnumber
How long it took to answer, in milliseconds.
servertext
The server software it names, e.g. 'cloudflare'.
status_codenumber
The HTTP status it answered with, e.g. 200.
status_texttext
The status in words, e.g. 'OK'.
urltext
The address checked.
Example output
{
  "checked_at": "2026-10-19T22:37:08.442Z",
  "content_type": "text/html; charset=utf-8",
  "is_up": true,
  "note": null,
  "response_time_ms": 14,
  "server": "cloudflare",
  "status_code": 200,
  "status_text": "OK",
  "url": "https://example.com"
}

Find hostname for IP

Find the hostname an IP address points back to (reverse DNS), such as dns.google for 8.8.8.8. Many addresses have none; then 'found' is false.

Inputs

IP addressiptextRequired
A public IPv4 or IPv6 address, such as 8.8.8.8.

Outputs

foundtrue/false
False when the address has no hostname.
hostnametext
The hostname it points back to, e.g. 'dns.google'.
iptext
The address looked up.
Example output
{
  "found": true,
  "hostname": "dns.google",
  "ip": "8.8.8.8"
}

Look up DNS records

Get a domain's DNS records of one type: the addresses it points to, its mail servers, name servers, text records (such as SPF or site verification) and more.

Inputs

DomaindomaintextRequired
A domain such as example.com. A full link or an email address works too: only its domain is used.
Record typerecord_typetext
Which records to get. Defaults to A.One of: A (A: IPv4 address), AAAA (AAAA: IPv6 address), CNAME (CNAME: alias for another name), MX (MX: mail servers), NS (NS: name servers), TXT (TXT: text records (SPF, site verification)), SOA (SOA: zone authority), CAA (CAA: who may issue certificates). Default: A.

Outputs

countnumber
How many records of that type it has.
domaintext
The domain looked up.
foundtrue/false
True when the domain has records of that type.
record_typetext
The record type asked for, e.g. 'MX'.
recordslist
Every record in the answer. An A or AAAA lookup also lists the alias (CNAME) it followed.
valueslist
Just the values of the records of that type, e.g. ['10 mail.example.com'] for MX.
Example output
{
  "count": 1,
  "domain": "github.com",
  "found": true,
  "record_type": "MX",
  "records": [
    {
      "name": "github.com",
      "ttl": 300,
      "type": "MX",
      "value": "0 github-com.mail.protection.outlook.com"
    }
  ],
  "values": [
    "0 github-com.mail.protection.outlook.com"
  ]
}

Look up domain registration

Get a domain's registration (WHOIS): the registrar, when it was registered, when it expires and how many days are left, and its name servers. A domain with no registration comes back with 'registered' false rather than failing.

Inputs

DomaindomaintextRequired
A domain such as example.com. A full link or an email address works too: only its domain is used.

Outputs

created_attext
When it was first registered (ISO 8601, UTC).
days_until_expirynumber
Days from today until it runs out; negative once it has expired.
domaintext
The domain looked up.
expires_attext
When the registration runs out (ISO 8601, UTC).
name_serverslist
The name servers the domain uses.
rdap_urltext
The registry's own record of the domain.
registeredtrue/false
False when there is no registration record, which usually means the domain is not registered.
registrartext
The company it is registered through, e.g. 'MarkMonitor Inc.'.
statuslist
The registry's status flags, e.g. 'client transfer prohibited'.
updated_attext
When the registration last changed (ISO 8601, UTC).
Example output
{
  "created_at": "2007-10-09T18:20:50Z",
  "days_until_expiry": 721,
  "domain": "github.com",
  "expires_at": "2028-10-09T18:20:50Z",
  "name_servers": [
    "dns1.p08.nsone.net",
    "dns2.p08.nsone.net",
    "ns-1283.awsdns-32.org",
    "ns-1707.awsdns-21.co.uk"
  ],
  "rdap_url": "https://rdap.verisign.com/com/v1/domain/github.com",
  "registered": true,
  "registrar": "MarkMonitor Inc.",
  "status": [
    "client delete prohibited",
    "client transfer prohibited",
    "client update prohibited"
  ],
  "updated_at": "2026-09-07T09:22:52Z"
}

Look up IP address

Find where an IP address is (city, region, country, time zone) and who runs it (internet provider, organisation, network), and whether it belongs to a hosting provider, a proxy or VPN, or a mobile network. Useful for spotting sign-ups or orders from data centers and VPNs.

Inputs

IP addressiptextRequired
A public IPv4 or IPv6 address, such as 8.8.8.8.

Outputs

asnnumber
The number of the network the address belongs to, e.g. 15169.
citytext
The city the address is placed in, e.g. 'Ashburn'.
country_codetext
The country's two-letter code, e.g. 'US'.
country_nametext
The country's name, e.g. 'United States'.
iptext
The address looked up, written the standard way.
is_hostingtrue/false
True when the address belongs to a hosting provider or data center rather than a home or office connection.
is_mobiletrue/false
True when the address is on a mobile network.
is_proxytrue/false
True when the address is a known proxy or VPN exit.
isptext
The internet provider, e.g. 'Google LLC'.
latitudenumber
Approximate latitude.
longitudenumber
Approximate longitude.
network_nametext
The network's short name, e.g. 'GOOGLE'.
organizationtext
The organisation using the address, e.g. 'Google Public DNS'.
postal_codetext
The postal or ZIP code, e.g. '20149'.
regiontext
The state or region, e.g. 'Virginia'.
summarytext
One line about the address, e.g. '8.8.8.8 is in Ashburn, Virginia, United States, run by Google Public DNS (AS15169)'.
time_zonetext
The time zone there, e.g. 'America/New_York'.
Example output
{
  "asn": 15169,
  "city": "Ashburn",
  "country_code": "US",
  "country_name": "United States",
  "ip": "8.8.8.8",
  "is_hosting": true,
  "is_mobile": false,
  "is_proxy": true,
  "isp": "Google LLC",
  "latitude": 39.03,
  "longitude": -77.5,
  "network_name": "GOOGLE",
  "organization": "Google Public DNS",
  "postal_code": "20149",
  "region": "Virginia",
  "summary": "8.8.8.8 is in Ashburn, Virginia, United States, run by Google Public DNS (AS15169); hosting or data center, proxy or VPN",
  "time_zone": "America/New_York"
}

Look up network

Look up a network by its AS number (the number every internet provider and large company network has, such as 13335 for Cloudflare): who runs it and which registry allocated it.

Inputs

AS numberas_numbernumberRequired
The network's number, such as 13335. 'Look up IP address' gives the number of the network an address is in.

Outputs

announcedtrue/false
True when the network is currently reachable on the internet.
asnnumber
The network number looked up, e.g. 13335.
country_codetext
The country's two-letter code, when known.
descriptiontext
Who runs it, e.g. 'Cloudflare, Inc.'.
foundtrue/false
False when the number is not allocated to anyone.
nametext
The network's short name, e.g. 'CLOUDFLARENET'.
registrytext
The regional registry that allocated it, e.g. 'ARIN'.
Example output
{
  "announced": true,
  "asn": 13335,
  "country_code": null,
  "description": "Cloudflare, Inc.",
  "found": true,
  "name": "CLOUDFLARENET",
  "registry": "ARIN"
}

Look up several IP addresses

Look up to 50 IP addresses at once: city, country, internet provider and organisation for each. An entry that can't be looked up gets its own row with the reason instead of failing the step.

Inputs

IP addressesipslistRequired
Up to 50 public addresses. A list from an earlier step works, and so does text with one address per line or separated by commas.

Outputs

countnumber
How many addresses were looked up.
found_countnumber
How many of them HackMyIP had details for.
resultslist
One row per address, in the order given.
Example output
{
  "count": 3,
  "found_count": 2,
  "results": [
    {
      "city": "Ashburn",
      "country_code": "US",
      "error": null,
      "found": true,
      "ip": "8.8.8.8",
      "isp": "Google LLC",
      "latitude": 39.03,
      "longitude": -77.5,
      "organization": "Google Public DNS"
    },
    {
      "city": "South Brisbane",
      "country_code": "AU",
      "error": null,
      "found": true,
      "ip": "1.1.1.1",
      "isp": "Cloudflare, Inc",
      "latitude": -27.4766,
      "longitude": 153.0166,
      "organization": "APNIC and Cloudflare DNS Resolver project"
    },
    {
      "city": null,
      "country_code": null,
      "error": "A private or reserved address; only public ones have data",
      "found": false,
      "ip": "10.0.0.1",
      "isp": null,
      "latitude": null,
      "longitude": null,
      "organization": null
    }
  ]
}

Search networks by company

Find the networks (AS numbers) a company runs by searching for its name, such as cloudflare.

Inputs

Company namenametextRequired
All or part of the company's name.

Outputs

countnumber
How many networks match.
networkslist
The matching networks.
querytext
The name searched for.
Example output
{
  "count": 2,
  "networks": [
    {
      "asn": 13335,
      "country_code": null,
      "description": "Cloudflare, Inc.",
      "name": "CLOUDFLARENET"
    },
    {
      "asn": 209242,
      "country_code": null,
      "description": null,
      "name": "CLOUDFLARESPECTRUM Cloudflare London, LLC"
    }
  ],
  "query": "cloudflare"
}

On this page