These docs are for v2.0. Click to read the latest docs for v3.0.

Get a URL for uploading files larger than 32MB

🚧

Restricted API

This API requires additional privileges. Please contact us if you need to upload files bigger than 32MB in size.

In order to submit files bigger than 32MB you need to obtain a special upload URL to which you can POST files up to 200MB in size. This API generates such a URL. Then you must POST a multi-part file upload to the upload_url.

Successful calls to this endpoint will return a 302 redirect response to a URL where the file can be uploaded.

📘

Files larger than 200MB

Notice that files larger than 200MB tend to be bundles of some sort, (compressed files, ISO images, etc.) in these cases it makes sense to upload the inner individual files instead for several reasons, as an example:

  • Engines tend to have performance issues on big files (timeouts, some may not even scan them).
  • Some engines are not able to inspect certain file types whereas they will be able to inspect the inner files if submitted.
  • When scanning a big bundle you lose context on which specific inner file is causing the detection.
{
  'upload_url': 'https://www.virustotal.com/_ah/upload/?apikey=>apikey</AMmfu6aOazgAdakralarFKHjJvxHdDiN5umGU9j5RzEfWPU8jQwtRgAM_LkxJlR24R0SCJ7MsIkWLD-C9nSraPSBwK7ujv84k3QNhzkSwX-GqcerFjSOZS25eHTQP6QBDyCXWAU4vEzIHcX1iigpcTbLrS9O9LnXQUs3Jn_kocDc61aDki2-Cm6ARN99JbAK82H8lWG3cBN1c4_WJbaeCDTNNnkky8Bfz8Qhxf327o_6GPAWVeeIt39TYTYL1e45-zwxFrqFHIWl/ALBNUaYAAAAAUQKBI1y6AfbKZLSO5QBdb2zDB0EYysh6/'
}
Language
Click Try It! to start a request and see the response here!