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/channels/
curl -i -X GET \
https://urlscan.io/api/v1/user/channels/ \
-H 'api-key: YOUR_API_KEY_HERE'
{ "channels": [ { … } ] }
Frequency of notifications.
Days of the week alerts will be generated.
https://urlscan.io/api/v1/user/channels/
curl -i -X POST \
https://urlscan.io/api/v1/user/channels/ \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"channel": {
"_id": "{{channelId}}",
"type": "webhook",
"webhookURL": "https://example.com/cgi-bin/urlscan",
"name": "Test webhook",
"description": "Webhook testing channel.",
"isActive": true,
"ignoreTime": false
}
}'
{ "channel": { "_id": "{{channelId}}", "type": "webhook", "webhookURL": "https://example.com/cgi-bin/urlscan", "name": "Test webhook", "description": "Webhook testing channel.", "isActive": true, "ignoreTime": false } }
https://urlscan.io/api/v1/user/channels/{channelId}
curl -i -X GET \
'https://urlscan.io/api/v1/user/channels/{channelId}' \
-H 'api-key: YOUR_API_KEY_HERE'
{ "channel": { "_id": "{{channelId}}", "type": "webhook", "webhookURL": "https://example.com/cgi-bin/urlscan", "name": "Test webhook", "description": "Webhook testing channel.", "isActive": true, "ignoreTime": false } }
Frequency of notifications.
Days of the week alerts will be generated.
https://urlscan.io/api/v1/user/channels/{channelId}
curl -i -X PUT \
'https://urlscan.io/api/v1/user/channels/{channelId}' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"channel": {
"_id": "{{channelId}}",
"type": "webhook",
"webhookURL": "https://example.com/cgi-bin/urlscan",
"name": "Test webhook",
"description": "Webhook testing channel.",
"isActive": true,
"ignoreTime": false
}
}'
{ "channel": { "_id": "{{channelId}}", "type": "webhook", "webhookURL": "https://example.com/cgi-bin/urlscan", "name": "Test webhook", "description": "Webhook testing channel.", "isActive": true, "ignoreTime": false } }