vt_url_id: Encode a URL as a VirusTotal v3 URL identifier

View source: R/virustotal.R

vt_url_idR Documentation

Encode a URL as a VirusTotal v3 URL identifier

Description

The API identifies a URL by its unpadded URL-safe base64 encoding, i.e. base64.urlsafe_b64encode(url).strip("="). The standard base64 alphabet is not interchangeable: a / in the identifier would be read as a path separator and the request would address no endpoint.

Usage

vt_url_id(url)

Arguments

url

A character string containing the URL.

Value

A character string containing the URL identifier.


virustotal documentation built on Aug. 20, 2026, 5:07 p.m.