# Bulk Image Downloader — Save All Images from Web Pages & URLs (`intelscrape/bulk-image-downloader`) Actor

Bulk Image Downloader: download every image from a list of web pages (img, srcset, lazy-load, og:image) or from direct image URLs. Saves the files with direct download links plus width, height, format, size and a hash to skip duplicates. Min-width filter. No API key.

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

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 — Save All Images from Web Pages & URLs

![Bulk Image Downloader — Save All Images from Web Pages & URLs](https://api.apify.com/v2/key-value-stores/hRabN9WfDGrT4nSvV/records/bulk-image-downloader-banner.png)

🇨🇳 **批量图片下载器**：从网页列表（img、srcset、懒加载、og:image）或直接图片链接中下载所有图片。保存文件并提供下载链接，附带宽度、高度、格式、大小和用于去重的哈希值，可按最小宽度过滤。无需 API 密钥。

🇸🇬 **Pemuat Turun Imej Pukal**: muat turun semua imej dari senarai halaman web atau URL imej terus. Pautan muat turun, lebar, tinggi, format, saiz dan hash untuk elak pendua. Tiada kunci API.

#### 🤖 NEW: Connect This To Your AI!

Use this actor from Claude, ChatGPT, Cursor or any MCP client through the **[IntelScrape MCP Server](https://apify.com/intelscrape/skip--trace)**, or call it directly over the Apify API.

#### 🏆 Featured Bots by IntelScrape

- [Skip Trace Pro](https://apify.com/intelscrape/skip-trace-pro)
- [TruePeopleSearch Scraper](https://apify.com/intelscrape/truepeoplesearch-scraper)
- [TikTok Email Scraper](https://apify.com/intelscrape/tiktok-scraper)
- [Amazon Product Reviews Scraper](https://apify.com/intelscrape/amazon-product-review-scraper)
- [Website Contact Scraper](https://apify.com/intelscrape/contact-info-scraper)
- [Skip Trace MCP Server](https://apify.com/intelscrape/skip--trace)

⚡ Works with n8n, Make, Zapier, Google Sheets and the Apify API.

![price](https://img.shields.io/badge/price-%241.50%20per%201K%20images-blue) ![billing](https://img.shields.io/badge/billing-pay%20per%20image-green) ![API key](https://img.shields.io/badge/API%20key-not%20required-brightgreen) ![browser](https://img.shields.io/badge/browser-not%20needed-orange)

**Every real image from many pages or URLs, saved with download links, dimensions and duplicate skipping, cheaply.**

> **Honest coverage & billing:** Images injected only by JavaScript or CSS backgrounds are not detected. You pay only for results actually delivered, and a built-in cost guard stops the run at your max-charge limit.

🌍 Built for teams in the **US, China and Singapore**, and anyone who needs this data in a spreadsheet or pipeline.

⭐ Found it useful? Please leave a review; it helps others find it.

⚖️ **Lawful business use only.** Collect public data only, and comply with the source site's terms, copyright and data-protection laws (GDPR, CCPA, China PIPL, Singapore PDPA).

*Examples below are illustrative; names and values may be fictional or out of date.*

### What is Bulk Image Downloader?

Building a product catalogue, a training dataset, a mood board or an archive usually starts with the same chore: right-click, save, repeat. **Bulk Image Downloader** does it for hundreds of pages at once. It finds every real image on each page, including the largest srcset size, lazy-loaded images and the og:image, skips icons and duplicates, saves the files and gives you a direct download link plus width, height, format and size for each one.

### What does it do?

- **Page scan**: img tags, the largest srcset candidate, data-src/lazy-load attributes, og:image and twitter:image
- **Direct URLs**: download a list of image links as-is
- **Smart filters**: min width to drop icons and pixels, max file size, duplicate skipping by SHA-1
- **Download links**: files stored in the run's key-value store with a direct URL per row
- **Image info (on by default)**: width, height, megapixels, orientation, format (JPG, PNG, WebP, GIF, SVG, AVIF), file size, content type, SHA-1
- **Alt text and source page** kept for every image

### Why choose us over cheaper scrapers?

- **Honest output**: limits are documented, missing data is labeled, never invented
- **Clean, consistent schema** ready for Excel, Sheets, BI tools or an LLM
- **No account risk**: no logins, no cookies, no API keys
- **Pay per result** with a built-in cost guard; no subscription, failed items are never charged
- **Fast and light**: no residential proxy, so runs finish in seconds and stay cheap
- **Maintained by IntelScrape** and fixed fast when the source changes

### Who is it for?

- **E-commerce**: pull product photos from supplier or competitor pages
- **AI & ML datasets**: collect images with alt text and dimensions
- **Content migration**: move a site's media to a new CMS
- **Archiving & compliance**: keep copies of page imagery
- **Design research**: mood boards from many sites at once
- **SEO audits**: find oversized images and missing alt text

### How to use it

#### In Apify Console (no code)

1. Click **Try for free** / **Start**. The form is prefilled with a working example.
2. Change the inputs (see examples below).
3. Click **Start**, then export the results as **JSON, CSV, Excel, XML or HTML**, or open them in Google Sheets.
4. Optional: **Schedule** the actor to run hourly, daily or weekly.

#### Via API

```bash
curl -X POST "https://api.apify.com/v2/acts/intelscrape~bulk-image-downloader/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pageUrls": [{"url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge"}], "maxImagesPerPage": 20}'
```

Or use the official [Apify JavaScript](https://docs.apify.com/api/client/js/) and [Python](https://docs.apify.com/api/client/python/) clients:

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("intelscrape/bulk-image-downloader").call(run_input={"pageUrls": [{"url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge"}], "maxImagesPerPage": 20})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
    print(item)
```

#### With AI agents (MCP)

Add Apify's MCP server (`https://mcp.apify.com`) or the [IntelScrape MCP Server](https://apify.com/intelscrape/skip--trace) to Claude Desktop, Cursor, ChatGPT or any MCP client, then ask in plain language, e.g. *"Run intelscrape/bulk-image-downloader with the default input and summarise the results."*

### Input examples

**One page, 20 images (default)**

```json
{
  "pageUrls": [{ "url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge" }],
  "maxImagesPerPage": 20
}
```

**Direct image URLs**

```json
{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/0/0c/GoldenGateBridge-001.jpg"
  ]
}
```

**Large images only from many pages**

```json
{
  "pageUrls": [{ "url": "https://example.com/gallery" }, { "url": "https://example.com/products" }],
  "minWidth": 800,
  "maxImagesPerPage": 200
}
```

### Output fields

| Field | Description |
|---|---|
| `imageUrl / pageUrl / alt / foundVia` | Source image, page, alt text, how it was found |
| `downloadUrl / storeKey / fileName` | Direct download link, key-value store key, original file name |
| `format / width / height / megapixels / orientation` | Image info (when on) |
| `fileSizeKb / contentType / sha1` | Size, MIME type and content hash (when on) |
| `error` | Failed page or image (not charged) |
| `downloadedAt` | Time |

#### Sample output

```json
{
  "imageUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/GoldenGateBridge-001.jpg/1280px-GoldenGateBridge-001.jpg",
  "pageUrl": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge",
  "downloadUrl": "https://api.apify.com/v2/key-value-stores/<store>/records/img-00001-3f2a9c1b7e.jpg",
  "format": "jpeg",
  "width": 1280,
  "height": 853,
  "fileSizeKb": 251.7
}
```

### Pricing (pay per event)

| Event | When it is charged | Price |
|---|---|---|
| **Actor start** | once per run | $0.005 |
| **Image** | per image downloaded and saved | $0.001 |
| **Image info** | per image with dimensions, format, size and hash (on by default; turn off to skip) | $0.0005 |

#### Cost examples

| Run | Cost |
|---|---|
| Default run: up to 20 images with info | $0.035 |
| 1,000 images with info | $1.505 |
| 5,000 images only | $5.005 |

Platform usage is included in these prices. Set **Max charge per run** in the run options to cap spend; the actor stops cleanly when the limit is reached and keeps everything collected so far.

### Tips for best results

- Raise minWidth to 600+ to keep only photos.
- Images rendered only by JavaScript may be missed; use direct image URLs for those.
- Download all files at once from the run's key-value store in Apify Console.
- Only download images you have the right to use.

### FAQ

#### Where are the files?

In the run's key-value store; every dataset row has a direct downloadUrl.

#### Does it run JavaScript?

No, it reads the page HTML, which keeps runs fast and cheap. Most sites put image URLs in the HTML or srcset.

#### Are duplicates charged?

No. Duplicates are skipped before saving.

#### Which formats?

JPG, PNG, WebP, GIF, SVG and AVIF.

#### Are failed downloads charged?

No.

#### Copyright?

You are responsible for having the rights to use downloaded images.

### Honest limits

- Images injected only by JavaScript or CSS backgrounds are not detected.
- Some sites block hotlinking or cloud servers; try the proxy option.
- Files above the max size are skipped.
- Dimensions for some AVIF/SVG files may be empty.

### Related IntelScrape bots

- [Open Graph Scraper](https://apify.com/intelscrape/open-graph-scraper): link previews & meta tags
- [Website to PDF](https://apify.com/intelscrape/website-to-pdf): any URL to a print-ready PDF
- [PDF Text Extractor](https://apify.com/intelscrape/pdf-text-extractor): PDF URLs to clean text & metadata
- [Tech Stack Detector](https://apify.com/intelscrape/tech-stack-detector): CMS, analytics & frameworks per domain
- [Skip Trace MCP Server](https://apify.com/intelscrape/skip--trace): IntelScrape tools for AI agents

### Legal

This actor collects publicly available data only. You are responsible for using the results lawfully and in line with the source's terms and applicable privacy laws (GDPR, CCPA, PIPL, PDPA). Process personal data only with a legitimate purpose. IntelScrape is not affiliated with, endorsed by or sponsored by the data source; all trademarks belong to their owners.

# Actor input Schema

## `pageUrls` (type: `array`):

Pages to collect images from (img tags, srcset largest size, lazy-load attributes, og:image).

## `imageUrls` (type: `array`):

Image file URLs to download as-is.

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

Cap per web page.

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

Skip icons and tracking pixels narrower than this (page images only; 0 = keep all).

## `skipDuplicates` (type: `boolean`):

Skip files with identical content (SHA-1) across the run.

## `maxFileSizeMb` (type: `integer`):

Larger files are skipped (not charged).

## `includeImageInfo` (type: `boolean`):

Add width, height, megapixels, orientation, format, file size, content type and SHA-1 hash to each row. Charged per image.

## `proxyConfiguration` (type: `object`):

Not needed normally. The actor switches to Apify Proxy automatically if the source starts rate-limiting.

## Actor input object example

```json
{
  "pageUrls": [
    {
      "url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge"
    }
  ],
  "imageUrls": [],
  "maxImagesPerPage": 20,
  "minWidth": 100,
  "skipDuplicates": true,
  "maxFileSizeMb": 15,
  "includeImageInfo": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "pageUrls": [
        {
            "url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge"
        }
    ],
    "includeImageInfo": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("intelscrape/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 = {
    "pageUrls": [{ "url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge" }],
    "includeImageInfo": True,
}

# Run the Actor and wait for it to finish
run = client.actor("intelscrape/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 '{
  "pageUrls": [
    {
      "url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge"
    }
  ],
  "includeImageInfo": true
}' |
apify call intelscrape/bulk-image-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,intelscrape/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/u8pxSsLbcMFkq8Kz6/builds/BfbVob1wPU5wihzh8/openapi.json
