Facts checked October 20, 2026 · 4 min read
A VIRUSTOTAL ALTERNATIVE FOR COMMERCIAL USE
VirusTotal is where most developers first check a suspicious file. It runs the file past many antivirus engines and shows what each one found. The obvious next step is to call its API from your upload handler. Its documentation rules that out for a commercial product, and what you upload through the free API does not stay private.
What the free API allows
VirusTotal's own documentation sets these limits on the public API:1
- 500 requests a day, at most 4 a minute.
- “The Public API must not be used in commercial products or services.”
- “The Public API must not be used in business workflows that do not contribute new files.”
Premium access is arranged by contacting VirusTotal; the page publishes no price. So a free key covers personal checks and research. Scanning the files your customers upload, inside a product you charge for, is outside it.
What happens to an uploaded file
VirusTotal describes it plainly:2
- Scan reports are shared with the public VirusTotal community.
- “The contents of submitted files or pages may also be shared with premium VirusTotal customers.”
VirusTotal also sells Private Scanning, a paid service whose reports are “only visible to users within your organization” and whose files “are not shared with third parties”. It is a paid offering arranged through VirusTotal's premium services contact, and the free API does not offer it.4
Sharing is how VirusTotal improves detection for everyone, and it is a good trade for a malware sample. It is the wrong trade for an invoice, a contract or a medical record that one of your users uploaded. Once it is submitted through the free API, its report is public and premium customers may be able to get the file itself.
When VirusTotal is still the right tool
- Investigating a file by hand, where seeing many engines side by side helps.
- Looking up a hash to see whether a sample is already known.
- Security research and threat intelligence, where sharing samples is the point.
- Large files: a separate upload URL takes files up to 650 MB, though the docs do not say whether the free key can use it.3
What to look for instead
For files that arrive through your own product, check four things on whichever service you choose:
- Commercial use is allowed on the plan you are on, free tier included.
- Files are not shared with anyone, and are deleted once scanned.
- Results reach your backend without your upload handler waiting: a scan id to poll, or a webhook.
- The size limit fits your uploads, checked against the files your users actually send.
Our comparison of free malware scanning APIs lays these out for six options.
How Bouncer answers those
- The terms put no limit on commercial use on any tier, the free one included. They forbid reselling or redistributing the service itself.
- File content is used for nothing but the scan, scan results are not shared with other users or third parties, and the file is deleted after the scan, within 24 hours at most (see the privacy policy). The scan record (verdict, file name, hash) stays in your dashboard while the account is active.
- Each scan returns a scan id at once. Poll it, or receive a signed webhook when it finishes: a verdict of clean, suspicious or malicious, or a failure.
- Multiple detection engines run on every file.
- The free tier takes files up to 25 MB and includes 500 scans a month, with no credit card.
Trying Bouncer
Sign in with Google and create an API key in the dashboard. A scan is three calls: create it, upload the file straight to storage, then read the verdict. Files can be as large as your tier allows, 25 MB on the free tier. The example uses jq to read the JSON responses.
# 1. Create the scan. The response holds the scan_id and an upload target
RESP=$(curl -s -X POST https://api.usebouncer.dev/v2/scan \
-H "X-API-Key: $BOUNCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"file_name": "invoice.pdf"}')
SCAN_ID=$(jq -r .data.scan_id <<<"$RESP")
# 2. Upload: every field from data.upload.fields, then the file last.
# The upload starts the scan.
fields=()
while IFS= read -r kv; do fields+=(--form-string "$kv"); done \
< <(jq -r '.data.upload.fields | to_entries[] | "\(.key)=\(.value)"' <<<"$RESP")
curl -X POST "$(jq -r .data.upload.url <<<"$RESP")" "${fields[@]}" -F file=@invoice.pdf
# 3. Read the verdict, or register a webhook instead
curl https://api.usebouncer.dev/v2/scan/$SCAN_ID \
-H "X-API-Key: $BOUNCER_API_KEY"With the Node SDK it is one call:
import { Bouncer } from "@usebouncer/sdk";
const bouncer = new Bouncer(process.env.BOUNCER_API_KEY ?? "");
const result = await bouncer.scan("./invoice.pdf");The docs cover verdicts, webhooks and errors. Get started with Bouncer.