Bulk File Downloader: URLs to Files, ZIP and Manifest avatar

Bulk File Downloader: URLs to Files, ZIP and Manifest

Pricing

from $2.00 / 1,000 files

Go to Apify Store
Bulk File Downloader: URLs to Files, ZIP and Manifest

Bulk File Downloader: URLs to Files, ZIP and Manifest

Download files from a list of URLs into Apify storage with a manifest (final URL, type checked from bytes, size, SHA-256, link) and an optional ZIP. robots.txt respected, no proxies. Not found, blocked, filtered and unreachable links are free.

Pricing

from $2.00 / 1,000 files

Rating

0.0

(0)

Developer

Greenrun

Greenrun

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 hours ago

Last modified

Categories

Features

Limited permissions

Share

Download files from a list of URLs into Apify storage with a manifest (final URL, type checked from bytes, size, SHA-256, link) and an optional ZIP. robots.txt respected, no proxies. Not found, blocked, filtered and unreachable links are free.

Give it a list of file links, or point it at a field of a dataset from another Actor, and get every file stored in your run's key-value store, one manifest row per link and, if you want, one ZIP with all files. Each row tells you the final URL after redirects, the real file type read from the bytes, the size, the SHA-256 checksum and a direct link to the stored copy. You pay for downloads that started (their first bytes arrived and passed the type check); not found, blocked, filtered and unreachable links are free, with the reason in the row. Made for data pipelines, archiving, dataset building and AI agents that need the files behind a list of links.

What it does

  • Downloads any file type from http and https links: PDF, Office documents, images, audio, video, archives, CSV, JSON and more, streamed to disk, so large files do not need large memory.
  • Reads links from a dataset: pick a dataset and the field with the links (url, images, images.url, product.imageUrl ...), for example the output of a scraper.
  • Checks the real type from the first bytes, not from the server's Content-Type or the file name, and fixes names such as download.php to download.pdf.
  • Filters by type: keep only pdf, image, video, docx, image/* ...; other files stop after their first 4 KB and are free.
  • Stores identical files once: a file with the same SHA-256 as an earlier one is not stored again (it is still downloaded, so it is charged like any download).
  • Packs a ZIP (files.zip) with every stored file and a manifest.csv, when you switch it on.

Why use it

  • Pay only for downloads that started. 404s, sites that refuse access, files filtered out by type and unreachable hosts cost nothing, and each of them says why in error.
  • Type checked from the bytes. When a link to a .pdf returns a login or cookie page, you get status: error with that reason instead of a broken "PDF" in your data.
  • Checksums and links in one manifest. SHA-256, size and a direct link to the stored copy for every file, ready for deduplication and audits.
  • Respectful. robots.txt is checked for every request and every redirect, Crawl-delay is kept, private network addresses are refused. No proxies, no CAPTCHA solving, no login.
  • Built for AI agents. One clear status message, a predictable price per file, and limited permissions, so it works as a tool in the Apify MCP server.

How to use

In Apify Console

  1. Paste the links into File URLs, one per line, or pick a dataset in URLs from a dataset and type the field with the links.
  2. Optional: switch on Also create one ZIP, list types in Only these file types, or raise Max file size (MB).
  3. Press Start. The Output tab shows the manifest; the files are in the run's Storage → Key-value store, and the ZIP is the files.zip record.

From an AI agent (MCP)

Connect any MCP client to the Apify MCP server with only this Actor as a tool:

https://mcp.apify.com?tools=greenrun/bulk-file-downloader

The agent gets a link to each stored file in fileUrl.

Through the API

curl -X POST "https://api.apify.com/v2/acts/greenrun~bulk-file-downloader/run-sync-get-dataset-items" \
-H "Authorization: Bearer <APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://www.python.org/static/img/python-logo.png", "https://www.rfc-editor.org/rfc/rfc9309.pdf"], "zip": true}'

Input

FieldDefaultDescription
urlsDirect links to files, one per line. Each URL becomes one row of the manifest; index keeps the input order.
datasetIdOptional dataset whose items contain the links (for example the output of a scraper).
datasetFieldurlField with the links in each dataset item. Dot paths and lists work: images, images.url, product.imageUrl.
zipfalseAlso pack every stored file into files.zip with manifest.csv. The ZIP holds a second copy of each file, so a file's first 10 MB count twice in its work (see Pricing).
fileTypesallKeep only these types: extensions (pdf, jpg), categories (image, video, audio, document, archive, text) or MIME types (application/pdf, image/*).
skipDuplicatestrueStore files with the same content (SHA-256) once; later copies point to the first (they are still downloaded and charged).
maxFileSizeMb100Larger files are skipped for free when the server tells their size; otherwise the download stops at the limit and pays for what was downloaded (1-5000).
maxConcurrency5Files downloaded at the same time (1-20).
timeoutSecs300Time limit per file (10-3600).

Output

Two rows from a run on the Apify platform on 19 November 2026 (8 links, ZIP on; signature in fileUrl shortened):

{
"index": 4,
"input": "https://www.rfc-editor.org/rfc/rfc9309.pdf",
"status": "downloaded",
"url": "https://www.rfc-editor.org/rfc/rfc9309.pdf",
"finalUrl": "https://www.rfc-editor.org/rfc/rfc9309.pdf",
"httpStatus": 200,
"fileName": "rfc9309.pdf",
"key": "00004-rfc9309.pdf",
"fileUrl": "https://api.apify.com/v2/key-value-stores/y4pGYxTEZHHifGR8X/records/00004-rfc9309.pdf?signature=...",
"contentType": "application/pdf",
"detectedType": "pdf",
"mimeType": "application/pdf",
"extension": ".pdf",
"category": "document",
"sizeBytes": 177688,
"sha256": "149bf3e7f8fa21eaab3cfacf425e624cc44aece2547f65b2f43b97d70511ef0d",
"lastModified": null,
"duplicateOf": null,
"zipName": "rfc9309.pdf",
"downloadedAt": "2026-11-19T19:16:20Z",
"error": null,
"billableEvents": {"file": 1, "extra-mb": 0}
}
{
"index": 2,
"input": "https://www.python.org/static/img/python-logo.png?copy=2",
"status": "duplicate",
"fileName": "python-logo.png",
"detectedType": "png",
"sizeBytes": 15770,
"duplicateOf": "https://www.python.org/static/img/python-logo.png",
"error": "Same content (SHA-256) as input 1, stored once",
"billableEvents": {"file": 0, "extra-mb": 0}
}

The same run stored Python-3.13.0.tar.xz (22.5 MB, detected type xz) as one file and 13 extra-mb events, answered not_found for a missing image and blocked for a GitHub archive link that robots.txt disallows, both free. Final status message: Done: 5 of 8 files downloaded (23.0 MB); 1 duplicate, 1 blocked, 1 not found (not charged, see RUN-REPORT). ZIP with 5 files (23.0 MB): key files.zip.

status is downloaded or duplicate (charged), or not_found, blocked, filtered, too_large, error: free when they stop before the first bytes of the file, otherwise with the events of what was downloaded (billableEvents, workGbSecs). The RUN-REPORT record in the key-value store has the counts, the stored bytes, the ZIP link and the reason for every free row.

Pricing

Pay per event, no subscription:

EventPriceWhen
Actor start$0.0045 per GB of memoryOnce per run: $0.0045 at the default 512 MB.
File$0.002A download that started: its first bytes arrived and passed the type check. A slow download counts more Files (below).
Extra megabyte$0.0002Each started megabyte above 10 MB of one file, charged while it downloads.

How Files are counted. One File covers 16 GB-seconds of work on a file: its download time (32 seconds at the default 512 MB, 4 s at 4 GB; the run time is shared equally between the files downloaded at the same time) plus 1 GB-s for each MB stored, up to 10 MB (with the ZIP on each MB counts twice, as the ZIP holds a second copy). A file that takes longer counts one more File for each started 16 GB-s. Most files are 1 File; slow hosts, robots.txt Crawl-delay waits and more memory make files count more. Each row shows its count in billableEvents and its work in workGbSecs.

Examples: 1,000 files of a few MB cost about $2.00, plus $0.0045 per run; one 25 MB file costs $0.002 + 15 × $0.0002 = $0.005.

Free: links that are not found, blocked by robots.txt or refused by the site, files whose first bytes show a filtered type or an HTML page instead of the file, files whose declared size is above your limit, and links that fail before their first bytes. A download is charged from its first bytes: a duplicate (the same SHA-256 as an earlier file) is downloaded and charged but stored once, and a file that turns out larger than maxFileSizeMb while downloading, or fails after its first bytes, keeps the events of what was downloaded. ZIP-based files (Office, EPUB) are told apart only from the whole file, so a type filter decides after they are charged.

Runs of mostly free links stop early. Free links take run time that only the Actor start and the files of the same run pay for. When that time is used up, the run stops and lists the links it did not process in RUN-REPORT under notProcessedInputs; start them in a new run.

You can cap the cost of a run with the maximum charge in the run options (at least $0.025); the run stops cleanly at that limit and the status message says so. A file whose declared size needs more events than the limit leaves is not downloaded.

Limits

  • Direct file links only: the Actor does not open web pages to look for links inside them, and it does not run JavaScript.
  • No login, cookies, proxies or CAPTCHA solving: links that need them come back as blocked or error, for free.
  • A run gets twice its memory as disk (512 MB memory → 1 GB disk). For many large files, or a large ZIP, run with more memory.
  • Up to 100,000 links per run.

FAQ

Do you keep the files? No. Files and the manifest stay in your run's key-value store and dataset in your own Apify account, under your data retention settings.

Why was a link charged or not? Each row has its events in billableEvents and free rows their reason in error, and the RUN-REPORT record in the key-value store counts them.

Can I trust the file type? It is read from the first bytes of the file (PDF, PNG, JPEG, Office, ZIP, MP4 and about 60 other signatures), not from the name or the Content-Type header.

Something is wrong with a result? Open an issue on the Actor's Issues tab with the link.