Facts checked October 20, 2026 · 5 min read
FREE MALWARE SCANNING APIS COMPARED
If your product accepts uploads, you need to know whether a file is malicious before anyone downloads it. Several services offer a free way to check. They differ in three ways that matter more than the headline number: whether the free tier allows use in a commercial product, what happens to the file you send, and how large a file it accepts.
This page compares six options as each vendor describes them. Where a vendor does not publish a figure, the table says so. One of the six is Bouncer, which we build. Every figure about another service links to the page it was read from.
| Service | Free allowance | Commercial use, free tier | What happens to your file | Largest file, free tier | How results arrive |
|---|---|---|---|---|---|
| VirusTotal | 500 requests a day, 4 a minute1 | No. “The Public API must not be used in commercial products or services.”1 | Reports are shared with the VirusTotal community; file contents may be shared with premium customers2 | 32 MB. A separate upload URL takes up to 650 MB; the docs do not say whether the free key can use it3 | Asynchronous: poll an analysis id3 |
| MetaDefender Cloud | “A limited number of API calls per day”; the number is shown in your account4 | No. The community key is “exclusively for demo purposes and personal use”4 | Private scanning is a per-key setting; retention not published5 | Set per key, readable from the API key endpoint5 | Asynchronous: fetch the report by its data_id5 |
| Cloudmersive | 600 calls a month, 1 a second6, 7 | The free plan is an “Evaluation plan”; paid plans are for “production”6 | Described as “stateless in-memory processing”8 | 3.5 MB6 | In the same response8 |
| MalwareBazaar | Free under fair use, with a free Auth-Key9 | “Commercial or for-profit needs” may need the paid commercial API9 | Not a scanner. Uploads are shared as malware samples that other users can download; lookups find known samples by hash9, 10 | Not applicable | Hash lookup, immediate9 |
| Self-hosted scanner | No per-scan cost; you pay for the servers | Depends on the licence | Stays on your infrastructure | Your choice | Whatever API you build around it |
| Bouncer | 500 scans a month, no credit card | Yes. The terms forbid reselling or redistributing the service, not using it in your product | Deleted after the scan, within 24 hours at most (privacy). The scan record (verdict, file name, hash) stays in your dashboard | 25 MB | Asynchronous: poll the scan, or receive a signed webhook |
When each one fits
- VirusTotal is the right tool for research and for checking a file by hand against many engines. Its free API is not for use inside a commercial product, scan reports are shared with its community, and file contents may reach premium customers, so it does not suit files your customers send you.
- MetaDefender Cloud scans with many engines. The free key is for personal use and demos; a product needs a commercial licence.
- Cloudmersive answers in the same request. Its free plan is for evaluation, with a small file limit (3.5 MB); paid plans start at $19.99 a month for 10,000 calls and 1 GB files.6
- MalwareBazaar tells you whether a hash belongs to known malware. It does not scan a new file, and what you upload is shared as a sample.
- Self-hosting keeps files on your own servers, which matters for air-gapped systems or strict data residency. You take on the scanning daemon, its memory, daily definition updates, an HTTP wrapper and scaling.
- Bouncer is a hosted API for scanning the files your users upload, inside a commercial product, without sharing them. It runs multiple detection engines and returns a verdict of clean, suspicious or malicious.
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: 500 free scans per month, no credit card required.
Sources, read October 20, 2026
- VirusTotal, Public vs Premium API
- VirusTotal, How it works
- VirusTotal, Upload a file
- OPSWAT, MetaDefender Cloud public APIs
- OPSWAT, MetaDefender Cloud API v4 reference
- Cloudmersive, Select plan
- Cloudmersive, Sign up
- Microsoft Learn, Cloudmersive Virus Scan connector (published by Cloudmersive)
- abuse.ch, MalwareBazaar API
- abuse.ch, MalwareBazaar FAQ