Bulk Image Downloader [USD 0.50/1K images]
Pricing
from $0.50 / 1,000 images
Bulk Image Downloader [USD 0.50/1K images]
Download images in bulk from image links or whole web pages (img, srcset, picture, lazy-load, og:image, JSON-LD, CSS backgrounds). Real format, pixel size and SHA-256 read from the bytes, icons and duplicates skipped, every file saved with a ready ZIP link.
Pricing
from $0.50 / 1,000 images
Rating
0.0
(0)
Developer
Useful API
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Bulk Image Downloader
Download images in bulk from image links or whole web pages. Give it a list of image URLs, page URLs, or both: page
links are read and every image on them is found, image links are downloaded as they are. Each image is measured from
its own bytes (real format, pixel width and height, SHA-256), images under your minimum size (default 50 x 50 px) are
skipped, which drops tracking pixels and most small icons (an SVG is measured by its declared width, height or viewBox, so
vector icons can pass: leave svg out of the formats to skip them), duplicates are saved once, and every file lands in a store of its own with a ready ZIP link.
What it finds on a page (no browser)
<img>srcandsrcset(the largest candidate),<picture><source>(the largest source), lazy-load attributes (data-src,data-srcset,data-original,data-lazy-srcand similar)og:image,twitter:image,link rel="image_src",link rel="preload" as="image"- JSON-LD
image,logo,thumbnailUrl,contentUrlfields (Product, Article, Organization ...) - CSS backgrounds in
styleattributes and<style>blocks,<video poster> - optional: links straight to image files (
<a href="photo.jpg">), and every size of everysrcset
Relative links and <base href> are resolved. When sources differ only by screen size, the largest one is taken
(width descriptors first, then the width the CDN link asks for, such as ?width=620&dpr=2).
What you get per image
Real format (JPEG, PNG, WebP, GIF, AVIF, HEIC, SVG, BMP, TIFF, ICO), pixel width and height, bytes, SHA-256, the server's Content-Type and whether it matches the bytes, the page it was found on, its alt text, which tag it came from, its key in the store and a direct signed link to the file.
The pixel size is read from the file header while downloading: an image under your minimum size (default 50 x 50 px) is stopped as soon as its size is known. Width and height are the stored pixel size: a JPEG's EXIF orientation (or a HEIC/AVIF rotation) is not applied, so a portrait phone photo stored on its side reads as landscape.
Input examples
Pages:
{ "urls": ["https://en.wikipedia.org/wiki/Bird", "https://en.wikipedia.org/wiki/Paris"], "maxImagesPerPage": 40 }
Image links, metadata only (nothing saved):
{ "urls": ["https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"], "mode": "images", "storeFiles": false }
Only large photos:
{ "urls": ["https://www.allbirds.com/collections/mens"], "minWidth": 600, "minHeight": 400, "formats": ["jpeg", "webp", "png"] }
mode: auto (default: links ending in an image extension are images, others are pages; a page link that answers with
an image is downloaded too), images or pages.
Output
One row per page and per image (dataset views "Images" and "All fields"). A real row from a test run:
{"type": "image","status": "ok","imageUrl": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Bar-tailed_Godwit_migration.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail_unscaled","sourcePage": "https://en.wikipedia.org/wiki/Bird","foundIn": ["srcset"],"alt": "A map of the Pacific Ocean with several coloured lines representing bird routes running from New Zealand to Korea","format": "jpeg","mimeType": "image/jpeg","width": 416,"height": 408,"bytes": 31685,"sha256": "08e40c73787746e8051eaa84595a40dffe8dace4d9d077691f4cb95edf082bd2","contentTypeHeader": "image/jpeg","contentTypeMatches": true,"key": "images__08e40c73-Bar-tailed_Godwit_migration.jpg","fileUrl": "https://api.apify.com/v2/key-value-stores/0JeSgLucMqTYb6i2s/records/images__08e40c73-Bar-tailed_Godwit_migration.jpg?signature=...","billedAs": { "event": "image", "megabytes": 0 },"filesStoreId": "0JeSgLucMqTYb6i2s","zipUrl": "https://api.apify.com/v2/key-value-stores/0JeSgLucMqTYb6i2s/records?prefix=images__&signature=..."}
Image statuses: ok, too_small, format_skipped, duplicate, too_large, not_an_image, not_found,
forbidden, rate_limited, server_error, http_error, timeout, too_slow, unreachable, dns_not_found,
private_address, blocked_port, blocked_by_robots, store_failed, cost_limit.
Page rows: ok (with imagesFound and imagesQueued), blocked_by_robots, blocked (a bot check page), errors.
The run's OUTPUT record has the totals, filesStoreId and zipUrl.
Where the files are, and for how long
Images are saved in a key-value store created for your run (not the run's default store, so the links never expose
your input), under keys images__<first 8 of SHA-256>-<name>.<ext>. fileUrl and zipUrl are signed: they open
without an API token; the ZIP link is valid for 7 days. The store is unnamed, so Apify deletes it after your plan's data
retention period (7 days on most plans): download the ZIP or copy the files before then.
Pricing (pay per event)
| Event | Price |
|---|---|
| Run start | USD 0.005 |
| Image saved (or measured, with saving off) | USD 0.0005 (USD 0.50 per 1,000) |
| Each started MB beyond an image's first MB | USD 0.0002 |
| Page read | USD 0.001 |
| Link or image without a new image (broken, too small, other format, duplicate, over the cap) | USD 0.00015 |
| Image found on a page that is not there (robots.txt, 404, a web page instead of an image) | free |
The megabyte event counts every byte received for a link, including retries and downloads stopped part way (too slow, over your size cap, your cost limit), so one link bills at most (retries + 1) x your size cap in megabytes. A download stopped by the 120 s per-image time cap is not retried.
Measured on Apify: 10 Wikipedia articles gave 278 saved images (52 MB) in 274 seconds. Set a maximum cost per run and the Actor stops cleanly before it, keeping every row it saved.
Good to know
- Pages are read only when robots.txt allows it (rules for
UsefulApiBot, else*); images found on a page are checked against their host's robots.txt too. Image links you give directly are downloaded as given. - User agent:
Mozilla/5.0 (compatible; UsefulApiBot/1.0; +https://apify.com/usefulapi)for pages, robots.txt and image files. Sites that refuse bots are reported in the row's status, not worked around. - No browser: images that a page adds with JavaScript after loading are not seen.
- At most 2 requests at a time to one host, with a short pause between them; a host that fails 3 times in a row is skipped for the rest of the run. Private, loopback and cloud metadata addresses are refused on every hop.
- Download only images you have the right to use.