This is an n8n community node for TorBox cloud storage and download management service. It provides comprehensive operations for managing torrents, usenet downloads, web downloads, and cloud storage integrations.
n8n is a fair-code licensed workflow automation platform where you can host and automate your workflows locally or on cloud.
- Create Torrent - Add torrents via magnet links or files
- Control Torrent - Pause, resume, or delete torrents
- Request Download Link - Generate download links for torrent files
- Get Torrent List - Browse all your torrents
- Get Torrent Cached Availability - Check if torrents are cached
- Export Torrent Data - Export torrent information
- Get Torrent Info - Retrieve detailed torrent metadata
- Create Usenet Download - Add usenet downloads via NZB files
- Control Usenet Download - Manage usenet downloads
- Request Download Link - Generate download links for usenet files
- Get Usenet List - Browse all your usenet downloads
- Get Usenet Cached Availability - Check usenet cache status
- Create Web Download - Download files from direct links
- Control Web Download - Manage web downloads
- Request Download Link - Generate download links
- Get Web Download List - Browse all web downloads
- Get Web Download Cached Availability - Check cache status
- Get Hoster List - List supported file hosting services
- Get RSS Notification Feed - Retrieve notifications as RSS
- Get Notification Feed - Get all notifications
- Clear All Notifications - Remove all notifications
- Clear Single Notification - Remove specific notification
- Send Test Notification - Test notification settings
- Refresh API Token - Regenerate your API token
- Get User Data - Retrieve account information
- Add Referral To Account - Apply referral codes
- Get Confirmation Code - Retrieve confirmation codes
- Add RSS Feed - Subscribe to RSS feeds for automatic downloads
- Control RSS Feed - Pause, resume, or delete RSS feeds
- Modify RSS Feed - Update RSS feed settings
- Get User RSS Feeds - List all RSS subscriptions
- Get RSS Feed Items - Browse items from RSS feeds
- Authenticate OAuth - Connect cloud storage services
- Queue Google Drive - Upload to Google Drive
- Queue Pixeldrain - Upload to Pixeldrain
- Queue OneDrive - Upload to OneDrive
- Queue GoFile - Upload to GoFile
- Queue 1Fichier - Upload to 1Fichier
- Get All Jobs - List all integration jobs
- Get Specific Job - Get job details
- Get All Jobs By Hash - Find jobs by hash
- Cancel Specific Job - Cancel integration jobs
- Get Queued Downloads - List queued downloads
- Control Queued Downloads - Manage download queue
- Create Stream - Generate streaming links
- Get Stream Data - Retrieve stream information
- Get Metadata By ID - Search metadata by ID
- Get Metadata By Query - Search metadata by query
- Get Torrent Data By ID - Find torrents by ID
- Get Torrent Data By Query - Search torrents
- Get Usenet Data By ID - Find usenet by ID
- Get Usenet Data By Query - Search usenet
- Register New Vendor - Create vendor account
- Get Vendor Account - Retrieve vendor details
- Update Vendor Account - Modify vendor settings
- Get Vendor TorBox Accounts - List managed accounts
- Get Single Vendor TorBox Account - Get specific account
- Register New User Under Vendor - Create user accounts
- Remove User From Vendor - Delete user accounts
- Refresh User Accounts - Update account information
- Get Current Users Online - Check online users
- Request Update On Torrent Info - Force torrent info refresh
- Get Up Status - Check API status
- Get Stats - Retrieve TorBox statistics
- Get Changelogs RSS Feed - Get changelogs as RSS
- Get Changelogs JSON - Get changelogs as JSON
- Get Speedtest Files - Access speedtest files
- ✅ Full TorBox API v1 support
- ✅ Comprehensive error handling
- ✅ Binary data support for file operations
- ✅ Pagination for large result sets
- ✅ OAuth integration for cloud services
- ✅ RSS feed automation
- ✅ Multi-format download support (torrents, usenet, web)
- ✅ Real-time streaming capabilities
- ✅ Vendor management for resellers
Follow the installation guide in the n8n community nodes documentation.
npm install @n8n-nodes-torboxYou can install community nodes directly in n8n Cloud through the Settings → Community Nodes menu.
To use this node, you need a TorBox API token:
- Log in to your TorBox account at torbox.app
- Navigate to Settings → API
- Generate or copy your API Token
In n8n, go to Credentials → New → TorBox API and enter:
| Field | Required | Description |
|---|---|---|
| API Token | Yes | Your TorBox API token |
- Add the TorBox node to your workflow
- Connect your credentials
- Select:
- Resource: Torrents
- Operation: Create Torrent
- Magnet Link:
magnet:?xt=urn:btih:...
- Execute the node
The torrent will be added to your TorBox account and start downloading.
- Add the TorBox node to your workflow
- Configure:
- Resource: Torrents
- Operation: Request Download Link
- Torrent ID:
12345 - File ID:
67890
- Execute the node
Returns a direct download link for the specified file.
- Add the TorBox node
- Configure:
- Resource: Torrents
- Operation: Get Torrent List
- Execute the node
Returns an array of all your torrents with their status and details.
- Add the TorBox node
- Configure:
- Resource: Integrations
- Operation: Queue Google Drive
- Torrent ID:
12345 - File ID:
67890
- Execute the node
Queues the file for upload to your connected Google Drive account.
- Add the TorBox node
- Configure:
- Resource: RSS Feeds
- Operation: Add RSS Feed
- RSS URL:
https://example.com/feed.xml - Filter: Optional regex filter
- Execute the node
Automatically downloads new items matching your filter from the RSS feed.
- Add the TorBox node
- Configure:
- Resource: Stream
- Operation: Create Stream
- Torrent ID:
12345 - File ID:
67890
- Execute the node
Generates a streaming link for direct playback in media players.
Adds a new torrent to your account.
Parameters:
magnetLinkortorrentFile(required): Magnet link or torrent fileseed(optional): Keep seeding after downloadallowZip(optional): Allow ZIP extraction
Returns: Torrent ID, hash, and initial status.
Manages existing torrents.
Parameters:
torrentId(required): ID of the torrentoperation(required):pause,resume, ordelete
Returns: Operation status and updated torrent info.
Generates a direct download link.
Parameters:
torrentId(required): ID of the torrentfileId(required): ID of the file within torrentzipLink(optional): Generate ZIP download link
Returns: Download URL with expiration time.
Adds a usenet download via NZB file.
Parameters:
nzbFile(required): NZB file content or URL
Returns: Download ID and status.
Downloads files from direct links.
Parameters:
url(required): Direct download URL
Returns: Download ID and status.
Lists all supported file hosting services.
Returns: Array of supported hosters with status.
Uploads files to Google Drive.
Parameters:
torrentId(required): Source torrent IDfileId(required): File to uploadfolderId(optional): Destination folder
Returns: Job ID and status.
Subscribes to an RSS feed for automatic downloads.
Parameters:
rssUrl(required): RSS feed URLfilter(optional): Regex filter for itemsdownloadAutomatically(optional): Auto-download matches
Returns: RSS feed ID and configuration.
Generates streaming links for media files.
Parameters:
torrentId(required): Source torrentfileId(required): Media file to stream
Returns: Streaming URL and metadata.
TorBox provides a comprehensive cloud storage and download management platform with:
| Feature | Status | Description |
|---|---|---|
| Torrent downloads | ✅ Supported | Full torrent support with caching |
| Usenet downloads | ✅ Supported | NZB file support |
| Web downloads | ✅ Supported | Direct link downloads |
| Cloud integrations | ✅ Supported | Google Drive, OneDrive, etc. |
| RSS automation | ✅ Supported | Automatic download monitoring |
| Streaming | ✅ Supported | Direct media streaming |
| Vendor API | ✅ Supported | Reseller management |
| Real-time updates | ✅ Supported | Relay system for live updates |
The node performs comprehensive validation:
- Must be a valid TorBox API token
- Token is validated on first request
Errors include:
- Validation errors: Clear explanation of invalid parameters
- API errors: HTTP status codes and TorBox error messages
- Network errors: Connection issues, timeouts
- Authentication errors: Invalid or expired tokens
All errors include the item index for multi-item operations.
- n8n-workflow: Node execution framework
- TypeScript: Strict typing for reliability
- TorBox API v1: Official API integration
The node is built with a modular architecture:
TorBox.node.ts- Main node classoperators.ts- Resource and operation definitionsfields.ts- Parameter definitionsmethods.ts- Operation handler implementationsexecute.ts- Execution orchestrator
TorBox API v1 provides comprehensive cloud storage and download management. This node leverages the official REST API, ensuring compatibility and reliability.
- Node.js >= 20.15.0
- npm or pnpm
- n8n instance for testing
# Clone the repository
git clone https://github.com/Automations-Project/n8n-nodes-torbox.git
cd n8n-nodes-torbox
# Install dependencies
npm install
# Build the node
npm run build
# Lint and format
npm run lint
npm run format# Build and install to local n8n (Windows)
npm run start:dev-windows
# Watch mode for development
npm run devn8n-nodes-torbox/
├── credentials/
│ ├── TorBoxApi.credentials.ts
│ └── torbox.svg
├── nodes/
│ └── TorBox/
│ ├── TorBox.node.ts
│ ├── TorBox.node.json
│ ├── torbox.svg
│ ├── operators.ts
│ ├── fields.ts
│ ├── methods.ts
│ └── execute.ts
├── package.json
├── tsconfig.json
└── README.md
- Verify your API token is correct in credentials
- Check that your TorBox account is active
- Try regenerating your API token in TorBox settings
- Confirm the torrent/download ID is correct
- Check if the download still exists in your account
- Verify you have permission to access the download
- Ensure OAuth is properly configured for cloud services
- Check that you have sufficient storage space
- Verify the integration service is online
- Ensure the file is a supported media format
- Check that the download is complete
- Verify your network connection supports streaming
- Verify the RSS feed URL is accessible
- Check that the filter regex is valid
- Ensure automatic downloads are enabled
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Submit a pull request
- n8n Community Forum: community.n8n.io
- Issues: GitHub Issues
- TorBox Support: torbox.app/support
Created with ❤️ for the n8n & TorBox community
