Back to blog

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.

Free malware scanning APIs compared, facts checked October 20, 2026
ServiceFree allowanceCommercial use, free tierWhat happens to your fileLargest file, free tierHow results arrive
VirusTotal500 requests a day, 4 a minute1No. “The Public API must not be used in commercial products or services.”1Reports are shared with the VirusTotal community; file contents may be shared with premium customers232 MB. A separate upload URL takes up to 650 MB; the docs do not say whether the free key can use it3Asynchronous: poll an analysis id3
MetaDefender Cloud“A limited number of API calls per day”; the number is shown in your account4No. The community key is “exclusively for demo purposes and personal use”4Private scanning is a per-key setting; retention not published5Set per key, readable from the API key endpoint5Asynchronous: fetch the report by its data_id5
Cloudmersive600 calls a month, 1 a second6, 7The free plan is an “Evaluation plan”; paid plans are for “production”6Described as “stateless in-memory processing”83.5 MB6In the same response8
MalwareBazaarFree under fair use, with a free Auth-Key9“Commercial or for-profit needs” may need the paid commercial API9Not a scanner. Uploads are shared as malware samples that other users can download; lookups find known samples by hash9, 10Not applicableHash lookup, immediate9
Self-hosted scannerNo per-scan cost; you pay for the serversDepends on the licenceStays on your infrastructureYour choiceWhatever API you build around it
Bouncer500 scans a month, no credit cardYes. The terms forbid reselling or redistributing the service, not using it in your productDeleted after the scan, within 24 hours at most (privacy). The scan record (verdict, file name, hash) stays in your dashboard25 MBAsynchronous: 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.

terminal
# 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:

scan.ts
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

  1. VirusTotal, Public vs Premium API
  2. VirusTotal, How it works
  3. VirusTotal, Upload a file
  4. OPSWAT, MetaDefender Cloud public APIs
  5. OPSWAT, MetaDefender Cloud API v4 reference
  6. Cloudmersive, Select plan
  7. Cloudmersive, Sign up
  8. Microsoft Learn, Cloudmersive Virus Scan connector (published by Cloudmersive)
  9. abuse.ch, MalwareBazaar API
  10. abuse.ch, MalwareBazaar FAQ

Written by Manish Jadhav