Skip to content
VirusTotal logo

Connectors / Security and compliance · HTTP Connector

Automate VirusTotal with Tray.ai

Upload a file for scanning in VirusTotal. Connect VirusTotal to the rest of your security and compliance stack with Tray.ai.

What can you do with VirusTotal on Tray.ai?

VirusTotal scans files and URLs with many antivirus engines and reports what is known about suspicious domains and IP addresses. Tray.ai connects to VirusTotal through the HTTP Connector, so your workflows can call the VirusTotal API alongside the rest of your stack.

  • Scan a URL with VirusTotal when a suspicious link is reported to your security inbox.
  • Get a file report from VirusTotal for a file hash in a security alert and add the verdict to the incident.
  • Get an IP address report from VirusTotal for each alert raised by your firewall.
  • Get a domain report from VirusTotal before your IT team allowlists a new supplier domain.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://www.virustotal.com/api/v3

Set it up

Connect VirusTotal to Tray.ai

Each step uses VirusTotal's own API details, from its documentation.

Step 1

Save VirusTotal's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://www.virustotal.com/api/v3 as the base URL. Or paste a cURL example from VirusTotal's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “Get a file report”

It's one of 6 documented actions, under Files. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Upload a file for scanning” and “Scan a URL” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with VirusTotal

Each one uses actions and events from VirusTotal's own API documentation.

Scan new Box uploads with VirusTotal

When

A file is uploaded to Box

Then

  1. Upload a file for scanning
  2. Get a file report
  3. Post flagged files to the security channel in Slack

With Box and Slack

Check links in ServiceNow phishing reports

When

A phishing report is created in ServiceNow

Then

  1. Scan a URL
  2. Get a URL report
  3. Add the verdict to the ticket in ServiceNow

With ServiceNow

Apps you can build on VirusTotal data

Internal tools your team can build with an AI assistant, each one using VirusTotal calls from its API documentation.

Link and file check tool

Lets an employee submit a URL or file and see what antivirus engines say about it.

Indicator lookup

Lets a security analyst look up a domain or IP address and read its report.

Give your AI agents VirusTotal tools

Build an MCP server on VirusTotal in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Upload a file for scanning
  • Scan a URL
  • Get a domain report
  • Get a file report
  • Get a URL report
  • Get an IP address report

What the VirusTotal API covers

3 resources and 6 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Files

  • Upload a file for scanning
  • Get a file report

URLs

  • Scan a URL
  • Get a URL report

Domains and IP addresses

  • Get a domain report
  • Get an IP address report

Checked against VirusTotal's own documentation on 2026-10-22

docs.virustotal.com/reference/overview

Frequently asked questions

What can a Tray.ai workflow do in VirusTotal?

+

The VirusTotal API documents 6 actions across 3 resources (Files, URLs, Domains and IP addresses). For example: Upload a file for scanning; Scan a URL; Get a domain report. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with VirusTotal?

+

The VirusTotal API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See VirusTotal working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.