Skip to content
Integration

VirusTotal integrations and automation

Say what should happen in VirusTotal, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

No credit card needed.

VirusTotal on Whenever

About VirusTotal

VirusTotal is a free online service that analyzes files and URLs for viruses, worms, trojans, and other kinds of malicious content using multiple antivirus engines and website scanners.

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Build it from your AI client

Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the VirusTotal workflow. It then runs on Whenever, with the chat closed.

Set up the Whenever MCP server

Plan your VirusTotal workflow

VirusTotal is most useful in an automation as an enrichment step: given a file hash or a URL, what have its scanning engines said? API v3 lives under https://www.virustotal.com/api/v3 and takes your key in an x-apikey header. A file report is fetched by SHA-256, SHA-1 or MD5 and carries last_analysis_stats, a count of engines in each category such as malicious, suspicious, harmless and undetected, plus last_analysis_date. URLs are looked up by an identifier you can build yourself: the URL in unpadded, URL-safe base64.

Check the licence before building. The Public API is limited to 500 requests a day and four a minute, must not be used in commercial products or services, and must not be used in business workflows that do not contribute new files. Registering extra accounts to get round the limits is not allowed. That rules out the free key for most company alert-triage processes; the Premium API has limits set by your licensed service step and exposes more context. Decide which tier you are on, because it determines whether the workflow may exist at all, not just how fast it can run.

Everything you send becomes shared data. VirusTotal states that any indicator submitted or queried through the API is scanned and added to its dataset, accessible to the community, and asks you not to send anything containing sensitive, confidential or personal information. A URL with a password-reset token, an internal hostname or a customer’s contract attachment should never leave your network this way. Prefer a hash lookup over uploading a file, and strip query strings from URLs when the policy you set requires it.

File scanning is asynchronous. POST /files returns an analysis ID rather than a verdict, and GET /analyses/{id} reports progress; files over 32 MB must go through a separate upload URL, which accepts up to 650 MB. Within a workflow, record the analysis ID and check it on a later run instead of waiting inside one. Engine counts are signals, not a decision: set the threshold that sends something to an analyst, and do not let the workflow delete files or block users on detection numbers alone.

VirusTotal workflow examples

Starter briefs to set up with your accounts, not finished workflows.

Enrich a security alert with a hash report

Looks up a hash already present in an alert and never uploads the file, which keeps the run inside a lookup-only pattern.

Build this workflow

Check links reported to a phishing mailbox

URL lookups by base64 identifier, with redaction applied before anything is queried.

Build this workflow

Weekly refresh of a watched-indicator list

Re-reads stored hashes and flags changes in verdicts, pacing calls for a limited quota.

Build this workflow

Related apps for your workflows

All integrations

VirusTotal FAQs

Can I use the free VirusTotal API in a company workflow?

VirusTotal’s terms say the Public API must not be used in commercial products or services, or in business workflows that do not contribute new files. Most business automation needs the Premium API.

What are the VirusTotal Public API limits?

500 requests per day at a rate of four requests per minute. Premium API limits depend on your licence rather than a fixed public allowance.

Do files and URLs I check stay private?

No. VirusTotal says any indicator submitted or queried via the API is scanned and added to its dataset, accessible to the community. Do not send anything sensitive, confidential or personally identifiable.

How do I look up a URL in VirusTotal API v3?

Use GET /urls/{id}, where the ID is either the SHA-256 of the canonical URL or the URL encoded in base64 without the = padding. The base64 form lets VirusTotal canonicalise it for you.

What is the largest file VirusTotal accepts?

POST /files handles files up to 32 MB. For larger files, request an upload URL from /files/upload_url, which accepts files up to 650 MB.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.