RapidAPI logo

Sign Up

Log In

VirusTotal

FREE
By dimas
Updated 3 months ago
Tools
4.3/10
Popularity Score
270ms
Latency
100%
Success Rate

VirusTotal API Documentation

VirusTotal is a free service that analyzes suspicious files and URLs.

View API Details
POSTgetDomainReport
POSTgetFileScanReport
POSTgetReportIP
POSTgetURLscanReport
POSTmakeComment
POSTrescanFiles
POSTscanFiles
POSTscanURLs
POSTgetDomainReport

Retrieving domain reports

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
domainSTRING
REQUIREDA domain name.
apikeyCREDENTIALS
REQUIREDVirusTotal apikey
Request Snippet
unirest.post("https://VirusTotaldimasV1.p.rapidapi.com/getDomainReport")
.header("X-RapidAPI-Host", "VirusTotaldimasV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://VirusTotaldimasV1.p.rapidapi.com/getDomainReport")
.header("X-RapidAPI-Host", "VirusTotaldimasV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication