This guide explains how to create, execute, edit, and save queries in Web Search using either the Simple Search tab’s user-friendly graphical interface or the Advanced Search tab’s Search and Query Language (SPQL) command-line syntax. Simple Search is ideal for users unfamiliar with SPQL, while Advanced Search is suited for technical users seeking precise query control.
Simple Search: Use the graphical interface
Simple Search offers the same functionality as Advanced Search but uses an intuitive UI, combining a Field name, Operator, and Value into an Expression, chained with AND logic. This is perfect for users new to SPQL syntax.
From the left navigation menu, select Explore Scan Data > Web Search.
Select the Simple Search tab.
Click New.
Build an expression:
Field name: Select a field (e.g.,
domain
,ip
) from the dropdown or type to search.Operator: Choose an operator (e.g.,
=
,!=
) from the dropdown, relevant to the field.Value: Enter a value (e.g.,
crypto*
for domains starting with crypto).
(Optional) Specify a Sort Order by selecting a field from the dropdown (e.g.,
scan_date
for newest first).To add another condition, click Add New to create a new Expression linked with
AND
.(Optional) Click Reset to clear all parameters.
Click Search to execute the query.
Example
Expression 1:
domain = crypto*
Expression 2:
tld = onion
(linked with AND)Sort order:
scan_date
(descending)Result: Finds .onion domains starting with crypto, sorted by most recent scan.
Edit a simple search
After the query runs, results appear below the Expression boxes, with parameters populated.
Modify the Field name, Operator, or Value in the Expression boxes as needed.
Click Search to re-run the query with updated parameters.
Save a simple search
Enter valid parameters in the Expression boxes.
Click Save in the top right.
Enter a Name and (optionally) a Description.
Click Save to store the query for future use.
Advanced Search: Use SPQL syntax
Advanced Search utilizes SPQL command-line syntax, which is ideal for technical users who are comfortable crafting precise queries to target specific data.
Understand SPQL syntax
SPQL queries combine Field names, Operators, and Values, often linked with logical separators like AND or OR. For example:
domain = crypto* AND tld = onion
Field name:
domain
(the data category, e.g., final domain after redirects).Operator:
=
(equals, or use!=
,>
,<
, etc.).Value:
crypto*
(a wildcard search for domains starting with "crypto").Separator:
AND
(links conditions).Second condition:
tld = onion
(targets .onion domains).
For detailed SPQL syntax, refer to SPQL Documentation.
Create an Advanced Search
From the left navigation menu, select Explore Scan Data > Web Scanner.
Select the Advanced Search tab.
Click New.
Enter a query using SPQL syntax, including spaces between elements (e.g.,
domain = crypto* AND tld = onion
).Optional) Specify a Sort order by selecting a field from the dropdown or typing it (e.g.,
scan_date
).(Optional) Click Reset to clear all parameters.
Press Enter or click the blue arrow icon to execute the query.
Example
Query:
scan_date > now-7d AND tld = jp
Sort order:
scan_date
(descending)Result: Finds domains with Japan’s top-level domain (.jp) scanned in the last 7 days, sorted by most recent.
Edit an Advanced Search
After the query runs, parameters collapse, and results appear below.
Click the Web Scanner Search Form button to expand the query input.
Edit the SPQL query as needed.
Press Enter or click the blue arrow icon to re-run the query.
Save an Advanced Search
Enter valid SPQL parameters in the query box.
Click Save in the top right.
Enter a Name and (optionally) a Description.
Click Save to store the query for future use.