Security related services

VirusTotal API

by docs.virustotal.com

Security related services Added on October 31st, 2026 Checked and working on November 16th, 2026
Visit docs.virustotal.com →

What it does

VirusTotal checks files, URLs, domains and IP addresses with dozens of antivirus engines and URL scanners. The API lets you look up the report for a file hash, URL or domain, and submit new files and URLs for analysis. Responses are JSON. The free public API needs a free key, has a limit of a few requests per minute and a daily cap, and may not be used in commercial products.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Needed, free · More APIs with a free key
Pricing
The free public API needs a free key, has a limit of a few requests per minute and a daily cap, and may not be used in commercial products.
Commercial use
Not on the free plan
Formats
JSON
Interface
REST, HTTP-GET
Provider
docs.virustotal.com
Last checked
Working on November 16th, 2026

More information: https://docs.virustotal.com/reference/overview

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

docs.virustotal.com
VirusTotal API

Example request

curl

curl 'https://www.virustotal.com/api/v3/domains/example.com' \
  -H 'x-apikey: YOUR_API_KEY'

JavaScript

const response = await fetch("https://www.virustotal.com/api/v3/domains/example.com", {
  headers: {
    "x-apikey": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://www.virustotal.com/api/v3/domains/example.com",
    headers={
        "x-apikey": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key.

Did it work for you?

Tell us what you found when you tried VirusTotal API.