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
Request
urlscan Pro - Look up how often an observable has been seen in malicious scan results, along with first and last seen timestamps.
The type parameter selects what kind of observable to query:
ip— Match scans by the IP address of the page server (e.g.192.0.2.1).hostname— Match scans by the exact page hostname (e.g.www.example.com). Use this when you are interested in a specific host.domain— Match scans by the apex (registered) domain (e.g.example.com). This covers all subdomains under that domain, so a lookup forexample.comwill include scans forwww.example.com,blog.example.com, etc. Use this for a broader view across an entire domain.url— Match scans by the exact page URL. The value must be URL-encoded (e.g.https%3A%2F%2Fexample.com%2F).
Security
apikeyAuth(Required scopes:
read
write
)- https://urlscan.io/api/v1/malicious/{type}/{value}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://urlscan.io/api/v1/malicious/{type}/{value}' \
-H 'api-key: YOUR_API_KEY_HERE'Response
application/json
{ "observable": "string", "type": "ip", "count": 0, "firstSeen": "2019-08-24T14:15:22Z", "lastSeen": "2019-08-24T14:15:22Z" }