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/
The Search API is used to find historical scans performed on the platform. Some data sources and searchable fields are only available on urlscan Pro.
The API search will only indicate an exact count of results up to 10,000 results in the total property. After that the has_more
flag will be true. Use the sort
value of the last (i.e. oldest) scan result in the current list of results as a parameter for the next Search API call. Supply this value in the search_after
query parameter for getting the next (older) batch of results.
API search will find Public scans performed by anyone as well as Unlisted and Private scans performed by you or your teams. For query syntax and searchable fields, refer to https://urlscan.io/docs/search/
http://urlscan.io/api/v1/search
curl -i -X GET \
'http://urlscan.io/api/v1/search?datasource=scans&q=page.domain%3Aexample.com&search_after=string&size=100' \
-H 'api-key: YOUR_API_KEY_HERE'
{ "results": [ { … }, { … } ], "total": 10000, "took": 23, "has_more": true }
urlscan Pro - Get structurally similar results to a specific scan. See description for this propietary feature on urlscan Pro.
http://urlscan.io/api/v1/pro/result/{scanId}/similar/
curl -i -X GET \
'http://urlscan.io/api/v1/pro/result/68e26c59-2eae-437b-aeb1-cf750fafe7d7/similar/?q=page.domain%3Aurlscan.io&search_after=string&size=10' \
-H 'api-key: YOUR_API_KEY_HERE'
{ "results": [ { … }, { … } ], "total": 7684, "took": 72, "has_more": false }
http://urlscan.io/api/v1/pro/phishfeed
curl -i -X GET \
'http://urlscan.io/api/v1/pro/phishfeed?format=json&limit=10&q=date%3A%3Enow-24h' \
-H 'api-key: YOUR_API_KEY_HERE'
{ "results": [ { … }, { … } ], "total": 10000, "took": 23, "has_more": true }
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.