# VirusTotal

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Threat intelligence platform — scan files by hash, URLs, domains, and IPs against 70+ antivirus engines and security tools.

**Category:** Security | **Website:** [www.virustotal.com](https://www.virustotal.com) | **Docs:** [docs.virustotal.com/reference/](https://docs.virustotal.com/reference/)

## Access Methods

| Method | Base URL | Auth |
|--------|----------|------|
| **MPP (Tempo)** | `https://virustotal.mpp.paywithlocus.com/virustotal/` | HTTP 402 auto-payment |
| **Locus Pro Wrapped API** | `https://api.paywithlocus.com/api/wrapped/credits/virustotal/` | `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` + `Idempotency-Key` |

**OpenAPI discovery:** `GET https://virustotal.mpp.paywithlocus.com/openapi.json`

## Endpoints

### File Report

Check a file hash for malware with a scan report from 70+ antivirus engines, sandbox analysis, detection results, and threat context.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `hash` | string | Yes | SHA-256, SHA-1, or MD5 hash of the file |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/file-report \
  -H "Content-Type: application/json" \
  -d '{"hash":"275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f"}'
```

### URL Report

Get a URL scan report. Returns detection results from 70+ antivirus engines/blocklists and threat context.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | URL to look up (e.g. "https://example.com") |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/url-report \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
```

### Domain Report

Get a domain reputation report. Returns detection results, DNS records, WHOIS data, and threat context.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `domain` | string | Yes | Domain name (e.g. "google.com") |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/domain-report \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}'
```

### IP Address Report

Get an IP address reputation report. Returns detection results, ASN info, geolocation, and threat context.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ip` | string | Yes | IP address (e.g. "8.8.8.8") |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/ip-report \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'
```

### Scan URL

Submit a URL for scanning. Returns an analysis ID that can be checked with the analysis endpoint.

**Estimated cost:** $0.085

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | URL to scan (e.g. "https://suspicious-site.com") |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/url-scan \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
```

### Analysis Status

Check the status and results of a scan analysis. Use the analysis ID returned by url-scan.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Analysis ID from a scan submission |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/analysis \
  -H "Content-Type: application/json" \
  -d '{"id":"<from virustotal/url-scan>"}'
```

### Search

Look up a file hash, URL, domain, IP address, or comment tag in VirusTotal. Advanced corpus search modifiers require the separate Intelligence API.

**Estimated cost:** $0.085

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | A file hash, URL, domain name, IP address, or comment tag (for example example.com). Advanced corpus search modifiers are not supported by this endpoint. |
| `limit` | number | No | Max results to return (default 10) |
| `descriptors_only` | boolean | No | Return only object IDs and types, not full objects |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/search \
  -H "Content-Type: application/json" \
  -d '{"query":"example.com","limit":1}'
```

### DNS Resolution

Get a DNS resolution record. The ID is the IP address concatenated with the domain (e.g. "8.8.8.8google.com").

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Resolution ID: IP + domain concatenated (e.g. "8.8.8.8google.com") |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/dns-resolution \
  -H "Content-Type: application/json" \
  -d '{"id":"8.8.8.8google.com"}'
```

### File Comments

Get community comments on a file by hash.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `hash` | string | Yes | SHA-256, SHA-1, or MD5 hash |
| `limit` | number | No | Max comments to return (default 10) |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/file-comments \
  -H "Content-Type: application/json" \
  -d '{"hash":"275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f","limit":1}'
```

### Domain Comments

Get community comments on a domain.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `domain` | string | Yes | Domain name |
| `limit` | number | No | Max comments to return (default 10) |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/domain-comments \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}'
```

### IP Comments

Get community comments on an IP address.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ip` | string | Yes | IP address |
| `limit` | number | No | Max comments to return (default 10) |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/ip-comments \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'
```

### Popular Threat Categories

Get the most popular threat categories currently trending on VirusTotal.

**Estimated cost:** $0.055

_No parameters required._

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/popular-threat-categories \
  -H "Content-Type: application/json" \
  -d '{}'
```

### URL Comments

Get community comments on a URL.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | URL to look up comments for |
| `limit` | number | No | Max comments to return (default 10) |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/url-comments \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
```

### File Votes

Get community votes (harmless/malicious) on a file by hash.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `hash` | string | Yes | SHA-256, SHA-1, or MD5 hash |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/file-votes \
  -H "Content-Type: application/json" \
  -d '{"hash":"275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f"}'
```

### URL Votes

Get community votes (harmless/malicious) on a URL.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | URL to look up votes for |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/url-votes \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
```

### Domain Votes

Get community votes (harmless/malicious) on a domain.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `domain` | string | Yes | Domain name |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/domain-votes \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}'
```

### IP Votes

Get community votes (harmless/malicious) on an IP address.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ip` | string | Yes | IP address |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/ip-votes \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'
```

### File Behaviours

Get sandbox dynamic analysis behaviour reports for a file. Includes process activity, network calls, file operations, and registry changes.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `hash` | string | Yes | SHA-256, SHA-1, or MD5 hash |
| `limit` | number | No | Max behaviour reports to return (default 10) |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/file-behaviours \
  -H "Content-Type: application/json" \
  -d '{"hash":"275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f","limit":1}'
```

### Latest Comments

Get the latest community comments posted across all of VirusTotal.

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | number | No | Max comments to return (default 10) |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/latest-comments \
  -H "Content-Type: application/json" \
  -d '{"limit":1}'
```

### Attack Tactic

Get details about a MITRE ATT&CK tactic by ID (e.g. "TA0001" for Initial Access).

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | MITRE ATT&CK tactic ID (e.g. "TA0001") |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/attack-tactic \
  -H "Content-Type: application/json" \
  -d '{"id":"TA0001"}'
```

### Attack Technique

Get details about a MITRE ATT&CK technique by ID (e.g. "T1059" for Command and Scripting Interpreter).

**Estimated cost:** $0.055

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | MITRE ATT&CK technique ID (e.g. "T1059") |

```bash
curl -X POST https://virustotal.mpp.paywithlocus.com/virustotal/attack-technique \
  -H "Content-Type: application/json" \
  -d '{"id":"T1059"}'
```

## Next steps

- [All MPP services](https://paywithlocus.com/mpp/index.md): pick another service.
- [VirusTotal with Locus Pro credits](https://paywithlocus.com/wapi/virustotal.md): the same provider, billed to a credit balance.
- [Pay With Locus wallet skill](https://paywithlocus.com/wallet/skill.md): an agent wallet that pays MPP for you.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.