# Lookalike Domain Monitor – Typosquatting & Phishing Check (`gazidev/lookalike-domain-monitor`) Actor

Find registered lookalike domains of your brand: typosquats, homoglyph/IDN, bitsquats, TLD swaps and keyword combos. Returns IPs, MX (phishing-mail signal), nameservers, hosting ASN, RDAP registration date and registrar, parked flag and a risk score. Monitor mode reports only new ones.

- **URL**: https://apify.com/gazidev/lookalike-domain-monitor.md
- **Developed by:** [Cemal Atakli](https://apify.com/gazidev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 domain scanneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Lookalike Domain Monitor – Typosquatting & Phishing Domain Check

Find **registered lookalike domains** of your brand before they are used for phishing: typosquats (`exmple.com`),
keyboard slips (`exanple.com`), homoglyphs and Unicode/IDN tricks (`examp1e.com`, `еxample.com` with a Cyrillic е),
bitsquats, hyphenation, TLD swaps (`example.shop`) and keyword combos (`example-login.com`).
For every lookalike that exists you get IPs, **MX records (the phishing-email signal)**, nameservers, hosting network
(ASN), **registration date and registrar from RDAP**, a parked/for-sale flag and a **0-100 risk score** with reasons.

Turn on **monitor mode**, schedule it, and each run returns only lookalikes that are **new since the last run**.

No browser, no third-party lookup sites: permutations are generated locally with the open-source
[dnstwist](https://github.com/elceef/dnstwist) algorithms (Apache-2.0), then checked against public DNS and the
registries' public RDAP services.

### What it does

1. Normalises each input (URL, subdomain or email -> registrable domain, `login.example.co.uk` -> `example.co.uk`).
2. Generates permutations with the fuzzers you choose (most dangerous first, capped by `maxPermutations`).
3. Resolves them politely (bounded concurrency, Cloudflare/Google/Quad9): NS first, then A/AAAA/MX only for names that exist. Wildcard TLDs are detected so they do not produce false hits.
4. Enriches the registered ones: RDAP (created/expiry date, registrar, abuse email), ASN + hosting country, parking-nameserver check, and optionally the homepage (robots.txt honoured): title, similarity to your title, login form, for-sale page, redirect to your own domain.
5. Scores and sorts them, saves the top `maxItems` per domain.

### Use cases

- **Brand protection / anti-phishing**: weekly watch of your domains, alert on new lookalikes with MX records.
- **MSPs and agencies**: one monitor per client (`monitorName`), scheduled, results to Slack/email via Apify integrations.
- **Security teams**: feed lookalikes into blocklists, mail gateways or takedown requests (registrar abuse email included).
- **Defensive registration**: switch off `onlyRegistered` to get the free list of still-available lookalikes.

### Input example

```json
{
  "domains": ["apify.com"],
  "fuzzers": ["omission", "replacement", "homoglyph", "tld-swap"],
  "onlyRegistered": true,
  "maxItems": 50
}
```

Monitoring: add `"monitorMode": true, "monitorName": "client-acme"` and create a schedule in Apify Console.

### Output example

```json
{
  "inputDomain": "apify.com",
  "lookalikeDomain": "apigy.com",
  "fuzzer": "replacement",
  "riskScore": 62,
  "riskLevel": "high",
  "riskReasons": ["replacement permutation", "MX record: can send/receive email (phishing mail signal)",
                  "resolves to a web server", "registered 106 days ago", "parked / for sale (but accepts email)"],
  "ipv4": ["44.208.83.180", "54.84.240.235"],
  "mx": ["mail1.namebrightmail.com", "mail2.namebrightmail.com"],
  "hasMx": true,
  "nameservers": ["ns1.namebrightdns.com", "ns2.namebrightdns.com"],
  "parked": true,
  "createdAt": "2026-07-13T18:18:20Z",
  "domainAgeDays": 106,
  "registrar": "DropCatch.com 425 LLC",
  "registrarAbuseEmail": "support@namebright.com",
  "asn": 14618,
  "asName": "AMAZON-AES - Amazon.com, Inc., US",
  "hostingCountry": "US",
  "sameNameserversAsOriginal": false,
  "charged": true
}
```

Rows with `status` `INVALID_INPUT`, `NO_LOOKALIKES_FOUND`, `NO_NEW_LOOKALIKES` or `UNREGISTERED` are free.
The run summary (permutations, DNS queries, counts per domain) is in the key-value store record `OUTPUT`.

#### Risk score

Starts from the technique (homoglyph/transposition/hyphenation score higher than bitsquats), then
+20 MX records, +10 resolves to a server, +25/+15/+5 registered in the last 30/180/365 days,
+10 login form, +10 homepage title like yours; −30 same nameservers as your domain or redirect to your domain
(probably your own defensive registration), −15 parked without MX. `high` ≥ 60, `medium` ≥ 35.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Domain scanned (`domain-scanned`) | **$0.01** per input domain |
| Registered lookalike found (`lookalike-found`) | **$0.002** per lookalike saved |

Example: one brand, 50 lookalikes = $0.01 + 50 × $0.002 = **$0.11**. Invalid inputs, unregistered permutations,
"nothing found" rows and (in monitor mode) already-reported lookalikes are free.
The Actor stops cleanly at your maximum charge per run.

| Actor (Apify Store, Oct 2026) | Per domain scanned | Per registered lookalike |
|---|---|---|
| ntriqpro/dnstwist-osint (FREE tier) | $0.05 | $0.03 |
| **This Actor** | **$0.01** | **$0.002** |

### FAQ

**Is this legal / allowed?** It only makes ordinary DNS queries to public resolvers, RDAP queries to registries'
public RDAP services (WHOIS port 43 only for TLDs without RDAP), Team Cymru's public IP-to-ASN DNS service, and -
only if you enable it - one homepage request per lookalike after checking robots.txt. No scraping of lookup websites.

**Why are some registration fields empty?** Some registries (e.g. .de, .eu) publish no creation date or registrar
in public RDAP/WHOIS, and GDPR redaction hides registrant data almost everywhere.

**Does "registered" mean malicious?** No. Many lookalikes are parked, for sale, owned by unrelated businesses or by you.
Use `riskScore`, `hasMx`, `domainAgeDays` and `sameNameserversAsOriginal` to triage.

**How many DNS queries does it make?** About one per permutation plus three per existing name; 1,000 permutations
take 5-15 s at the default concurrency of 20.

**Can I monitor many brands?** Yes, put them all in `domains`; each is one `domain-scanned` event.
Use a different `monitorName` per client to keep separate baselines.

### Use with AI agents (Apify MCP)

Add the Actor to Claude, Cursor or any MCP client through the [Apify MCP server](https://mcp.apify.com)
(`gazidev/lookalike-domain-monitor`). Example prompt: *"Check example.com for registered lookalike domains with MX
records registered in the last 90 days."* The structured rows (`riskScore`, `hasMx`, `domainAgeDays`) are easy for
an agent to filter.

### Attribution

Permutation algorithms from dnstwist by Marcin Ulikowski (Apache License 2.0). IP-to-ASN data from Team Cymru.
Registration data from the registries' RDAP services (IANA bootstrap).

# Actor input Schema

## `domains` (type: `array`):

Brand domains to protect, e.g. `example.com`. URLs, subdomains and emails are reduced to the registrable domain (`https://login.example.co.uk/x` -> `example.co.uk`). Each domain is one `domain-scanned` event.

## `fuzzers` (type: `array`):

dnstwist permutation algorithms. `omission` (exmple.com), `replacement` (exanple.com, keyboard neighbours), `homoglyph` (rn->m, 0->o, Unicode/IDN lookalikes), `bitsquatting`, `hyphenation` (ex-ample.com), `insertion`, `repetition`, `transposition`, `vowel-swap`, `addition`, `plural`, `subdomain` (exa.mple.com), `cyrillic` (full Cyrillic spelling), `dictionary` (example-login.com, secure-example.com; words below), `tld-swap` (example.net/.shop/...; TLDs below), `various`. Empty = all except cyrillic and subdomain.

## `onlyRegistered` (type: `boolean`):

On (recommended): output only lookalikes that exist in DNS. Off: also list unregistered permutations (free rows, up to `maxItems`) as defensive-registration candidates.

## `maxItems` (type: `integer`):

Highest-risk registered lookalikes saved per input domain (each one is a `lookalike-found` event). 0 = no limit.

## `minRiskScore` (type: `integer`):

Skip (and do not charge) lookalikes scoring below this (0-100). 35 = medium and high only.

## `monitorMode` (type: `boolean`):

Remember lookalikes already reported (named key-value store `lookalike-domain-monitor-state` in your account) and output only new ones. Schedule the Actor daily/weekly and attach an email/Slack integration. Already-reported lookalikes are not charged again.

## `monitorName` (type: `string`):

Separate memory per monitor (e.g. one per client). Changing it starts a fresh baseline.

## `tlds` (type: `array`):

Top-level domains tried by the `tld-swap` fuzzer.

## `dictionaryWords` (type: `array`):

Words combined with your brand by the `dictionary` fuzzer (brandlogin.com, brand-secure.com, loginbrand.com...).

## `includeIdn` (type: `boolean`):

Check internationalised lookalikes such as аpple.com (Cyrillic а), shown as punycode xn--... plus the Unicode form.

## `maxPermutations` (type: `integer`):

Safety cap on generated candidates (most dangerous first: ASCII before IDN). Long brand names with all fuzzers can produce 10k+.

## `rdapLookup` (type: `boolean`):

Registration date, age, expiry, registrar and abuse contact from the registry's public RDAP (WHOIS port 43 only for TLDs without RDAP).

## `asnLookup` (type: `boolean`):

Hosting ASN, network name and country of the first IPv4 (Team Cymru IP-to-ASN DNS service).

## `checkHomepage` (type: `boolean`):

Fetch only the lookalike's homepage (robots.txt honoured): title, similarity to your title, login form, for-sale page, redirects to your domain. Slower.

## `resolvers` (type: `string`):

Public DNS resolver used for all lookups.

## `dnsConcurrency` (type: `integer`):

Parallel DNS queries (kept low to be polite to public resolvers).

## Actor input object example

```json
{
  "domains": [
    "apify.com"
  ],
  "fuzzers": [
    "omission",
    "replacement",
    "homoglyph",
    "tld-swap"
  ],
  "onlyRegistered": true,
  "maxItems": 50,
  "minRiskScore": 0,
  "monitorMode": false,
  "monitorName": "default",
  "tlds": [
    "com",
    "net",
    "org",
    "info",
    "biz",
    "co",
    "io",
    "app",
    "online",
    "site",
    "shop",
    "store",
    "xyz",
    "top",
    "live",
    "support",
    "services",
    "tech",
    "cloud",
    "us",
    "uk",
    "co.uk",
    "de",
    "eu",
    "fr",
    "nl",
    "es",
    "it",
    "ru",
    "cn",
    "in",
    "com.br",
    "ca",
    "com.au",
    "me",
    "cc",
    "vip",
    "club",
    "link"
  ],
  "dictionaryWords": [
    "login",
    "signin",
    "secure",
    "account",
    "verify",
    "support",
    "help",
    "billing",
    "pay",
    "app",
    "online",
    "portal",
    "my",
    "auth",
    "mail",
    "update",
    "service",
    "official",
    "web",
    "shop"
  ],
  "includeIdn": true,
  "maxPermutations": 3000,
  "rdapLookup": true,
  "asnLookup": true,
  "checkHomepage": false,
  "resolvers": "cloudflare",
  "dnsConcurrency": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `registration` (type: `string`):

No description

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com"
    ],
    "fuzzers": [
        "omission",
        "replacement",
        "homoglyph",
        "tld-swap"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("gazidev/lookalike-domain-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": ["apify.com"],
    "fuzzers": [
        "omission",
        "replacement",
        "homoglyph",
        "tld-swap",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("gazidev/lookalike-domain-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com"
  ],
  "fuzzers": [
    "omission",
    "replacement",
    "homoglyph",
    "tld-swap"
  ],
  "maxItems": 50
}' |
apify call gazidev/lookalike-domain-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gazidev/lookalike-domain-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ZltkP5c1Ne17MgQXu/builds/VHQ2yqAfmYQX7T4ST/openapi.json
