urlscan.io API
by urlscan.io
Security related services
Added on October 31st, 2026
Checked and working on November 16th, 2026
Visit urlscan.io →
What it does
urlscan.io visits a URL like a real browser and records everything it does: requested domains and IPs, redirects, cookies, technologies, a screenshot and a verdict on whether it looks malicious. The API lets you submit URLs for scanning, fetch the results and search earlier public scans. Responses are JSON. Free with a free API key and daily limits; paid plans for private scans and more volume.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a free API key and daily limits; paid plans for private scans and more volume.
- From the browser
- No, call it from a server
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- urlscan.io
- Last checked
- Working on November 16th, 2026
More information: https://urlscan.io/docs/api/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://urlscan.io/api/v1/search/?q=domain:example.com&size=1'
JavaScript
const response = await fetch("https://urlscan.io/api/v1/search/?q=domain:example.com&size=1");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://urlscan.io/api/v1/search/?q=domain:example.com&size=1",
timeout=30,
)
print(response.json())
Run the JavaScript on a server, such as Node.js 18 or newer: this API does not accept calls from web pages on other sites.