# Bulk download files from a URL list to ZIP

**Use case:** 

Paste a list of direct file links (PDF, images, CSV, ZIP...) and get every file downloaded into the run storage plus one files.zip. $0.001 per file downloaded. Replace the 3 sample URLs with your own list. Built with AI assistance (Claude); I earn from its runs.

## Input

```json
{
  "mode": "files",
  "startUrls": [
    {
      "url": "https://en.wikipedia.org/wiki/Cat"
    }
  ],
  "maxPagesPerStart": 1,
  "minWidth": 0,
  "minBytes": 0,
  "includeCssBackgrounds": false,
  "sameDomainOnly": false,
  "fetchMetadata": false,
  "downloadToKvs": false,
  "maxImages": 50,
  "respectRobotsTxt": true,
  "timeoutSecs": 20,
  "fileUrls": [
    {
      "url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
    },
    {
      "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/500px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg"
    },
    {
      "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Camponotus_flavomarginatus_ant.jpg/500px-Camponotus_flavomarginatus_ant.jpg"
    }
  ],
  "filenameTemplate": "{index}-{basename}",
  "createZip": true,
  "retries": 2,
  "maxFileMb": 50,
  "maxFiles": 100,
  "concurrency": 5
}
```

## Output

```json
{
  "pageUrl": {
    "label": "Page",
    "format": "string"
  },
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "alt": {
    "label": "Alt text",
    "format": "string"
  },
  "width": {
    "label": "Width",
    "format": "integer"
  },
  "height": {
    "label": "Height",
    "format": "integer"
  },
  "contentType": {
    "label": "Type",
    "format": "string"
  },
  "bytes": {
    "label": "Bytes",
    "format": "integer"
  },
  "source": {
    "label": "Found in",
    "format": "string"
  }
}
```

## How it works

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

The Bulk Image Downloader: $1 per 1,000 Files, ZIP Included Actor is ready to run with the inputs already set for "Bulk download files from a URL list to ZIP". [Sign up or log in](https://console.apify.com/create-task-from-example/Kb3rcU4hOwicXhGEw) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Bulk download files from a URL list to ZIP" task

The Bulk Image Downloader: $1 per 1,000 Files, ZIP Included Actor will start running based on the input automatically. You can also change all the input fields, like mode, page urls, and more, to match your specific use case.

### 3. Receive the "Bulk download files from a URL list to 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 page, image, alt text, 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 "Bulk download files from a URL list to ZIP" task via API](https://apify.com/pennydata/website-image-extractor.md).

## About this Actor

This example demonstrates how to use [Bulk Image Downloader: $1 per 1,000 Files, ZIP Included](https://apify.com/pennydata/website-image-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pennydata/website-image-extractor.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/pennydata/website-image-extractor.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`).
