Skip to main content

API

Phishing scan API preview

Check a link for phishing or look up who registered a domain from your own code. Read how the two preview endpoints work, then ask us for a key.

A preview, not a product

These endpoints are the ones the Phishdown site uses. They may change, and they come with no service-level agreement.

You need an API key

Requests from outside phishdown.com must send an X-API-Key header. Contact us to ask for a key and tell us what you plan to build.

Plain GET and JSON

Each endpoint is a GET request with a query parameter and returns JSON, so you can call it from any language.

Same data as the site

A scan returns what the scan report shows: Safe Browsing and PhishTank results, lookalike checks and registration data.

Preview endpoints

GET/api/scan?url=example.com

Scan a URL, domain or IP address and get a verdict, a score and the signals behind it

GET/api/whois?domain=example.com

Get WHOIS/RDAP registration data for a domain (or pass ?ip= for an IP address)

Example request

// Scan a URL, domain or IP address
const response = await fetch(
  'https://phishdown.com/api/scan?url=example.com',
  { headers: { 'X-API-Key': 'YOUR_API_KEY' } }
);
const result = await response.json();

console.log(result.verdict.verdict); // 'safe' | 'suspicious' | 'malicious' | 'unknown'
console.log(result.verdict.score); // 0-100, higher means more likely phishing
console.log(result.verdict.categories); // Signals behind the verdict

API keys

Requests from other sites and servers need a valid key in the X-API-Key header, or they get a 401 response. Tell us what you want to build and how many requests you expect, and we will reply by email.

Ask for an API key

Need a site taken down now?

You do not need the API for that. The free takedown guide finds the host and registrar and writes the reports for you.