Torrents
Request Download Links - POST
POST /v1/api/torrents/requestdl/batch
POST https://api.torbox.app/v1/api/torrents/requestdl/batch
- Operation ID:
request_torrent_download_links_post - Group: Torrents
- Auth: API key as the
tokenquery parameter
Overview
Requests multiple download links from the server. Because downloads are metered, TorBox cannot afford to allow free access to the links directly. This endpoint opens the link for 3 hours for downloads. Once a download is started, the user has nearly unlilimited time to download the file. The 1 hour time limit is simply for starting downloads. This prevents long term link sharing.
Authorization
Requires an API key as a parameter for the token parameter.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
token | query | string | yes | Your API Key |
torrent_id | query | integer | yes | The torrent's ID that you want to download |
file_ids | query | integer[] | no | |
user_ip | query | string | no | The user's IP to determine the closest CDN. Optional. |
append_name | query | boolean | no | If you want to add the "filename" parameter to the returned CDN link. Optional. Default false. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
file_ids | integer[] | no | The files's ID that you want to download |
Responses
200Successful Response403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable