# HackMyIP

> 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.

App · 11 actions. Web page: https://docs.lodol.com/docs/integrations/hackmyip

## Actions

### 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**

- Domain (`domain`, text, required): A domain such as example.com. A full link or an email address works too: only its domain is used.

**Outputs**

- `checked_at` (text): When the check ran (ISO 8601, UTC).
- `dmarc` (object): DMARC: what receivers should do with mail that fails the checks.
- `domain` (text): The domain checked.
- `mx` (object): Mail servers (MX): whether the domain can receive email.
- `overall` (text): 'pass', 'warn' or 'fail' across all three checks.
- `spf` (object): SPF: which servers may send email for the domain.

**Example output**

```json
{
  "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 address (`ip`, text, required): An IPv4 address, such as 8.8.8.8.

**Outputs**

- `blocklists` (list): Every blocklist asked, with its answer.
- `checked_count` (number): How many blocklists answered. The rest were unavailable just then.
- `ip` (text): The address checked.
- `listed` (true/false): True when at least one blocklist lists the address.
- `listed_count` (number): How many blocklists list it.
- `listed_on` (list): The names of the blocklists that list it, e.g. 'SpamCop'.
- `unavailable_count` (number): How many blocklists did not answer.

**Example output**

```json
{
  "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**

- Website (`url`, text, required): The website's address, such as example.com or https://example.com/shop.

**Outputs**

- `checked_at` (text): When the check ran (ISO 8601, UTC).
- `checks` (list): Each security header checked.
- `final_url` (text): The page it ended up on after any redirects.
- `grade` (text): A to F, A being best.
- `headers_to_improve` (list): The headers that are missing or weak, e.g. 'Permissions-Policy'.
- `leaking_headers` (list): Headers that give away the software the site runs, e.g. X-Powered-By.
- `score` (number): 0 to 100, 100 being best.
- `status_code` (number): The HTTP status of that page.
- `url` (text): The address checked.

**Example output**

```json
{
  "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**

- Website (`url`, text, required): The website's address, such as example.com or https://example.com/shop.

**Outputs**

- `checked_at` (text): When the check ran (ISO 8601, UTC).
- `content_type` (text): The kind of content it sent, e.g. 'text/html'.
- `is_up` (true/false): True when the site answered with a working page.
- `note` (text): An explanation when the site looks down.
- `response_time_ms` (number): How long it took to answer, in milliseconds.
- `server` (text): The server software it names, e.g. 'cloudflare'.
- `status_code` (number): The HTTP status it answered with, e.g. 200.
- `status_text` (text): The status in words, e.g. 'OK'.
- `url` (text): The address checked.

**Example output**

```json
{
  "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 address (`ip`, text, required): A public IPv4 or IPv6 address, such as 8.8.8.8.

**Outputs**

- `found` (true/false): False when the address has no hostname.
- `hostname` (text): The hostname it points back to, e.g. 'dns.google'.
- `ip` (text): The address looked up.

**Example output**

```json
{
  "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**

- Domain (`domain`, text, required): A domain such as example.com. A full link or an email address works too: only its domain is used.
- Record type (`record_type`, text): 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**

- `count` (number): How many records of that type it has.
- `domain` (text): The domain looked up.
- `found` (true/false): True when the domain has records of that type.
- `record_type` (text): The record type asked for, e.g. 'MX'.
- `records` (list): Every record in the answer. An A or AAAA lookup also lists the alias (CNAME) it followed.
- `values` (list): Just the values of the records of that type, e.g. ['10 mail.example.com'] for MX.

**Example output**

```json
{
  "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**

- Domain (`domain`, text, required): A domain such as example.com. A full link or an email address works too: only its domain is used.

**Outputs**

- `created_at` (text): When it was first registered (ISO 8601, UTC).
- `days_until_expiry` (number): Days from today until it runs out; negative once it has expired.
- `domain` (text): The domain looked up.
- `expires_at` (text): When the registration runs out (ISO 8601, UTC).
- `name_servers` (list): The name servers the domain uses.
- `rdap_url` (text): The registry's own record of the domain.
- `registered` (true/false): False when there is no registration record, which usually means the domain is not registered.
- `registrar` (text): The company it is registered through, e.g. 'MarkMonitor Inc.'.
- `status` (list): The registry's status flags, e.g. 'client transfer prohibited'.
- `updated_at` (text): When the registration last changed (ISO 8601, UTC).

**Example output**

```json
{
  "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 address (`ip`, text, required): A public IPv4 or IPv6 address, such as 8.8.8.8.

**Outputs**

- `asn` (number): The number of the network the address belongs to, e.g. 15169.
- `city` (text): The city the address is placed in, e.g. 'Ashburn'.
- `country_code` (text): The country's two-letter code, e.g. 'US'.
- `country_name` (text): The country's name, e.g. 'United States'.
- `ip` (text): The address looked up, written the standard way.
- `is_hosting` (true/false): True when the address belongs to a hosting provider or data center rather than a home or office connection.
- `is_mobile` (true/false): True when the address is on a mobile network.
- `is_proxy` (true/false): True when the address is a known proxy or VPN exit.
- `isp` (text): The internet provider, e.g. 'Google LLC'.
- `latitude` (number): Approximate latitude.
- `longitude` (number): Approximate longitude.
- `network_name` (text): The network's short name, e.g. 'GOOGLE'.
- `organization` (text): The organisation using the address, e.g. 'Google Public DNS'.
- `postal_code` (text): The postal or ZIP code, e.g. '20149'.
- `region` (text): The state or region, e.g. 'Virginia'.
- `summary` (text): One line about the address, e.g. '8.8.8.8 is in Ashburn, Virginia, United States, run by Google Public DNS (AS15169)'.
- `time_zone` (text): The time zone there, e.g. 'America/New_York'.

**Example output**

```json
{
  "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 number (`as_number`, number, required): The network's number, such as 13335. 'Look up IP address' gives the number of the network an address is in.

**Outputs**

- `announced` (true/false): True when the network is currently reachable on the internet.
- `asn` (number): The network number looked up, e.g. 13335.
- `country_code` (text): The country's two-letter code, when known.
- `description` (text): Who runs it, e.g. 'Cloudflare, Inc.'.
- `found` (true/false): False when the number is not allocated to anyone.
- `name` (text): The network's short name, e.g. 'CLOUDFLARENET'.
- `registry` (text): The regional registry that allocated it, e.g. 'ARIN'.

**Example output**

```json
{
  "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 addresses (`ips`, list, required): 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**

- `count` (number): How many addresses were looked up.
- `found_count` (number): How many of them HackMyIP had details for.
- `results` (list): One row per address, in the order given.

**Example output**

```json
{
  "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 name (`name`, text, required): All or part of the company's name.

**Outputs**

- `count` (number): How many networks match.
- `networks` (list): The matching networks.
- `query` (text): The name searched for.

**Example output**

```json
{
  "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"
}
```
