# Bulk download images from URLs into one ZIP

**Use case:** 

Downloads every image link in the list, saves each file in the run's key-value store and gives one ZIP link for all of them. Identical images are saved once. This example downloads three public NASA images.

## Input

```json
{
  "urls": [
    "https://images-assets.nasa.gov/image/as11-37-5505/as11-37-5505~small.jpg",
    "https://images-assets.nasa.gov/image/as11-40-5874/as11-40-5874~small.jpg",
    "https://images-assets.nasa.gov/image/PIA12235/PIA12235~small.jpg"
  ],
  "urlFields": [
    "url"
  ],
  "fileTypes": "images",
  "maxFiles": 1000,
  "maxFileSizeMb": 100,
  "skipDuplicateFiles": true,
  "fileTimeoutSecs": 120,
  "maxConcurrency": 8,
  "respectRobotsTxt": false
}
```

## Output

```json
{
  "fileIndex": {
    "label": "#",
    "format": "number"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "status": {
    "label": "Status"
  },
  "fileUrl": {
    "label": "Image",
    "format": "image"
  },
  "fileName": {
    "label": "File name"
  },
  "bytes": {
    "label": "Bytes",
    "format": "number"
  }
}
```

## How it works

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

The Bulk File Downloader: URLs or Dataset Fields to Files & ZIP Actor is ready to run with the inputs already set for "Bulk download images from URLs into one ZIP". [Sign up or log in](https://console.apify.com/create-task-from-example/d1M1SPNXPfRdSdZQC) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Bulk download images from URLs into one ZIP" task

The Bulk File Downloader: URLs or Dataset Fields to Files & ZIP Actor will start running based on the input automatically. You can also change all the input fields, like URLs, link fields, and more, to match your specific use case.

### 3. Receive the "Bulk download images from URLs into 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 #, link, status, 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 images from URLs into one ZIP" task via API](https://apify.com/klarto/bulk-file-downloader.md).

## FAQ

### Where do I get the ZIP of the images?

The bulk image download task writes zipUrl to the run's OUTPUT record: a signed link that downloads all saved images as one ZIP without an Apify token.

### Can the image download task read links from another Actor's dataset?

Yes. Pick the dataset in 'Datasets with links' and name the field, such as imageUrl or images.*.url. Lists of links and objects with a url, src or href key work too.

### How much does downloading images cost?

The image download task charges $0.002 per saved image (first 10 MB included) and $0.0015 per extra 10 MB. Failed, skipped and duplicate images are free.

## About this Actor

This example demonstrates how to use [Bulk File Downloader: URLs or Dataset Fields to Files & ZIP](https://apify.com/klarto/bulk-file-downloader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/klarto/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/klarto/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`).
