# VirusTotal Search via Locus x402

> VirusTotal Search via Locus x402 is a paid API for AI agents from virustotal.x402.paywithlocus.com, paid per call via x402, $0.085/call, status unknown (last checked 2026-09-15).

Search VirusTotal's threat intelligence database by domain, hash, URL, or IP against 70+ antivirus engines using x402 micropayment authentication

## Facts

- Endpoint: POST https://virustotal.x402.paywithlocus.com/virustotal/search
- Price: $0.085/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/virustotal-search-via-locus-x402-45c7faf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VB9iAShCg82vD_jrVSBvo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability virustotal-search-via-locus-x402-45c7faf4 -d '<json body>'
```

Example prompt: Can you check VirusTotal to see if the file hash 44d88612fea8a8f36de82e1278abb02f is flagged as malicious by any antivirus engines, and return up to 5 results?

## When to prefer this

Use this endpoint when you need to programmatically check file hashes, domains, IPs, or URLs against VirusTotal's database of 70+ antivirus engines via x402 micropayment — ideal for security automation pipelines, incident response workflows, or threat intelligence enrichment where per-query pay-as-you-go pricing is preferable to a subscription API key.

## Known failure modes

- Invalid or unrecognized query format returns empty or error data
- Malformed hash (wrong length or character set) may return no matches
- Rate limiting or payment failure results in non-200 response
- Rare or very new hashes/domains may have no VirusTotal data yet
- Network timeout if VirusTotal backend is slow to respond

## How this service works

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

## Output

Returns a JSON object with a 'data' field containing VirusTotal search results — including threat verdicts, detection ratios, and security metadata from 70+ antivirus engines — plus payment confirmation details (settled USDC amount) and a request tracking ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number"
  },
  "query": {
   "type": "string"
  },
  "descriptors_only": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/virustotal-search-via-locus-x402-45c7faf4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from virustotal.x402.paywithlocus.com](https://www.zero.xyz/host/virustotal.x402.paywithlocus.com/llms.txt)
