Virus Scan API — Scan Files for Malware via REST
A file scanning API for developers. Upload files up to 150 GB, get a malware scan verdict in under 60 seconds. Antivirus API with $1.25/GB pricing, no monthly fee.
At a Glance
| Max file size | 150 GB |
| Response time | Under 60 seconds |
| Pricing | $1.25/GB scanned |
| Rate limits | None |
| Result delivery | Polling or webhook |
| Commercial use | Yes, from day one |
Quick Start
# Upload file for virus scanning
curl -X POST https://api.sed.sh/malware/scan \\
-H "Authorization: Bearer $API_KEY" \\
-F "file=@/path/to/file.zip"
# Poll for malware scan result
curl https://api.sed.sh/malware/scan/{scanId} \\
-H "Authorization: Bearer $API_KEY"
# Response: { "clean": true, "status": "complete" }
Virus Scan API vs VirusTotal API
| Feature | sed.sh | VirusTotal |
|---|---|---|
| Pricing | $1.25/GB | ~$1,500+/mo (est.) |
| Max file size | 150 GB | 650 MB (free tier) |
| Commercial use | Yes | Free tier: No |
| Rate limits | None | 4 req/min (free) |
| Public pricing | Yes | No — contact sales |
| Self-serve signup | Yes | No |
Supported File Types
The virus scan API accepts any binary file format — ZIP, RAR, TAR archives, executables (.exe, .dll), documents (PDF, Word, Excel), disk images (.iso, .vmdk), APK files, firmware images, and any other file up to 150 GB.
Frequently Asked Questions
What is the best API to scan files for viruses?
It depends on your needs. sed.sh charges $1.25/GB with no monthly fee and supports files up to 150 GB — ideal for production apps. VirusTotal aggregates 70+ engines but costs ~$1,500+/month for commercial use.
How do I scan a file for malware via API?
POST the file to https://api.sed.sh/malware/scan with your API key. The response includes a scanId. Poll GET /malware/scan/{scanId} or use a webhook to get the result. clean: true means safe.
How much does a virus scan API cost?
sed.sh charges $1.25 per GB scanned — no monthly fee. Scanning a 100 MB file costs ~$0.125. Start with a $10 deposit covering 8 GB of scanning.
Is there a free file scanning API?
VirusTotal offers a free tier limited to 4 req/min for non-commercial use. sed.sh starts at $10 with no subscription — commercial use allowed from day one.