Typosquatting Detection API
pro/v1/domain/typosquatsGenerates domain name variations using 12 permutation algorithms and checks which ones resolve to active servers. Identifies potential typosquatting threats including homoglyph attacks, character swaps, TLD variations, and more.
What It Does
Applies 12 typosquatting algorithms (character omission, swap, doubling, insertion, adjacent key substitution, homoglyph substitution, TLD swap, hyphenation, bitsquatting, vowel swap, subdomain insertion, plural/singular) to generate domain variations, then batch-resolves them via DNS to find active threats.
Why It's Useful
Typosquatting is a leading vector for phishing, credential theft, and brand abuse. Proactively identifying registered lookalike domains enables takedown requests and employee awareness training.
Use Cases
Brand Protection Sweep
Run weekly scans against company domains to identify newly registered typosquat domains that could be used for phishing.
Enable proactive takedown via ICANN UDRP dispute resolution or registrar abuse reports before lookalike domains impact customers.
Phishing Campaign Analysis
When a phishing email is reported, quickly check all common variations of the spoofed domain to find the full scope of the campaign.
Identify all domains in a phishing campaign, not just the one reported, for comprehensive blocking.
Domain Registration Defense
Before launching a new brand, check which typosquat variations are already registered and defensively register critical ones.
Prevent brand abuse by registering high-risk typosquat domains before attackers do.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The domain to check for typosquatting variationsExample: example.com |
check_dns | query | string | Optional | Whether to resolve variations via DNS to check registration and activity (default: true). Set to false for fast variation-only results.Example: true |
check_certs | query | boolean | Optional | Opt in to certificate-history checks for registered variants; adds latency. Default false.Example: false |
compare_pages | query | boolean | Optional | Opt in to page similarity checks against the reference domain; adds latency. Default false.Example: false |
max_variations | query | number | Optional | Maximum generated variations, 1–400. Default 250.Example: 250 |
Response Fields
Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.
| Field | Type | Description |
|---|---|---|
domain | string | The original domain checked |
total_variations | number | Total variations generated across all algorithms |
registered_count | number | Variations that are registered in DNS (may not resolve to an IP) |
resolving_count | number | Variations resolving to active servers with A records |
variations | array | Each variation with domain, type, registered, resolves, ip, has_mx, and risk level (high/medium/low/none) |
note | string | Coverage note for the generated and checked variants. |
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the pro plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/domain/typosquats?domain=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/domain/typosquats?domain=example.com",
{
"method": "GET",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
);
if (!response.ok) {
throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);import requests
response = requests.request(
'GET',
"https://api.edgedns.dev/v1/domain/typosquats?domain=example.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full Typosquatting Detection guide
Learn the concepts, choose a practical workflow, and interpret the observations from Typosquatting Detection before acting on them. Run supported checks via MCP or through REST.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.
Try This Endpoint
Test the Typosquatting Detection endpoint live in the playground.