URLScan.io
扫描和分析 URL
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 反恶意软件
- 文档 / URL
- https://urlscan.io/about-api/
简介
urlscan.io 在无头浏览器中扫描网站并返回全貌——请求、资源、证书和判定。公开扫描搜索无需密钥(实测可用——匿名搜索返回 200);提交新扫描和更丰富的查询需要免费 API 密钥。
快速开始
搜索公开扫描——无需密钥(实测可用):
curl "https://urlscan.io/api/v1/search/?q=domain:example.com&size=3"
{
"total": 12345,
"results": [
{
"task": { "url": "example.com", "visibility": "public", "method": "api" },
"page": { "url": "https://example.com", "status": 200 },
"result": { "verdicts": { "overall": { "malicious": false } } },
"stats": { "requests": 45 }
}
]
}
提交扫描(带 API 密钥):
curl -X POST "https://urlscan.io/api/v1/scan/" \
-H "Content-Type: application/json" \
-H "API-Key: YOUR_KEY" \
-d '{"url": "https://example.com", "visibility": "public"}'
按 UUID 获取扫描结果:
curl "https://urlscan.io/api/v1/result/YOUR_UUID/"
认证方式
- 匿名:公开扫描的搜索/查询免密钥可用(实测)。
- API 密钥(urlscan.io 免费注册):提交扫描、更高限额、私有扫描。
速率限制与注意事项
- 免费密钥:约 50 次公开扫描/天和 20 次搜索/分钟——额度适中;付费档可扩展。
- 搜索支持 urlscan 的查询语法(
domain:、ip:、filename:、country:……)。 - 结果含
verdicts(恶意/良性启发式)、stats(请求数、体积)和page元数据。 - 扫描提交是异步的——轮询结果端点直到就绪。
常见问题
urlscan.io 免费吗? 是的——搜索免密钥;免费密钥可提交扫描并提高限额。
搜索需要密钥吗? 不需要——公开扫描搜索匿名可用(实测)。
结果包含什么? 发出的所有请求、页面资源、证书和恶意/良性判定。
反恶意软件 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AbuseIPDB IP/domain/URL reputation | API Key | Yes | Unknown | ↗ |
| AlienVault Open Threat Exchange (OTX) IP/domain/URL reputation | API Key | Yes | Unknown | ↗ |
| CAPEsandbox Malware execution and analysis | API Key | Yes | Unknown | ↗ |
| Google Safe Browsing Google Link/Domain Flagging | API Key | Yes | Unknown | ↗ |
| IPWhois.net Blacklist Community IP blacklist to check and report abusive IP addresses | No auth | Yes | Unknown | ↗ |