{"uid":"cap_vnroqoeu5xMXasynDKV2U","slug":"typosquat-homoglyph-domain-check-68ee4e90","name":"Typosquat & Homoglyph Domain Check","description":"Pure-compute typosquat and homoglyph check on a hostname: edit-distance to a curated brand list, look-alike character normalization, brand-in-subdomain lures, punycode/IDN, abused free-hosting suffixes and throwaway TLDs. Returns is_typosquat plus the nearest brand, edit distance and reasons. No network — instant, cheap.","url":"https://payai.agentstools.dev/domain/typosquat","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Alternative input: a URL (its host is used)"},"host":{"type":"string","description":"Alternative input: a bare hostname"},"domain":{"type":"string","description":"Domain or hostname to analyze (e.g. example.com)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ec41cF9yW5iWGFY_lwKb5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs offline pure-compute analysis of a hostname to detect typosquatting, homoglyph spoofing, brand-in-subdomain lures, punycode/IDN abuse, and throwaway TLD usage — returning a verdict, nearest brand, edit distance, and reasons.","exampleAgentPrompt":"Before I click that payment link, can you check if 'paypa1-secure.xyz' is a typosquat or homoglyph spoof of a known brand — I want to know the nearest brand it resembles and why it looks suspicious?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing: is_typosquat (boolean verdict), the nearest matching brand name from the curated list, the edit distance between the input domain and that brand, and a list of reasons explaining the detection (e.g. homoglyph characters found, brand-in-subdomain pattern, punycode/IDN abuse, abused free-hosting suffix, throwaway TLD). No network calls are made — result is computed purely offline.","failureModes":["Missing 'domain', 'host', or 'url' query parameter — returns 400 bad request","Domain string is malformed or unparseable — may return error or low-confidence result","Brand not in curated list — legitimate lookalike domains may be missed (false negative)","Very new or obscure brands not in the curated list will not be detected","Punycode domains must be passed as-is for IDN detection to work correctly"],"whenToPreferThis":"Use this endpoint when you need a fast, free-of-network-call, purely computational check on a hostname before transacting with it or clicking a link — especially when you suspect visual spoofing, brand impersonation, or throwaway TLD abuse. Prefer this over full phishing verdict endpoints when you only need the typosquat/homoglyph dimension and want instant, cheap results without any DNS or reputation network lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:47:59.245Z","isFirstParty":false}