Bulk Image Downloader & Scraper: URLs, Pages, Datasets avatar

Bulk Image Downloader & Scraper: URLs, Pages, Datasets

Pricing

from $0.60 / 1,000 images

Go to Apify Store
Bulk Image Downloader & Scraper: URLs, Pages, Datasets

Bulk Image Downloader & Scraper: URLs, Pages, Datasets

Bulk image downloader: save images from URLs, web pages or another Actor's dataset to the key-value store (optional ZIP) with width, height, size and SHA-256. Skip icons, duplicate files and near-duplicate pictures without being charged. From $0.60 per 1,000 images.

Pricing

from $0.60 / 1,000 images

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

15

Total users

5

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Bulk image downloader for image URLs, web pages and other Actors' datasets: every image is saved to your Apify key-value store (optional ZIP) and you get one row per image with a public link, width, height, file size and SHA-256. $0.72 per 1,000 images on the Free plan, from $0.60 on Business, plus $0.00005 per run.

{ "sourceUrl": "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png", "storedUrl": "https://api.apify.com/v2/key-value-stores/TfhtTRcT1uXrURohF/records/c4e870d358d64ce6.png", "contentType": "image/png", "bytes": 224566, "width": 800, "height": 600, "sha256": "c4e870d358d64ce6…" }

Pay only for images you want. Set a minimum width/height to skip icons, logos, tracking pixels and thumbnails, turn on Skip duplicate images to store each distinct file once even when it appears under several URLs, and turn on Skip near-duplicate images to store each picture once even when it comes back as a thumbnail, another size or a WebP copy. Skipped images are not stored and not charged.

What is the Bulk Image Downloader?

The Bulk Image Downloader fetches images from a list of URLs (or from another Actor's dataset) and stores them in Apify's key-value store for persistent access. Each URL can be:

  • a direct image URL (.jpg, .png, .webp, …) — the image is downloaded as is;
  • a web page URL — the Actor reads the page and downloads the images on it: <img src>, the largest srcset candidate, lazy-loaded images (data-src, data-lazy-src, data-lazy, data-original), <picture><source srcset> and og:image. Relative URLs are resolved against the page, and each image URL is downloaded once.

For each downloaded image, the Actor stores:

  • Final URL after redirects
  • MIME type (content type)
  • File size in bytes
  • Image dimensions (width/height, parsed from PNG, JPEG, GIF, WebP — lossy, lossless and extended — and AVIF/HEIF headers; null for SVG)
  • SHA256 hash for deduplication or integrity checking
  • Perceptual hash of the picture (with skipSimilarImages), to find the same photo in other sizes and formats
  • Public access URL
  • The page the image was found on

The Actor also optionally creates a ZIP file containing all downloaded images.

What data does the Bulk Image Downloader extract?

The Actor returns one dataset row per successfully downloaded image, with the following fields:

FieldTypeDescription
sourceUrlstringThe image URL: as given, or as found on the page
finalUrlstringThe final URL after following redirects
keystringThe key under which the image is stored in the key-value store
storedUrlstringPublic URL to access the stored image
contentTypestringMIME type of the image (e.g., image/jpeg, image/png)
bytesintegerFile size in bytes
widthintegerImage width in pixels (parsed from file header)
heightintegerImage height in pixels (parsed from file header)
sha256stringSHA256 hash of the image file
scrapedAtstringTimestamp of the download (ISO 8601 UTC)
sourcePagestring or nullThe web page the image was found on; null when you gave the image URL directly
perceptualHashstring or nullOnly with skipSimilarImages: 64-bit perceptual hash (pHash, 16 hex digits) of the picture; null when the file could not be decoded

Every run also writes an OUTPUT record to the key-value store: the number of images downloaded, pages scanned, and every skipped URL with its error code and reason. Skipped URLs are also in the ERRORS record. When no image could be downloaded, the run still succeeds, is not charged per image, and its status message says why (for example 2 URL(s) skipped: 1 HTTP 400, 1 not an image).

How to use the Bulk Image Downloader

Option 1: Download from image or page URLs

  1. Provide URLs: Enter one or more image or web page URLs, one per line (or separated by semicolons), e.g.:

    https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg
    https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png
    https://en.wikipedia.org/wiki/Cat
  2. Set the maximum number of images: Specify how many images to download (default: 50). The same limit applies to the images taken from any one page.

  3. Optionally create a ZIP: Enable createZip to also store all images as a single ZIP file.

Option 2: Download from another Actor's dataset

  1. Provide the dataset ID: Enter the ID of the dataset from a previous Actor run.

  2. Specify the URL field name: Enter the name of the field containing the image (or page) URLs (default: url).

  3. Configure download settings: Set max images, file size limit, and ZIP option as desired.

Example input

{
"imageUrls": [
"https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
"https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png",
"https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg"
],
"maxImages": 50,
"maxFileSizeMb": 20,
"timeoutSecs": 30,
"createZip": true
}

An empty input runs the same three Wikimedia images as a demo.

Example output

[
{
"sourceUrl": "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
"finalUrl": "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
"key": "a3f2b8c1d4e5f6a7.jpg",
"storedUrl": "https://api.apify.com/v2/key-value-stores/<store-id>/records/a3f2b8c1d4e5f6a7.jpg",
"contentType": "image/jpeg",
"bytes": 9022,
"width": 275,
"height": 297,
"sha256": "a3f2b8c1d4e5f6a7…",
"scrapedAt": "2026-11-12T14:30:00.000Z",
"sourcePage": null
}
]

For an image found on a web page, sourceUrl is the absolute image URL and sourcePage is the page URL you gave.

Example OUTPUT record when nothing could be downloaded:

{
"images": 0,
"pagesScanned": 1,
"rejectedCount": 2,
"reasons": { "HTTP 400": 1, "page without images": 1 },
"rejected": [
{ "sourceUrl": "https://site.example/photo.jpg", "sourcePage": null, "errorCode": "HTTP_ERROR", "httpStatus": 400, "error": "HTTP 400" },
{ "sourceUrl": "https://site.example/about", "sourcePage": null, "errorCode": "NO_IMAGES_ON_PAGE", "error": "The page has no <img>, srcset, lazy-load or og:image images" }
],
"stoppedEarly": false
}

Input parameters

  • imageUrls (array of strings, optional): Image or web page URLs, one per line (semicolons also work). Aliases: urls, url, startUrls. If you set it but no entry is an http(s):// URL (and there is no datasetId), the run fails with a clear message.
  • datasetId (string, optional): ID of another Actor's dataset to read URLs from. Use this instead of imageUrls.
  • urlField (string, default: url): When using datasetId, the name of the field containing the URL or URL list.
  • maxImages (integer, default: 50, max: 100000): Maximum number of images to download, in total and from any one page.
  • maxFileSizeMb (integer, default: 20, max: 1000): Skip images (and pages) larger than this size in megabytes.
  • timeoutSecs (integer, default: 30, range: 5–300): Timeout for each download in seconds.
  • createZip (boolean, default: false): Also create a ZIP file containing all downloaded images.
  • minWidth / minHeight (integer, default: 0 = off): Skip images smaller than this many pixels. Skipped images are not stored, not charged and do not count towards maxImages. With a minimum set, files whose pixel size cannot be read (e.g. SVG) are skipped too.
  • skipDuplicateImages (boolean, default: false): Store and charge each distinct file (same SHA-256) once per run, even under a different URL.
  • skipSimilarImages (boolean, default: false): Store and charge each picture once per run, even when it comes back resized, re-compressed or in another format. See Skip near-duplicate images.
  • similarityDistance (integer, default: 4, range: 0–16): How many of the 64 perceptual-hash bits may differ for two images to count as the same picture.

Skip icons, tracking pixels and duplicates

A product or article page carries far more image files than the pictures you are after: logos, payment and social icons, 1×1 tracking pixels, sprites, and the same photo again as a thumbnail or under another CDN URL. Without a filter every one of those files is downloaded and charged. Several alternatives also offer a minimum-size filter (see the table under Alternatives); here skipped files are never charged. Set a minimum size and turn on duplicate skipping, and only the images you want are stored and charged:

{
"imageUrls": ["https://books.toscrape.com/"],
"minWidth": 100,
"minHeight": 100,
"skipDuplicateImages": true,
"maxImages": 100
}

The check runs right after each download, before the file is stored. maxImages counts only saved images, so a page full of icons still gives you up to maxImages real pictures. Every skipped file is listed in OUTPUT and ERRORS with TOO_SMALL, SIZE_UNKNOWN or DUPLICATE_IMAGE and its reason.

Skip near-duplicate images (same picture, other size or format)

SHA-256 only matches byte-identical files. The same photo as a 330 px thumbnail, a 1000 px original and a WebP copy has three different hashes, so exact de-duplication stores and charges all three. Image lists from other scrapers often hold exactly that: a thumbnail and a full-size URL per photo, or the same product shot under several CDN sizes.

With skipSimilarImages on, the Actor decodes each image and computes a 64-bit perceptual hash (pHash) of the picture plus an 8×8 grid of average colours. An image whose hash differs from an already saved one in at most similarityDistance bits (default 4), whose grid colours are all within 10 of 255 and whose aspect ratio is within 10 % is skipped: not stored, not charged, and listed in OUTPUT/ERRORS as SIMILAR_IMAGE with the URL it matched (similarTo) and the bit distance (hashDistance). The first copy found is kept; on web pages the Actor already picks the largest srcset size. Each saved row gets its perceptualHash, so you can compare across runs too.

{
"imageUrls": [
"https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg",
"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/330px-Cat03.jpg",
"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/120px-Cat03.jpg",
"https://upload.wikimedia.org/wikipedia/commons/2/25/Siam_lilacpoint.jpg",
"https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Siam_lilacpoint.jpg/330px-Siam_lilacpoint.jpg"
],
"skipDuplicateImages": true,
"skipSimilarImages": true
}

This input stores 2 rows, one per photo; with only skipDuplicateImages every size that downloads is its own row (up to 5), because each size is a different file. (Wikimedia sometimes answers thumbnail requests with HTTP 429; those URLs are listed in OUTPUT and not charged.) The colour check matters for shop catalogues: the same product template in another colourway (a navy and a black sock, two light canvas shoes) has almost the same grey-scale hash but different colours, so both are kept. In our test on 236 product photos of one shoe and sock shop (27,730 pairs, many colourways) the default settings merged only pictures that are the same render (for example one shoe photo used for the men's and the women's SKU), and recognised 118 of 120 WebP, AVIF and JPEG copies the shop's CDN serves in other sizes. When in doubt the image is kept (and charged); very small images (under about 200 px) are often kept as separate rows. Images under 32 px and flat single-colour images are never matched, and a crop (other aspect ratio) is not a copy. Raise similarityDistance to also merge light edits; set it to 0 for visually identical copies only.

Error codes

Each skipped URL in the OUTPUT and ERRORS records has an errorCode and a readable error. Skipped URLs are never charged.

errorCodeMeaning
HTTP_ERRORThe server answered with a status other than 200 (httpStatus holds it, e.g. 400, 403, 404).
NOT_AN_IMAGEThe response was neither an image nor an HTML page (e.g. PDF, JSON), or an image URL found on a page returned something else.
NO_IMAGES_ON_PAGEThe URL is a web page, but it has no img, srcset, lazy-load or og:image image.
FILE_TOO_LARGEThe image or page is larger than maxFileSizeMb.
TIMEOUTThe download took longer than timeoutSecs.
NETWORK_ERRORDNS, TLS or connection failure.
STORE_FAILEDThe image could not be written to the key-value store.
PUSH_FAILEDThe dataset row could not be written (no charge).
DATASET_READ_FAILEDThe datasetId dataset could not be read.
TOO_SMALLThe image is smaller than minWidth × minHeight (the message gives its pixel size).
SIZE_UNKNOWNA minimum size is set, but the file's pixel size could not be read (e.g. SVG).
DUPLICATE_IMAGEskipDuplicateImages is on and the same file was already saved in this run (the message names the first URL).
SIMILAR_IMAGEskipSimilarImages is on and the same picture (other size, format or compression) was already saved in this run (similarTo names it, hashDistance gives the differing bits).

Pricing

The Bulk Image Downloader costs $0.72 per 1,000 images saved on the Free plan ($0.70 Starter and Scale, $0.60 Business and above), plus a $0.00005 start fee per run. A run with 50 images costs about $0.04. Skipped URLs, pages, images below your minimum size, duplicate files and near-duplicate pictures are not charged.

How much will my images cost?

  • 100 images on the Free plan: 100 × $0.00072 + $0.00005 ≈ $0.07
  • 10,000 images a month on Business: 10,000 × $0.0006 ≈ $6.00 plus $0.00005 per run
  • A page with 81 images where a 200 px minimum skips 28 icons and thumbnails: you pay for 53 images
  • A list with a thumbnail and a full-size URL for each of 500 photos (1,000 URLs) with skipSimilarImages: you pay for 500 images, about $0.36 on the Free plan instead of $0.72
  • A run where every URL fails: only the $0.00005 start fee

API examples

JavaScript (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('webdatatools/bulk-image-downloader').call({
imageUrls: ['https://en.wikipedia.org/wiki/Cat'],
minWidth: 200,
minHeight: 200,
skipDuplicateImages: true,
skipSimilarImages: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.storedUrl, item.width, item.height);

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("webdatatools/bulk-image-downloader").call(
run_input={"imageUrls": ["https://en.wikipedia.org/wiki/Cat"], "minWidth": 200, "createZip": True}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["storedUrl"], item["bytes"])

CLI

$apify call webdatatools/bulk-image-downloader --input '{"imageUrls": ["https://en.wikipedia.org/wiki/Cat"], "minWidth": 200}' --output-dataset

Alternatives

Prices per 1,000 from each Actor's pricing tab, checked 29 November 2026 (Free plan, then Business). "Not documented" means we found no such option in its README or input schema, not that it cannot exist.

Bulk Image Downloader (this)cybermax/bulk-image-downloadergetascraper/bulk-image-downloaderchris_elder/bulk-file-downloaderonescales/bulk-image-downloader
Price per 1,000 images$0.72 ($0.60 Business)$0.80 on every plan, + $0.0001 per started MB above 2 MB of one image (+ $0.0005 per run from 10 December 2026)$0.89 ($0.67 Gold+)$2.00 per 1,000 files ($1.20 Gold+)$70 ($0.07 per image; $1.00 Gold+)
Images from web pagesYes, one levelDocumented (crawl)Documented (crawl)Documented (pageUrls, crawl)Documented (startUrls)
Width, height, SHA-256 per imageYesDocumentedDocumented (SHA-256 with dedupByHash)Shopify mode only (imageWidth, imageHeight); no SHA-256Not documented (type, name, size)
Minimum size filter (skip icons)Yes, not chargedDocumented (minWidth, minHeight)Documented (minWidth, minHeight)Not documentedNot documented
Same file under another URLSkipped once saved (skipDuplicateImages), not chargedDocumented (dedupe)Documented (dedupByHash)URL de-duplication only (dedupe)Not documented
Same picture in another size or format (near-duplicate)Skipped once saved (skipSimilarImages), not charged; perceptualHash per rowNot documented (SHA-256 only)Not documented (SHA-256 only)Not documentedNot documented

The free lukaskrivka/images-download-upload charges platform usage instead of a per-image price; its README gives no usage figure per 1,000 images, so it is not in the table. It documents a minimum width/height/size check (imageCheckMinWidth, imageCheckMinHeight, imageCheckMinSize) and a duplicate check (noDownloadRun, duplicateIndexes).

Limitations

  • Charging: You pay only for images that are downloaded and saved as a dataset row. Pages, skipped URLs and failed saves are not charged.
  • File size filtering: Images larger than the maxFileSizeMb limit are skipped and not charged.
  • Timeout enforcement: Downloads exceeding the timeoutSecs limit are aborted. Near the run's own timeout the Actor stops downloading and still writes the ZIP, OUTPUT and ERRORS records.
  • Dimension parsing: Image width/height are parsed from the file header. For some rare image formats, dimensions may be unavailable (width/height will be null).
  • ZIP file size: The created ZIP file is stored in the key-value store under a single record. There is no practical size limit, but very large ZIPs may take time to generate.
  • Redirect handling: The Actor follows HTTP redirects (up to 20). Final URL reflects the ultimate source after all redirects.
  • Content-type validation: Only responses with MIME types starting with image/ are saved. An HTML response is scanned as a page; other content is skipped with NOT_AN_IMAGE.
  • Page mode: Pages are read without a browser, one level deep. Images added only by JavaScript after load and CSS background images are not found; links to other pages are not followed.

Using with AI agents and MCP

This Actor works with AI agents through the Apify MCP server. Agents can call it like:

{
"imageUrls": ["https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg", "https://en.wikipedia.org/wiki/Cat"],
"maxImages": 50,
"createZip": true
}

The Actor returns a dataset of stored images with public URLs ready for processing, analysis, or further download by other tools.

FAQ

Q: Can I download images from password-protected URLs? A: No, the Actor makes unauthenticated requests. It cannot access URLs behind login walls or authentication pages.

Q: What happens if an image URL returns a redirect? A: The Actor automatically follows redirects (up to 20 hops). The finalUrl field shows the ultimate source URL after all redirects.

Q: Can I download images from a different Actor's dataset? A: Yes. Provide the dataset ID and specify the field name containing image URLs. The Actor will read URLs from all items in that dataset.

Q: How are images deduplicated? A: Each image URL is downloaded once per run, even if it appears on several pages or twice in your list. Turn on skipDuplicateImages to also skip the same file under another URL (matched by SHA256), and skipSimilarImages to skip the same picture in another size, compression or format (matched by a perceptual hash). Skipped copies are not stored and not charged.

Q: I pasted a web page URL. What happens? A: The Actor reads the page and downloads the images on it (img src, largest srcset, lazy-load attributes, og:image), up to maxImages. Each row's sourcePage shows the page. A page with no images is listed in the OUTPUT record with NO_IMAGES_ON_PAGE and is not charged.

Q: Why can't I download from Instagram or Facebook? A: These sites use bot-detection and require authenticated sessions. The Actor makes simple, unauthenticated requests and will not bypass bot checks.

Q: Is the ZIP file immediately available? A: Yes, the ZIP is created in the key-value store while the run finishes. You can access it via the key shown in the log output.

Q: What image formats are supported? A: The Actor downloads any image MIME type (JPEG, PNG, GIF, WebP, BMP, TIFF, SVG, etc.). Dimension parsing works for PNG, JPEG, GIF, WebP and AVIF/HEIF.

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data

Support

For issues, feature requests, or questions, visit the Actor's GitHub issues or community forums.

If this Actor saved you time, please leave a review on the Apify Store. It helps other users find it.