{"uid":"cap_ccCAIKDN5HoLIeI735E5U","slug":"nightshift-labs-link-check-api-260e6d4d","name":"Nightshift Labs Link Check API","description":"Link / URL phishing pre-check before an agent opens, clicks or forwards a link: brand look-alikes (typosquats, homoglyphs, brand in subdomain), punycode and mixed-script hosts, credentials-in-URL tricks, high-abuse TLDs, domain age via RDAP (new domains flagged), DNS resolution and the full redirect chain. Returns a verdict, a 0-100 risk score and the flags.","url":"https://nightshift-x402.nightshift-labs.workers.dev/v1/web/link-check?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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"the URL to check (http/https)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://xn--pypal-4ve.com/","flags":["PUNYCODE_IDN","MIXED_SCRIPT_HOMOGLYPHS","BRAND_LOOKALIKE"],"verdict":"high_risk","riskScore":80,"hostUnicode":"pаypal.com","domainAgeDays":7959,"brandLookalikes":[{"how":"homoglyph/look-alike characters","brand":"paypal"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6WHs0Iq0eB-TS82aS4jns","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a URL for phishing, homoglyph attacks, brand lookalikes, and other risk signals, returning a risk score and verdict","exampleAgentPrompt":"Can you check whether https://xn--pypal-4ve.com/ is safe or if it's trying to impersonate a real brand — I want to know the risk score and any phishing flags before I open it.","exampleUseCases":[{"title":"Phishing link triage in email","prompt":"Someone just sent me a link to https://amaz0n-secure-login.com/account — can you check if that URL is a phishing attempt or brand lookalike before I click it?"},{"title":"Brand protection monitoring","prompt":"We've been told users are seeing fake versions of our site. Can you check https://xn--gogle-rpa.com/ to see if it's impersonating Google and what risk flags it carries?"},{"title":"Agent safety filter before browsing","prompt":"Before you fetch that URL https://paypa1.support-login.com/ for me, can you first run a link safety check on it and tell me if it looks suspicious or newly registered?"}],"resultDescription":"A JSON object containing the original URL, the unicode hostname, a list of risk flags (e.g. PUNYCODE_IDN, MIXED_SCRIPT_HOMOGLYPHS, BRAND_LOOKALIKE), a verdict string (e.g. 'high_risk', 'low_risk'), a numeric risk score from 0–100, the domain age in days, and an array of brand lookalike matches with the matched brand and method of deception.","failureModes":["Missing or invalid 'url' query parameter returns an error","Non-HTTP/HTTPS URLs may be rejected","Payment failure (insufficient USDC balance) causes 402 response","Unresolvable or malformed domains may return incomplete domain age data","Very new domains with no WHOIS data may have null domain age"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically assess the safety of a URL before visiting, sharing, or acting on it — especially to detect homoglyph/punycode spoofing, brand impersonation, and newly registered phishing domains. It is well-suited for agentic workflows that browse the web or process user-submitted links and need a lightweight, pay-per-call safety gate without committing to a subscription-based threat intelligence service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:37:49.248Z","isFirstParty":false,"canonicalSlug":"nightshift-labs-link-check-api-260e6d4d"}