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 size150 GB
Response timeUnder 60 seconds
Pricing$1.25/GB scanned
Rate limitsNone
Result deliveryPolling or webhook
Commercial useYes, 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

Featuresed.shVirusTotal
Pricing$1.25/GB~$1,500+/mo (est.)
Max file size150 GB650 MB (free tier)
Commercial useYesFree tier: No
Rate limitsNone4 req/min (free)
Public pricingYesNo — contact sales
Self-serve signupYesNo

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.