Submit a URL to be scanned in urlscan's browser
POST/api/v1/scan
- Takes: URL
- Active: contacts the target
urlscan's headless browser loads the URL, so the target is contacted. Returns the scan's UUID; fetch the result with GET /api/v1/result/{scanId}/ once it finishes. Visibility defaults to public, which makes the scan searchable by anyone.
Request body (JSON) · 7ShowHide
url
The URL to be scanned
visibility
public (default), unlisted or private
country
Country to scan from, ISO 3166-1 alpha-2; chosen automatically if not given
tags[]
Up to 10 user-defined tags, 30 characters each
overrideSafety
Any value disables reclassification of URLs with potential PII
referer
Override the HTTP referer for this scan
customagent
Override the HTTP User-Agent for this scan
Response fields · 4ShowHide
uuid
UUID of the scan result (the scanId)
country
Country the scan runs from
visibility
Visibility given to the scan
url
URL being scanned
curl -X POST 'https://urlscan.io/api/v1/scan' \
-H 'API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"url":"https://example.com/login","visibility":"unlisted","country":"de","tags":["phishing"]}'{
"uuid": "0b7c6f2e-1a2b-4c3d-9e8f-123456789abc",
"visibility": "unlisted",
"url": "https://example.com/login",
"country": "de"
}