{"uid":"cap_JkEsNvTjW5mnrZEtIWg3v","slug":"url-safety-api-phishing-domain-risk-scorer-84d9fae5","name":"URL Safety API – Phishing & Domain Risk Scorer","description":"Pay-per-call URL / phishing safety check for AI agents: score a link for phishing risk from keyless deterministic heuristics (typosquat/homoglyph, punycode, credentials-in-URL, raw-IP host, suspicious TLD, deep subdomains) plus a best-effort RDAP domain-age check. Returns a 0-100 risk score + SAFE/SUSPICIOUS/DANGEROUS verdict.","url":"https://safe.cyberwarex.com/domain?utm_source=zero.xyz","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":["domain"],"properties":{"domain":{"type":"string","description":"Domain or URL (scheme/path optional)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"dns":{"type":"object"},"host":{"type":"string"},"query":{"type":"string"},"whois":{"type":"object"},"has_mx":{"type":"boolean"},"resolves":{"type":"boolean"},"registrable_domain":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"dns":{"a":["93.184.216.34"],"mx":[],"ns":["a.iana-servers.net"],"txt":[],"aaaa":[]},"host":"example.com","query":"example.com","whois":{"created":"1995-08-14T04:00:00Z","expires":"2026-08-13T04:00:00Z","age_days":11300,"statuses":["clientTransferProhibited"],"registrar":"IANA","nameservers":["a.iana-servers.net"]},"has_mx":false,"resolves":true,"registrable_domain":"example.com"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SyDgmryp5NGVNkRrB3uLC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores a URL or domain for phishing risk using keyless deterministic heuristics (typosquatting, homoglyphs, punycode, suspicious TLDs, raw-IP hosts, deep subdomains, credentials-in-URL) plus RDAP domain-age lookup, returning a 0–100 risk score and a SAFE/SUSPICIOUS/DANGEROUS verdict.","exampleAgentPrompt":"Before I open it, can you check if this link is safe — specifically score it for phishing risk: https://secure-paypa1-login.com/verify?user=me","exampleUseCases":[{"title":"Agent pre-flight link safety check","prompt":"I just got an email with a link to https://bankofamerica-secure.login-verify.com — can you check if it's a phishing site before I click it?"},{"title":"Automated threat triage in security pipeline","prompt":"We're processing a batch of user-reported suspicious links. Can you score this one for phishing risk and tell me if it's SAFE, SUSPICIOUS, or DANGEROUS: http://192.168.1.1/reset-password"},{"title":"Detecting brand-impersonation domains","prompt":"Someone registered paypa1.com and is sending emails — can you run a phishing risk check on it and tell me the domain age and any red flags like typosquatting or punycode tricks?"}],"resultDescription":"Returns a JSON object containing: a 0–100 phishing risk score and a SAFE/SUSPICIOUS/DANGEROUS verdict; the queried host and registrable domain; DNS records (A, AAAA, MX, NS, TXT); WHOIS/RDAP data including creation date, expiry, age in days, registrar, nameservers, and transfer statuses; whether the domain resolves; and whether it has MX records (indicating active mail infrastructure).","failureModes":["Domain does not resolve — resolves field will be false, DNS records will be empty","RDAP/WHOIS unavailable for certain TLDs — domain age check may be missing or null","Newly registered domains may lack RDAP data, reducing scoring accuracy","Malformed or missing 'domain' query parameter returns an error","Private/reserved IP ranges passed as host may return minimal data","Rate limiting or payment failure (x402) returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to evaluate an untrusted URL or domain before accessing it, sharing it, or acting on it — especially in phishing-prone contexts like email triage, link preview, user-submitted content moderation, or automated browser agents. Its keyless, deterministic heuristics make it fast and privacy-friendly (no API key required), and the RDAP domain-age check adds signal unavailable from pure heuristics. Prefer it over full-crawl or sandboxed-browsing approaches when you need a lightweight, sub-second risk verdict without fetching the page.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:34:42.075Z","isFirstParty":false,"canonicalSlug":"url-safety-api-phishing-domain-risk-scorer-84d9fae5"}