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.
http://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.
http://urlscan.io/api/v1/user/searches/
curl -i -X GET \
http://urlscan.io/api/v1/user/searches/ \
-H 'api-key: YOUR_API_KEY_HERE'
{ "searches": [ { … } ] }
Determine whether other users on the team or on urlscan Pro can see the search.
TLP (Traffic Light Protocol) indicator for other users on the urlscan Pro platform
http://urlscan.io/api/v1/user/searches/
curl -i -X POST \
http://urlscan.io/api/v1/user/searches/ \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"_id": "string",
"datasource": "hostnames",
"description": "string",
"longDescription": "string",
"name": "string",
"permissions": [
"public:read"
],
"query": "string",
"tlp": "green",
"usertags": []
}'
{ "uuid": "10dae531-a98a-42fc-8c6f-cb8610ec0c10" }
The data source for the search
A short description of the saved search
A longer description of the saved search
Traffic Light Protocol classification
http://urlscan.io/api/v1/user/searches/{searchId}/
curl -i -X PUT \
'http://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:postman.co",
"name": "Testsearch",
"description": "Saved Search for testing purposes - modified",
"longDescription": "This Saved Search was created for testing purposes by Postman",
"tlp": "red",
"userTags": [
"private.privatetag"
],
"permissions": [
"team:read",
"team:write"
]
}
}'
{ "uuid": "10dae531-a98a-42fc-8c6f-cb8610ec0c10" }
http://urlscan.io/api/v1/user/searches/{searchId}/
curl -i -X DELETE \
'http://urlscan.io/api/v1/user/searches/{{searchId}}/' \
-H 'api-key: YOUR_API_KEY_HERE'
{ "uuid": "10dae531-a98a-42fc-8c6f-cb8610ec0c10" }
http://urlscan.io/api/v1/user/searches/{searchId}/results/
curl -i -X GET \
'http://urlscan.io/api/v1/user/searches/{{searchId}}/results/' \
-H 'api-key: YOUR_API_KEY_HERE'