API endpoints for urlscan.io and urlscan Pro. Most of these API endpoints require authentication.
The fastest way to start working with our APIs is by using one of the many existing commercial or open-source integrations.
https://urlscan.io/
urlscan Pro - Live Scanning allows users to scan websites from different geographical locations and using different device settings.
See additional info about this proprietary feature on urlscan Pro.
https://urlscan.io/api/v1/user/searches/
curl -i -X GET \
https://urlscan.io/api/v1/user/searches/ \
-H 'api-key: YOUR_API_KEY_HERE'
Successful response
{ "searches": [ { … } ] }
Determine whether only other users on the same team or everyone on urlscan Pro can see the search.
TLP (Traffic Light Protocol) indicator for other users on the urlscan Pro platform.
https://urlscan.io/api/v1/user/searches/
curl -i -X POST \
https://urlscan.io/api/v1/user/searches/ \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"search": {
"_id": "{{searchId}}",
"datasource": "scans",
"query": "page.domain:urlscan.io",
"name": "Testsearch",
"description": "urlscan documentation example saved search.",
"longDescription": "Example saved search created from urlscan documentation.",
"tlp": "red",
"userTags": [
"private.privatetag"
],
"permissions": [
"team:read",
"team:write"
]
}
}'
OK
{ "search": { "_id": "{{searchId}}", "datasource": "scans", "query": "page.domain:urlscan.io", "name": "Testsearch", "description": "urlscan documentation example saved search.", "longDescription": "Example saved search created from urlscan documentation", "tlp": "red", "userTags": [ … ], "permissions": [ … ] } }
Determine whether only other users on the same team or everyone on urlscan Pro can see the search.
TLP (Traffic Light Protocol) indicator for other users on the urlscan Pro platform.
https://urlscan.io/api/v1/user/searches/{searchId}/
curl -i -X PUT \
'https://urlscan.io/api/v1/user/searches/{{searchId}}/' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"search": {
"_id": "{{searchId}}",
"datasource": "scans",
"query": "page.domain:urlscan.io",
"name": "Testsearch",
"description": "urlscan documentation example saved search.",
"longDescription": "Example saved search created from urlscan documentation.",
"tlp": "red",
"userTags": [
"private.privatetag"
],
"permissions": [
"team:read",
"team:write"
]
}
}'
OK
{ "search": { "_id": "{{searchId}}", "datasource": "scans", "query": "page.domain:urlscan.io", "name": "Testsearch", "description": "urlscan documentation example saved search.", "longDescription": "Example saved search created from urlscan documentation", "tlp": "red", "userTags": [ … ], "permissions": [ … ] } }
https://urlscan.io/api/v1/user/searches/{searchId}/
curl -i -X DELETE \
'https://urlscan.io/api/v1/user/searches/{{searchId}}/' \
-H 'api-key: YOUR_API_KEY_HERE'
https://urlscan.io/api/v1/user/searches/{searchId}/results/
curl -i -X GET \
'https://urlscan.io/api/v1/user/searches/{{searchId}}/results/' \
-H 'api-key: YOUR_API_KEY_HERE'