Search urlscan.io history
search_urlscanSearch historical urlscan.io scans passively to find domains, IPs, hashes, or shared infrastructure. Returns matching scans with pivoting details.
Instructions
Search urlscan.io's historical scan database (Elasticsearch query syntax).
Call this to find existing scans instead of running a new one — e.g. to see every scan that touched a domain/IP, hunt for a favicon or TLS-cert hash across sites, or discover other pages hosted on the same infrastructure. This is passive: it does not touch the target, so it's safe to use freely during an investigation. Returns a short list of matching scans with their domains, IPs, ASN and result links to pivot from.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_urlscan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Max results to return (1-100). | |
| query | Yes | urlscan Elasticsearch query, e.g. 'domain:example.com', 'page.ip:1.2.3.4', 'hash:<sha256>', 'filename:invoice.exe'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||