Developer reference

Typosquatting Detection

DomScan API: Detect typosquatting threats and similar domains that could be used for phishing or brand abuse.

Typosquatting Detection

Detect typosquatting threats and similar domains that could be used for phishing or brand abuse.

GET/v1/typos

Query parameters

ParameterTypeDescription
domain requiredstringDomain to check for typosquatting variants
limit optionalnumberMax permutations to check (default: 50)
check_registered optionalboolean token
Allowed values 1true
Default false
Checks which permutations are already registered, up to 50 domains. Off by default because it adds upstream lookups.

Example response

{
                "domain": "google.com",
                "permutations_generated": 50,
                "registered_typos": [
                {
                "domain": "gooogle.com",
                "type": "repetition",
                "risk": "high",
                "registered": true
                },
                {
                "domain": "googIe.com",
                "type": "homoglyph",
                "risk": "critical",
                "registered": true
                }
                ],
                "threat_level": "critical",
                "risk_summary": {
                "critical": 2,
                "high": 5,
                "medium": 10,
                "low": 8
                }
                }

Response fields

FieldType
domainstring
namestring
tldstring
permutations_generatedinteger
permutations_checkedinteger
registered_typos[]object[]
registered_typos[]object
registered_typos[].classificationobject
registered_typos[].classification.statusstring
registered_typos[].classification.reasonstring
registered_typos[].classification.evidenceobject
registered_typos[].classification.evidence.sourcestring
registered_typos[].classification.evidence.methodstring
registered_typos[].classification.evidence.observed_atstring
registered_typos[].classification.evidence.detailstring
registered_typos[].classification.checked_atstring
registered_typos[].domainstring
registered_typos[].namestring
registered_typos[].tldstring
registered_typos[].typestring
registered_typos[].riskstring
registered_typos[].descriptionstring
registered_typos[].registeredboolean
registered_typos[].checked_atstring
available_typosinteger
unknown_typosinteger
risk_summaryobject
risk_summary.criticalinteger
risk_summary.highinteger
risk_summary.mediuminteger
risk_summary.lowinteger
threat_levelstring
family_summaryobject
family_summary.generated_by_typeobject
family_summary.generated_by_riskobject
family_summary.registered_by_typeobject
family_summary.registered_by_riskobject
family_summary.top_generated_familystring | null
family_summary.top_registered_familystring | null
family_summary.critical_or_high_generated_countinteger
family_summary.critical_or_high_registered_countinteger
family_summary.coverage_rationumber
family_summary.checked_countinteger
family_summary.available_countinteger
family_summary.unknown_countinteger
family_summary.omitted_countinteger
family_summary.include_tld_swapboolean
family_summary.requested_limitinteger
checked_atstring
check_duration_msinteger
metaobject
meta.served_bystring
meta.cachedboolean
meta.query_time_msinteger
meta.registration_check_requestedboolean
meta.registration_check_limitinteger
GET/v1/typos/threatsCredits: 12

Query parameters

ParameterTyperequired
domainstringrequired
limitinteger
Default 200
optional
include_tld_swapboolean
Default true
optional

Response fields

FieldType
domainstring
namestring
tldstring
scan_summaryobject
scan_summary.permutations_generatedinteger
scan_summary.permutations_checkedinteger
scan_summary.permutations_submittedinteger
scan_summary.definitive_resultsinteger
scan_summary.unknown_resultsinteger
scan_summary.omitted_resultsinteger
scan_summary.registered_countinteger
scan_summary.active_threatsinteger
scan_summary.available_for_defensiveinteger
scan_summary.check_limitinteger
scan_summary.coverage_truncatedboolean
threat_levelstring
protection_scoreobject
protection_score.scoreinteger
protection_score.gradestring
protection_score.interpretationobject
protection_score.interpretation.score_meaningstring
protection_score.interpretation.factorsstring
protection_score.interpretation.notestring
protection_score.vulnerabilities[]object[]
protection_score.vulnerabilities[]object
protection_score.vulnerabilities[].categorystring
protection_score.vulnerabilities[].countinteger
protection_score.vulnerabilities[].riskstring
protection_score.vulnerabilities[].descriptionstring
protection_score.recommendations[]string[]
protection_score.factorsobject
protection_score.factors.length_factorinteger
protection_score.factors.homoglyph_factorinteger
protection_score.factors.keyboard_factorinteger
protection_score.factors.tld_factorinteger
threats[]object[]
threats[]object
threats[].classificationobject
threats[].classification.statusstring
threats[].classification.reasonstring
threats[].classification.evidenceobject
threats[].classification.evidence.sourcestring
threats[].classification.evidence.methodstring
threats[].classification.evidence.observed_atstring
threats[].classification.evidence.detailstring
threats[].classification.checked_atstring
threats[].domainstring
threats[].namestring
threats[].tldstring
threats[].typestring
threats[].riskstring
threats[].descriptionstring
threats[].registeredboolean
threats[].checked_atstring
threats[].dns_activeboolean | null
threats[].has_websiteboolean | null
threats[].has_mxboolean | null
threats[].infrastructureobject
threats[].infrastructure.nameservers[]string[]
threats[].infrastructure.ip_addresses[]string[]
threats[].infrastructure.mx_records[]string[]
threats[].threat_indicators[]string[]
threats[].threat_scoreinteger
defensive_opportunities[]object[]
defensive_opportunities[]object
defensive_opportunities[].domainstring
defensive_opportunities[].namestring
defensive_opportunities[].tldstring
defensive_opportunities[].typestring
defensive_opportunities[].riskstring
defensive_opportunities[].descriptionstring
risk_breakdownobject
recommendations[]string[]
checked_atstring
scan_duration_msinteger
metaobject
meta.served_bystring

Example request

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/typos/threats?domain=example.com&limit=25&include_tld_swap=true"
const response = await fetch("https://domscan.net/v1/typos/threats?domain=example.com&limit=25&include_tld_swap=true", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/typos/threats?domain=example.com&limit=25&include_tld_swap=true",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/typos/threats?domain=example.com&limit=25&include_tld_swap=true", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/typos/threats?domain=example.com&limit=25&include_tld_swap=true")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

Example response

{
  "domain": "example.com",
  "name": "example",
  "tld": "com",
  "scan_summary": {
    "permutations_generated": 109,
    "permutations_checked": 75,
    "permutations_submitted": 75,
    "definitive_results": 71,
    "unknown_results": 4,
    "omitted_results": 0,
    "registered_count": 2,
    "active_threats": 2,
    "available_for_defensive": 69,
    "check_limit": 75,
    "coverage_truncated": true
  },
  "threat_level": "high",
  "protection_score": {
    "score": 2,
    "grade": "F",
    "interpretation": {
      "score_meaning": "Higher score = less vulnerable to typosquatting attacks",
      "factors": "Domain length, homoglyph-susceptible characters, keyboard adjacency, TLD popularity, registered typosquats",
      "note": "Short, well-known domains score lower because they have a larger inherent attack surface for typosquatting, not because they lack brand protection measures."
    },
    "vulnerabilities": [
      {
        "category": "homoglyph",
        "count": 4,
        "risk": "critical",
        "description": "Contains 4 characters with visual lookalikes (e, a, l)"
      },
      {
        "category": "keyboard",
        "count": 5,
        "risk": "high",
        "description": "5 characters have many keyboard neighbors"
      },
      {
        "category": "tld",
        "count": 1,
        "risk": "medium",
        "description": ".com is a high-value TLD commonly targeted by typosquatters"
      },
      {
        "category": "registered_high",
        "count": 1,
        "risk": "high",
        "description": "1 high-risk typosquat domains are registered"
      }
    ],
    "recommendations": [
      "Consider defensive registrations for common homoglyph variants",
      "Consider registering example on alternative TLDs like .net, .org"
    ],
    "factors": {
      "length_factor": 90,
      "homoglyph_factor": 68,
      "keyboard_factor": 75,
      "tld_factor": 80
    }
  },
  "threats": [
    {
      "domain": "xeample.com",
      "type": "transposition",
      "risk": "high",
      "description": "Swapped 'e' and 'x'",
      "dns_active": true,
      "has_website": true,
      "has_mx": false,
      "infrastructure": {
        "nameservers": []
      },
      "threat_indicators": [
        "Active DNS configuration",
        "Domain resolves to IP (potential website)"
      ],
      "threat_score": 75
    },
    {
      "domain": "example.net",
      "type": "tld-swap",
      "risk": "medium",
      "description": "TLD changed from .com to .net",
      "dns_active": true,
      "has_website": false,
      "has_mx": false,
      "infrastructure": {
        "nameservers": []
      },
      "threat_indicators": [
        "Active DNS configuration"
      ],
      "threat_score": 40
    }
  ],
  "defensive_opportunities": [
    {
      "domain": "3xample.com",
      "type": "homoglyph",
      "risk": "critical"
    },
    {
      "domain": "ex4mple.com",
      "type": "homoglyph",
      "risk": "critical"
    },
    {
      "domain": "eaxmple.com",
      "type": "transposition",
      "risk": "high"
    }
  ],
  "risk_breakdown": {
    "critical": [],
    "high": [
      {
        "domain": "xeample.com",
        "name": "xeample",
        "tld": "com",
        "type": "transposition",
        "risk": "high",
        "description": "Swapped 'e' and 'x'",
        "registered": true,
        "checked_at": "2026-10-09T10:15:29.000Z",
        "dns_active": true,
        "has_website": true,
        "has_mx": false,
        "infrastructure": {
          "nameservers": []
        },
        "threat_indicators": [
          "Active DNS configuration",
          "Domain resolves to IP (potential website)"
        ],
        "threat_score": 75
      }
    ],
    "medium": [
      {
        "domain": "example.net",
        "name": "example",
        "tld": "net",
        "type": "tld-swap",
        "risk": "medium",
        "description": "TLD changed from .com to .net",
        "registered": true,
        "checked_at": "2026-10-09T10:15:29.000Z",
        "dns_active": true,
        "has_website": false,
        "has_mx": false,
        "infrastructure": {
          "nameservers": []
        },
        "threat_indicators": [
          "Active DNS configuration"
        ],
        "threat_score": 40
      }
    ],
    "low": []
  },
  "recommendations": [
    "2 registered typosquat domains have active DNS/websites. Monitor for phishing or brand abuse.",
    "18 high-risk typosquat domains are available. Consider defensive registration to protect your brand.",
    "Your domain has significant typosquatting vulnerability. Set up continuous monitoring for new registrations."
  ],
  "checked_at": "2026-10-09T10:15:30.000Z",
  "scan_duration_ms": 4120,
  "meta": {
    "served_by": "pop=MAD country=ES"
  }
}

HTTP status codes

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 402 Payment Required
  • 429 Too Many Requests
  • 500 Server Error
GET/v1/typos/reportCredits: 18

Query parameters

ParameterTyperequired
domainstringrequired

Response fields

FieldType
domainstring
generated_atstring
executive_summaryobject
executive_summary.threat_levelstring
executive_summary.protection_gradestring
executive_summary.active_threatsinteger
executive_summary.registered_typosinteger
executive_summary.immediate_action_requiredboolean
threat_analysisobject
threat_analysis.domainstring
threat_analysis.namestring
threat_analysis.tldstring
threat_analysis.scan_summaryobject
threat_analysis.scan_summary.permutations_generatedinteger
threat_analysis.scan_summary.permutations_checkedinteger
threat_analysis.scan_summary.permutations_submittedinteger
threat_analysis.scan_summary.definitive_resultsinteger
threat_analysis.scan_summary.unknown_resultsinteger
threat_analysis.scan_summary.omitted_resultsinteger
threat_analysis.scan_summary.registered_countinteger
threat_analysis.scan_summary.active_threatsinteger
threat_analysis.scan_summary.available_for_defensiveinteger
threat_analysis.scan_summary.check_limitinteger
threat_analysis.scan_summary.coverage_truncatedboolean
threat_analysis.threat_levelstring
threat_analysis.protection_scoreobject
threat_analysis.protection_score.scoreinteger
threat_analysis.protection_score.gradestring
threat_analysis.protection_score.interpretationobject
threat_analysis.protection_score.interpretation.score_meaningstring
threat_analysis.protection_score.interpretation.factorsstring
threat_analysis.protection_score.interpretation.notestring
threat_analysis.protection_score.vulnerabilities[]object[]
threat_analysis.protection_score.vulnerabilities[]object
threat_analysis.protection_score.vulnerabilities[].categorystring
threat_analysis.protection_score.vulnerabilities[].countinteger
threat_analysis.protection_score.vulnerabilities[].riskstring
threat_analysis.protection_score.vulnerabilities[].descriptionstring
threat_analysis.protection_score.recommendations[]string[]
threat_analysis.protection_score.factorsobject
threat_analysis.protection_score.factors.length_factorinteger
threat_analysis.protection_score.factors.homoglyph_factorinteger
threat_analysis.protection_score.factors.keyboard_factorinteger
threat_analysis.protection_score.factors.tld_factorinteger
threat_analysis.threats[]object[]
threat_analysis.threats[]object
threat_analysis.threats[].classificationobject
threat_analysis.threats[].classification.statusstring
threat_analysis.threats[].classification.reasonstring
threat_analysis.threats[].classification.evidenceobject
threat_analysis.threats[].classification.evidence.sourcestring
threat_analysis.threats[].classification.evidence.methodstring
threat_analysis.threats[].classification.evidence.observed_atstring
threat_analysis.threats[].classification.evidence.detailstring
threat_analysis.threats[].classification.checked_atstring
threat_analysis.threats[].domainstring
threat_analysis.threats[].namestring
threat_analysis.threats[].tldstring
threat_analysis.threats[].typestring
threat_analysis.threats[].riskstring
threat_analysis.threats[].descriptionstring
threat_analysis.threats[].registeredboolean
threat_analysis.threats[].checked_atstring
threat_analysis.threats[].dns_activeboolean | null
threat_analysis.threats[].has_websiteboolean | null
threat_analysis.threats[].has_mxboolean | null
threat_analysis.threats[].infrastructureobject
threat_analysis.threats[].infrastructure.nameservers[]string[]
threat_analysis.threats[].infrastructure.ip_addresses[]string[]
threat_analysis.threats[].infrastructure.mx_records[]string[]
threat_analysis.threats[].threat_indicators[]string[]
threat_analysis.threats[].threat_scoreinteger
threat_analysis.defensive_opportunities[]object[]
threat_analysis.defensive_opportunities[]object
threat_analysis.defensive_opportunities[].domainstring
threat_analysis.defensive_opportunities[].namestring
threat_analysis.defensive_opportunities[].tldstring
threat_analysis.defensive_opportunities[].typestring
threat_analysis.defensive_opportunities[].riskstring
threat_analysis.defensive_opportunities[].descriptionstring
threat_analysis.risk_breakdownobject
threat_analysis.recommendations[]string[]
threat_analysis.checked_atstring
threat_analysis.scan_duration_msinteger
threat_analysis.metaobject
threat_analysis.meta.served_bystring
defensive_registration_priorityobject
monitoring_recommendations[]string[]
estimated_risk_exposurestring
metaobject
meta.served_bystring
meta.report_duration_msinteger

Example request

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/typos/report?domain=example.com"
const response = await fetch("https://domscan.net/v1/typos/report?domain=example.com", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/typos/report?domain=example.com",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/typos/report?domain=example.com", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/typos/report?domain=example.com")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

Example response

{
  "domain": "example.com",
  "generated_at": "2026-08-27T12:00:00Z",
  "executive_summary": {
    "threat_level": "example",
    "protection_grade": "example",
    "active_threats": 1,
    "registered_typos": 1,
    "immediate_action_required": false
  },
  "threat_analysis": {
    "domain": "example.com",
    "scan_summary": {
      "permutations_generated": 1,
      "permutations_checked": 1,
      "registered_count": 1,
      "active_threats": 1,
      "available_for_defensive": 1,
      "permutations_submitted": 1,
      "definitive_results": 1,
      "unknown_results": 1,
      "omitted_results": 1,
      "check_limit": 1,
      "coverage_truncated": false
    },
    "threat_level": "none",
    "threats": [
      {
        "domain": "example.com",
        "type": "domain",
        "risk": "critical",
        "dns_active": true,
        "has_website": false,
        "threat_indicators": [
          "example"
        ],
        "threat_score": 85,
        "classification": {
          "status": "present",
          "evidence": {
            "source": "rdap",
            "method": "rdap_lookup",
            "observed_at": "2026-08-27T12:00:00Z",
            "detail": "example"
          },
          "checked_at": "2026-08-27T12:00:00Z",
          "reason": "blocked"
        },
        "name": "example",
        "tld": "com",
        "description": "example",
        "registered": false,
        "checked_at": "2026-08-27T12:00:00Z",
        "has_mx": false,
        "infrastructure": {
          "nameservers": [
            "example"
          ],
          "ip_addresses": [
            "example"
          ],
          "mx_records": [
            "example"
          ]
        }
      }
    ],
    "checked_at": "2026-08-27T12:00:00Z",
    "name": "example",
    "tld": "com",
    "protection_score": {
      "score": 85,
      "grade": "A",
      "interpretation": {
        "score_meaning": "example",
        "factors": "example",
        "note": "example"
      },
      "vulnerabilities": [
        {
          "category": "example",
          "count": 1,
          "risk": "critical",
          "description": "example"
        }
      ],
      "recommendations": [
        "example"
      ],
      "factors": {
        "length_factor": 1,
        "homoglyph_factor": 1,
        "keyboard_factor": 1,
        "tld_factor": 1
      }
    },
    "defensive_opportunities": [
      {
        "domain": "example.com",
        "name": "example",
        "tld": "com",
        "type": "omission",
        "risk": "critical",
        "description": "example"
      }
    ],
    "risk_breakdown": {},
    "recommendations": [
      "example"
    ],
    "scan_duration_ms": 1,
    "meta": {
      "served_by": "example"
    }
  },
  "estimated_risk_exposure": "minimal",
  "defensive_registration_priority": {},
  "monitoring_recommendations": [
    "example"
  ],
  "meta": {
    "served_by": "example",
    "report_duration_ms": 1
  }
}

HTTP status codes

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 402 Payment Required
  • 429 Too Many Requests
  • 500 Server Error
GET/v1/typos/quickCredits: 6

Query parameters

ParameterTyperequired
domainstringrequired
limitinteger
Default 100
optional

Response fields

FieldType
domainstring
registered_typos[]object[]
registered_typos[]object
registered_typos[].domainstring
registered_typos[].typestring
registered_typos[].riskstring
registered_typos[].descriptionstring
registered_typos[].classificationobject
registered_typos[].classification.statusstring
registered_typos[].classification.reasonstring
registered_typos[].classification.evidenceobject
registered_typos[].classification.evidence.sourcestring
registered_typos[].classification.evidence.methodstring
registered_typos[].classification.evidence.observed_atstring
registered_typos[].classification.evidence.detailstring
registered_typos[].classification.checked_atstring
countinteger
threat_levelstring
coverageobject
coverage.requestedinteger
coverage.definitiveinteger
coverage.unknowninteger
coverage.omittedinteger
checked_atstring
scan_duration_msinteger
metaobject
meta.served_bystring

Example request

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/typos/quick?domain=example.com&limit=25"
const response = await fetch("https://domscan.net/v1/typos/quick?domain=example.com&limit=25", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/typos/quick?domain=example.com&limit=25",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/typos/quick?domain=example.com&limit=25", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/typos/quick?domain=example.com&limit=25")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

Example response

{
  "domain": "example.com",
  "registered_typos": [
    {
      "domain": "xeample.com",
      "type": "transposition",
      "risk": "high",
      "description": "Swapped 'e' and 'x'"
    },
    {
      "domain": "example.net",
      "type": "tld-swap",
      "risk": "medium",
      "description": "TLD changed from .com to .net"
    }
  ],
  "count": 2,
  "threat_level": "high",
  "coverage": {
    "requested": 98,
    "definitive": 92,
    "unknown": 6,
    "omitted": 0
  },
  "checked_at": "2026-10-09T10:15:30.000Z",
  "scan_duration_ms": 2840,
  "meta": {
    "served_by": "pop=MAD country=ES"
  }
}

HTTP status codes

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 402 Payment Required
  • 429 Too Many Requests
  • 500 Server Error
GET/v1/idnCredits: 1

Query parameters

ParameterTyperequired
domainstringrequired

Response fields

FieldType
inputstring
outcomestring
unicodestring
asciistring
is_idnboolean
validboolean
errors[]string[]
labels[]object[]
labels[]object
labels[].unicodestring
labels[].asciistring
labels[].is_idnboolean
labels[].scripts[]string[]
labels[].mixed_scriptboolean
labels[].has_invisibleboolean
labels[].confusable_characters[]object[]
labels[].confusable_characters[]object
labels[].confusable_characters[].charstring
labels[].confusable_characters[].codepointstring
labels[].confusable_characters[].scriptstring
labels[].confusable_characters[].looks_likestring
skeletonstring
riskobject
risk.levelstring
risk.reasons[]string[]
tldobject
tld.labelstring
tld.asciistring
tld.is_idnboolean
checked_atstring
caveats[]string[]

Example request

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/idn?domain=xn--80ak6aa92e.com"
const response = await fetch("https://domscan.net/v1/idn?domain=xn--80ak6aa92e.com", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/idn?domain=xn--80ak6aa92e.com",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/idn?domain=xn--80ak6aa92e.com", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/idn?domain=xn--80ak6aa92e.com")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

Example response

{
  "input": "xn--80ak6aa92e.com",
  "outcome": "analyzed",
  "unicode": "аррӏе.com",
  "ascii": "xn--80ak6aa92e.com",
  "is_idn": true,
  "valid": true,
  "errors": [],
  "labels": [
    {
      "unicode": "аррӏе",
      "ascii": "xn--80ak6aa92e",
      "is_idn": true,
      "scripts": [
        "Cyrillic"
      ],
      "mixed_script": false,
      "has_invisible": false,
      "confusable_characters": [
        {
          "char": "а",
          "codepoint": "U+0430",
          "script": "Cyrillic",
          "looks_like": "a"
        },
        {
          "char": "р",
          "codepoint": "U+0440",
          "script": "Cyrillic",
          "looks_like": "p"
        },
        {
          "char": "р",
          "codepoint": "U+0440",
          "script": "Cyrillic",
          "looks_like": "p"
        },
        {
          "char": "ӏ",
          "codepoint": "U+04CF",
          "script": "Cyrillic",
          "looks_like": "l"
        },
        {
          "char": "е",
          "codepoint": "U+0435",
          "script": "Cyrillic",
          "looks_like": "e"
        }
      ]
    },
    {
      "unicode": "com",
      "ascii": "com",
      "is_idn": false,
      "scripts": [
        "Latin"
      ],
      "mixed_script": false,
      "has_invisible": false,
      "confusable_characters": []
    }
  ],
  "skeleton": "apple.com",
  "risk": {
    "level": "high",
    "reasons": [
      "whole_script_confusable",
      "idn_label"
    ]
  },
  "tld": {
    "label": "com",
    "ascii": "com",
    "is_idn": false
  },
  "checked_at": "2026-10-09T10:15:30.000Z",
  "caveats": [
    "partial_confusable_table"
  ]
}

HTTP status codes

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 402 Payment Required
  • 429 Too Many Requests