---
title: "Get a file’s download URL"
method: GET
path: "/files/{id}/download_url"
---

# Get a file’s download URL

`GET /files/{id}/download_url`

## Request

- Base URL: `https://www.virustotal.com/api/v3`
- URL: `https://www.virustotal.com/api/v3/files/{id}/download_url`
- Auth: none required
- TypeScript: <https://skmtc.dev/virustotal/apis/virustotal-api-v3/docs/files/:id/download_url/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Headers

- `x-apikey` string, required

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/virustotal/apis/virustotal-api-v3.md) - [All operations](https://skmtc.dev/virustotal/apis/virustotal-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/virustotal/apis/virustotal-api-v3/revisions/d2de390925aa?raw)
