x402 pay-per-call

Scan a file (via its public download URL) for malware using VirusTotal's multi-engine analysis

Scan a file (via its public download URL) for malware using VirusTotal's multi-engine analysis. Returns an async analysis ID to poll. Call before an agent downloads, opens, or executes a file attachment from an untrusted source.

Billing. $0.10 in USDC per call over x402, on Base or Solana. No API key, no signup and no subscription. Send the request with no payment header, take the 402 challenge that comes back, pay it, and repeat the request. Only successful calls are charged.

post/v1/payg/scan-file

Request

  • Base URL: https://api.relayshield.net
  • URL: https://api.relayshield.net/v1/payg/scan-file
  • Auth: none required

Request body

file_urlstring required

Publicly accessible download URL

filenamestring

Optional filename hint for AV engines

Response

Payment settled and the check ran. ok is true and data holds the result.

oktrue required
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.