API endpoints related to the platform or the user account.
urlscan.io APIs (1.0.0)
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.
Download OpenAPI description
Overview
urlscan Support
Languages
Servers
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.
Operations
- https://urlscan.io/api/v1/livescan/scanners/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://urlscan.io/api/v1/livescan/scanners/ \
-H 'api-key: YOUR_API_KEY_HERE'Request
Task a URL to be scanned. The HTTP request will return with the scan UUID immediately and then it is your responsibility to poll the result resource type until the scan has finished.
Security
apikeyAuth(Required scopes:
read
write
)- https://urlscan.io/api/v1/livescan/{scannerId}/task/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://urlscan.io/api/v1/livescan/de01/task/ \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"task": {
"url": "http://example.com",
"visibility": "public"
},
"scanner": {
"pageTimeout": 10000,
"captureDelay": 3000,
"extraHeaders": {},
"enableFeatures": [],
"disableFeatures": []
}
}'Response
application/json
{ "uuid": "92d683cd-1575-4bde-89d1-99cd46ae07a7" }
- https://urlscan.io/api/v1/livescan/{scannerId}/scan/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://urlscan.io/api/v1/livescan/de01/scan/ \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"task": {
"url": "http://example.com",
"visibility": "public"
},
"scanner": {
"pageTimeout": 10000,
"captureDelay": 3000,
"extraHeaders": {},
"enableFeatures": [],
"disableFeatures": []
}
}'Response
application/json
{ "uuid": "10dae531-a98a-42fc-8c6f-cb8610ec0c10" }
Security
apikeyAuth(Required scopes:
read
write
)- https://urlscan.io/api/v1/livescan/{scannerId}/{resourceType}/{resourceId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://urlscan.io/api/v1/livescan/de01/result/{resourceId}' \
-H 'api-key: YOUR_API_KEY_HERE'- https://urlscan.io/api/v1/livescan/{scannerId}/{scanId}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://urlscan.io/api/v1/livescan/de01/{scanId}/' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"task": {
"visibility": "public"
}
}'- https://urlscan.io/api/v1/livescan/{scannerId}/{scanId}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://urlscan.io/api/v1/livescan/de01/{scanId}/' \
-H 'api-key: YOUR_API_KEY_HERE'