Torrent Downloader avatar

Torrent Downloader

Pricing

$4.50 / 1,000 downloaded files

Go to Apify Store
Torrent Downloader

Torrent Downloader

Download files from public magnet links and direct HTTP/HTTPS .torrent URLs. Save completed files to Apify storage with file metadata and a download URL for each saved file.

Pricing

$4.50 / 1,000 downloaded files

Rating

0.0

(0)

Developer

Maxime Dupré

Maxime Dupré

Maintained by Community

Actor stats

0

Bookmarked

24

Total users

0

Monthly active users

20 days ago

Last modified

Share

🧲 Download public torrents to Apify

Torrent Downloader is for developers, researchers, and teams who already have public torrent targets. It downloads files from public magnet links and direct HTTP/HTTPS .torrent URLs, saves completed files to Apify storage, and returns a dataset row for each saved file with file metadata and a download URL.

Each target is handled on its own, so a failed or skipped target does not remove files saved from other targets. The Actor downloads from targets you provide. It does not search torrent sites, scrape torrent indexes, discover torrents, access private trackers, or seed after downloading.

📦 Saved torrent file data

The dataset contains one row for each completed file saved from a submitted target. Use downloadUrl to retrieve the file and the other fields to trace its torrent and file details.

🚀 Download known torrent targets

Run steps

  1. Add one or more public magnet links or direct HTTP/HTTPS .torrent URLs.
  2. Set Maximum size per torrent and Maximum total size for this run for the files you plan to save.
  3. Start the Actor and open the dataset.
  4. Open downloadUrl for a saved file.

Use the public sample target for a first test. Choose size caps that fit the files you are allowed to download and store.

⚙️ Input

Add at least one public torrent target. The two size caps have defaults and help bound the files accepted in a run.

Input fields

FieldTypeWhat it does
targetsarray of stringsRequired. Adds public magnet links or direct HTTP/HTTPS .torrent file URLs, one target per row.
maxTorrentSizeMbintegerSets the largest declared total size allowed for one torrent. A larger torrent is skipped.
maxRunSizeMbintegerSets the total size allowed for saved files in one run. The Actor stops accepting more files when this cap is reached.

Default input

The public default input is:

{
"targets": [
"https://webtorrent.io/torrents/sintel.torrent"
],
"maxTorrentSizeMb": 250,
"maxRunSizeMb": 500
}

🧾 Output

The output link opens the default dataset. Each dataset row has the saved-file shape below.

Dataset link

FieldTypeWhat it does
resultslink stringOpens the default dataset with one row for each saved torrent file.

Saved file fields

FieldTypeWhat it does
targetstringShows the magnet link or HTTP/HTTPS .torrent URL submitted for this file.
torrentNamestring or nullShows the torrent display name when available.
infoHashstring or nullShows the torrent info hash when available.
fileNamestringShows the saved file name.
filePathstring or nullShows the file path inside the torrent when available.
fileSizeBytesinteger or nullShows the saved file size in bytes when known.
downloadUrlstringLinks to the saved file in Apify storage.

Example saved-file row

This complete row is from a successful run:

{
"target": "https://webtorrent.io/torrents/sintel.torrent",
"torrentName": "Sintel",
"infoHash": "08ada5a7a6183aae1e09d831df6748d566095a10",
"fileName": "Sintel.mp4",
"filePath": "Sintel/Sintel.mp4",
"fileSizeBytes": 129241752,
"downloadUrl": "https://api.apify.com/v2/key-value-stores/Fk1otZjABZwmBJ31X/records/torrent-files__08ada5a7a6183aae1e09d831df6748d566095a10__0006-Sintel__Sintel.mp4"
}

You can open the dataset in Apify, export it as JSON, CSV, Excel, XML, RSS, or HTML, or read it through the Apify API. Downloaded files are stored separately in the run's key-value store and linked from each row through downloadUrl.

💳 Pricing

Saved file charge

You pay $0.0045 for each torrent file successfully saved to Apify storage and added to the dataset.

A skipped, unavailable, over-cap, or unsaved target does not create a saved-file row and is not charged as a saved file.

Use the size caps to keep storage and run cost bounded before processing larger torrents.

🔌 Integrations

Run the Actor from the Apify API with known torrent targets.

  • Schedule repeat runs for public torrent feeds you control or have permission to process.
  • Export the dataset as JSON, CSV, Excel, XML, RSS, or HTML.
  • Use webhooks to send completed file rows to storage, automation, or data-processing tools.

❓ FAQ

Yes. Add a public magnet link to Torrent targets. The Actor gets its torrent metadata, applies the size caps, and saves files that fit the run limits.

Can I use direct .torrent file URLs?

Yes. Add a direct HTTP or HTTPS .torrent URL. It should point to the torrent file itself, not a search page, listing page, or website download button.

What happens if one target fails?

The Actor handles targets independently. A failed or skipped target produces no saved-file row, and the run continues with the other targets.

Why did my run produce no rows?

Rows are saved only for files that complete and are stored. No rows means no target produced a saved file. A target may be invalid, unsupported, unavailable, over a size cap, or not reachable during the run.

Does this Actor search torrent sites?

No. The Actor downloads from torrent targets you provide. It does not search torrent websites, scrape torrent indexes, or find torrent files for you.

Do I need source cookies or a tracker login?

No. The Actor is built for public torrent targets and does not ask for source credentials, private tracker credentials, cookies, or user-provided proxy settings.

Does this Actor seed files?

No. The Actor downloads and saves completed files. It does not expose a seeding option for long-running torrent sessions.

Can I download very large torrents?

The input has per-torrent and total-run size caps. Raise the caps only when you know the target size and are comfortable with the storage and run cost.

How do I retrieve a saved file?

Open the downloadUrl in a dataset row. It points to the saved file in Apify storage.

📝 Changelog

v0.1

  • Initial release.

🆘 Support

For issues, questions, or feature requests, file a ticket and I'll fix or implement it in less than 24h 🫡

Made with ❤️ by Maxime Dupré