Web Intelligence 1 Endpoints 8 Key Features

Domain Similarity Comparison API

Compare two domains to determine their similarity. Detect potential typosquatting attacks using multiple algorithms including Levenshtein distance, visual similarity, and keyboard proximity analysis.

Category Web Intelligence
Endpoints 1
Key Features 8
Frequently Asked Questions 4

Used by people at amazing companies

VercelLLM PulseOLXCasa ModernaPipeCal.comBeehiivSnykTogglRemoteSprigDeel

Trust signals before you integrate

Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.

99.99% Uptime

Production-ready endpoints are designed for 99.99% uptime and documented status handling.

OpenAPI API artifacts

OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.

API keys Protected access

Authenticated endpoints use API keys with clear credit costs before you call them.

10,000 Free allowance

Start with 10,000 monthly credits and upgrade only when usage grows.

What this API helps you ship

Use this page as a production brief: endpoints, examples, response shape, and the workflow pieces needed to plug DomScan into your own product.

Product workflows

Embed domain checks, DNS intelligence, risk signals, or enrichment into onboarding, search, and internal tools.

Analyst automation

Replace repeated manual lookups with scheduled jobs, alerting, and reproducible investigation steps.

Clean JSON data

Use predictable fields, documented status codes, and credit costs instead of scraping provider pages.

AI and ops tooling

Feed agents, dashboards, SOAR playbooks, and CRMs through OpenAPI, SDK, Postman, or MCP.

Integration workflow

A simple path from first request to repeatable production usage.

1
Authenticate once

Send your API key with the documented header and keep requests consistent across services.

2
Query with examples

Start from the curl and HTTP samples, then map the parameters into your application code.

3
Operate and monitor

Use status codes, credit costs, and response fields to build retries, logs, and alerts.

Developer kit

Jump from this page into machine-readable docs, request collections, SDKs, or agent tooling.

Parameters and response map

Scan the inputs, output fields, and status codes before wiring the endpoint into your client.

Request parameters

Parameter

domain1domain2
Response fields

Example Response

domain1domain2overall_similarityrisk_levelanalysisanalysis.levenshtein_distanceanalysis.levenshtein_similarityanalysis.jaro_winkler_similarityanalysis.visual_similarityanalysis.keyboard_distanceanalysis.common_prefix_lengthanalysis.common_suffix_length
Status coverage

HTTP Status Codes

200400402429500502503504

Endpoints

GET /v1/similarity
Credits: 2Authentication: optional
domain1domain2

Trust signals before you integrate

Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.

Uptime API artifacts

OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.

API keys Protected access

Authenticated endpoints use API keys with clear credit costs before you call them.

Free allowance Sign Up for Free

Start with 10,000 monthly credits and upgrade only when usage grows.

Active Example Request

Start from the curl and HTTP samples, then map the parameters into your application code.

Key Features

Multi-Algorithm Analysis

Uses Levenshtein, Jaro-Winkler, and visual similarity algorithms.

Homoglyph Detection

Detects lookalike characters (0 vs o, l vs 1, rn vs m).

Keyboard Proximity

Identifies typos from adjacent keyboard keys.

Risk Level Rating

Critical, high, medium, low, or none risk classification.

Typosquat Detection

Explicit flag for potential typosquatting attacks.

Detailed Metrics

Individual scores for each similarity algorithm.

Common Prefix/Suffix

Identify shared beginnings and endings.

Brand Protection

Essential tool for protecting your brand from impersonation.

Example Request

GET /v1/similarity bash
Open
curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/similarity?domain1=google.com&domain2=gooogle.com"

Example Response

200 OK json
{
  "domain1": "google.com",
  "domain2": "gooogle.com",
  "overall_similarity": 92,
  "risk_level": "critical",
  "analysis": {
    "levenshtein_distance": 1,
    "levenshtein_similarity": 86,
    "jaro_winkler_similarity": 96,
    "visual_similarity": 95,
    "keyboard_distance": 0,
    "common_prefix_length": 2,
    "common_suffix_length": 6
  },
  "matching_methods": ["levenshtein", "jaro-winkler", "visual", "common-suffix"],
  "is_potential_typosquat": true
}

Frequently Asked Questions

What algorithms are used?

We use Levenshtein distance, Jaro-Winkler similarity, visual similarity (accounting for homoglyphs), and keyboard proximity analysis. Results are combined for an overall similarity score.

What is a homoglyph attack?

Homoglyph attacks use lookalike characters to create deceptive domains. For example, using "0" instead of "o", "1" instead of "l", or "rn" instead of "m". Our visual similarity analysis detects these.

How are risk levels determined?

Risk levels are based on overall similarity and visual similarity scores. Critical means very high likelihood of intentional impersonation. Low means minimal resemblance.

Can I use this for brand monitoring?

Yes! Compare your brand domain against newly registered domains to detect potential typosquatting. High similarity scores warrant investigation.

Related Tools & Resources

HTTP Status Codes

We document the HTTP status codes you should handle so you can distinguish successful responses, auth issues, credits, rate limits, missing data, and upstream failures.

OK 200

Request successful

Bad Request 400

Invalid parameters

Payment Required 402

Not enough credits to run this request.

Too Many Requests 429

Rate limit exceeded

Server Error 500

Internal error

Bad Gateway 502

Upstream RDAP error

Service Unavailable 503

Upstream service unavailable or temporarily rate limited.

Gateway Timeout 504

Upstream lookup timed out.

Compare Domain Similarity