# Bulk Image Downloader: Download Images from URLs, with ZIP (`northbell/bulk-image-downloader`) Actor

Paste image links or web pages and get every image saved with a public link, its width, height, format and file size, plus one ZIP of everything. Duplicates are saved once. robots.txt respected, no browser, no login. $2 per 1,000 images.

- **URL**: https://apify.com/northbell/bulk-image-downloader.md
- **Developed by:** [Northbell](https://apify.com/northbell) (community)
- **Categories:** Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 95.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 images

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Bulk Image Downloader: Download Images from URLs, with ZIP

Paste **image links** or **web pages** and get every image **saved with a public link**, its **width, height, format and file size**, the page it came from and its alt text, plus **one ZIP of everything**. The same file found twice is saved and charged once. **$2 per 1,000 images**, no browser, no login.

**Try it now. The input is already filled in.** Press **Start**: the Wikipedia article on Mount Fuji, images at least 300 px wide: **22 images in about 13 seconds, for $0.05**, plus one ZIP with all of them (10 MB) (measured on 28 Oct 2026). Three of the rows:

| `width` × `height` | `format` | `alt` | source |
| --- | --- | --- | --- |
| 1280 × 626 | jpg | — | View of Mount Fuji from Ōwakudani (Wikimedia Commons) |
| 960 × 867 | jpg | Mount Fuji is located in Japan | location map |
| 960 × 784 | jpg | Mount Fuji is located in Shizuoka Prefecture | relief map |

Each row links to the saved file (`fileUrl`) and keeps the source address, size in bytes and a SHA-256 fingerprint. Icons and logos narrower than 300 px were skipped and not charged.

### What you get

| Row | Fields |
|---|---|
| `image` | `sourceUrl`, `fileUrl` (public link to the saved file), `format`, `width`, `height`, `bytes`, `alt`, `pageUrl`, `zipName`, `duplicateOf`, `sha256`, `key` |
| `zip` | `fileUrl` (link to `images.zip`), `files`, `bytes` |
| `error` | `url`, `pageUrl`, `message` (free) |

Every image is stored in the run's key-value store under `key`, and `images.zip` holds them all with readable file names.

### Use it for

- **Product photos**: save the images of product pages or a supplier's catalogue in one go
- **Datasets for AI**: collect images with their alt text and sizes for training or evaluation
- **Website audits**: list every image on a page with its real size and file weight (find the 4 MB hero image)
- **Archiving**: keep a copy of a page's pictures with a checksum per file

### Input

```json
{ "urls": ["https://en.wikipedia.org/wiki/Mount_Fuji", "https://example.com/photos/cat.jpg"], "maxImagesPerPage": 50, "minWidth": 200 }
```

Measured on 23 October 2026: 6 images from a Wikipedia article (65 found) saved with sizes and a ZIP in 4.4 seconds.

### How it reads

- **Image links** are saved as they are. **Pages** are read as HTML: `img` (src, the largest `srcset` size, lazy-load attributes such as `data-src`), `picture` sources, `og:image` and `image_src`. Images added later by JavaScript are not seen, because this Actor does not run a browser.
- Each site's **robots.txt is read first** (the rules for all robots and those addressed to Claude crawlers) (for the page and for every image host); an image link you give that it does not allow gets a free error row; an image found inside a page that it does not allow is left out and counted (skippedByRobots in the run summary). Links to private networks are not read.
- Files are recognised by their content, not their extension: a link that is not really an image gives a free error row.
- **Minimum width** skips icons and spacers without charging for them.

Only download images you have the right to use.

### Pricing

**$2 per 1,000 images** ($0.002 each), plus $0.01 per run. The ZIP, duplicates, skipped small images and error rows are free. The $0.01 run-start fee is the one charge every run pays, even one that returns nothing.

### For AI agents

`{"urls": ["https://example.com/page"], "maxImagesPerPage": 20}` returns one `image` row per saved image with `fileUrl`, `width`, `height` and `format`, and one `zip` row. Rows have `type`: `image`, `zip` or `error`.

# Actor input Schema

## `urls` (type: `array`):

Image links (.jpg, .png, .webp, .gif, .svg, .avif...) or web pages, one per line. For a page, the images written in its HTML are saved: img src, srcset (the largest size), lazy-load attributes, picture sources and og:image. Each site's robots.txt is checked first.

## `collectFromPages` (type: `boolean`):

Off: only direct image links are saved, and page links give a free error row.

## `maxImagesPerPage` (type: `integer`):

Images saved from each page, in the order they appear in the HTML (og:image first).

## `minWidth` (type: `integer`):

Skip images narrower than this, such as icons and spacers (not charged). 0 = keep all.

## `maxFileMb` (type: `integer`):

Larger files are skipped with a free error row.

## `zip` (type: `boolean`):

One images.zip in the run's key-value store with every saved image (up to 300 MB); its link is in a zip row.

## Actor input object example

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Mount_Fuji"
  ],
  "collectFromPages": true,
  "maxImagesPerPage": 40,
  "minWidth": 300,
  "maxFileMb": 20,
  "zip": true
}
```

# Actor output Schema

## `images` (type: `string`):

Public link, width, height, format, file size and source of every saved image.

## `zip` (type: `string`):

images.zip in the run's key-value store.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://en.wikipedia.org/wiki/Mount_Fuji"
    ],
    "maxImagesPerPage": 40,
    "minWidth": 300
};

// Run the Actor and wait for it to finish
const run = await client.actor("northbell/bulk-image-downloader").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": ["https://en.wikipedia.org/wiki/Mount_Fuji"],
    "maxImagesPerPage": 40,
    "minWidth": 300,
}

# Run the Actor and wait for it to finish
run = client.actor("northbell/bulk-image-downloader").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://en.wikipedia.org/wiki/Mount_Fuji"
  ],
  "maxImagesPerPage": 40,
  "minWidth": 300
}' |
apify call northbell/bulk-image-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,northbell/bulk-image-downloader"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6hTlHMYcLdB4aZwkt/builds/GuLAZ17gQ7dpO7MSj/openapi.json
