# Download a list of file URLs as one ZIP

**Use case:** 

Have a spreadsheet column full of file links? Paste them in and get every file stored with its original name, a direct download link and a SHA-256 hash, plus a single ZIP link for the whole batch. Duplicate links are downloaded once, and failures are listed clearly so you know exactly what is missing.

## Input

```json
{
  "urls": [
    "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
    "https://www.irs.gov/pub/irs-pdf/fw4.pdf",
    "https://www.irs.gov/pub/irs-pdf/f1040.pdf",
    "https://pdfobject.com/pdf/sample.pdf"
  ],
  "findFilesOnPages": false,
  "fileExtensions": [
    "pdf"
  ],
  "sameDomainOnly": false,
  "maxFilesPerPage": 200,
  "maxFiles": 1000,
  "maxFileSizeMb": 100,
  "respectRobotsTxt": true,
  "maxConcurrency": 5
}
```

## Output

```json
{
  "fileName": {
    "label": "File name",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "sizeMb": {
    "label": "Size (MB)",
    "format": "number"
  },
  "contentType": {
    "label": "Type",
    "format": "text"
  },
  "fileUrl": {
    "label": "Download",
    "format": "link"
  },
  "url": {
    "label": "Original URL",
    "format": "link"
  },
  "sourcePage": {
    "label": "Found on page",
    "format": "link"
  },
  "sha256": {
    "label": "SHA-256",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bulk File Downloader - PDFs, Images & Docs from URLs or Pages Actor is ready to run with the inputs already set for "Download a list of file URLs as one ZIP". [Sign up or log in](https://console.apify.com/create-task-from-example/CObkn62syNLnBfosJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Download a list of file URLs as one ZIP" task

The Bulk File Downloader - PDFs, Images & Docs from URLs or Pages Actor will start running based on the input automatically. You can also change all the input fields, like URLs, find files on pages, and more, to match your specific use case.

### 3. Receive the "Download a list of file URLs as one ZIP" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as file name, status, size (mb), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Download a list of file URLs as one ZIP" task via API](https://apify.com/cuestadata/bulk-file-downloader.md).

## FAQ

### What file types can I download from a URL list?

Any type: PDF, images, CSV, XLSX, DOCX, ZIP, audio and video. Files keep their original names where the server provides one.

### Where do I find the ZIP link?

Open the run's key-value store and the SUMMARY record. The zipDownloadUrl field downloads all files at once.

### How long are downloaded files kept?

Files stay in your run's storage for your Apify plan's data retention period. Download the ZIP or copy them to your own storage to keep them longer.

## About this Actor

This example demonstrates how to use [Bulk File Downloader - PDFs, Images & Docs from URLs or Pages](https://apify.com/cuestadata/bulk-file-downloader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cuestadata/bulk-file-downloader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/cuestadata/bulk-file-downloader.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
