VirusTotal
VirusTotal 文件/URL 分析
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 反恶意软件
简介
VirusTotal 聚合 70+ 杀毒引擎分析文件、URL、域名和 IP——一个 API 密钥就能获得全球安全团队使用的同一份信誉数据。免费层适合轻量使用(无效密钥返回 401——已实测)。
快速开始
检查 URL 的分析(替换 YOUR_KEY):
curl "https://www.virustotal.com/api/v3/urls" \
-H "x-apikey: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
按 ID 获取分析报告:
curl "https://www.virustotal.com/api/v3/analyses/ANALYSIS_ID" \
-H "x-apikey: YOUR_KEY"
查询域名/IP 报告:
curl "https://www.virustotal.com/api/v3/domains/example.com" \
-H "x-apikey: YOUR_KEY"
curl "https://www.virustotal.com/api/v3/ip_addresses/8.8.8.8" \
-H "x-apikey: YOUR_KEY"
认证方式
- 在 virustotal.com 注册 → 免费 API 密钥(在账号设置里)。
- 通过
x-apikey请求头携带(无效密钥返回 401——已实测)。
速率限制与注意事项
- 免费层:500 次请求/天(4 次/分钟)——额度适中;付费档可扩展。
- v3 API 是当前版本;v2 已弃用。
- 提交文件需 multipart 上传到
/api/v3/files;URL 通过/urls端点分析。 - 报告显示每个引擎的结果:
category(恶意/可疑/干净)和result(检测名)。
常见问题
VirusTotal 免费吗? 免费层:500 次/天;重度使用付费。
如何获取密钥? 在 virustotal.com 注册——API 密钥在账号设置里。
可以查 IP 和域名吗?
可以——/api/v3/ip_addresses/{ip} 和 /api/v3/domains/{domain}。
反恶意软件 分类更多
| 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 | ↗ |