Skip to Content
TorBox API
Torrents

Request Download Links - POST

POST /v1/api/torrents/requestdl/batch

Try it in the playground

POST https://api.torbox.app/v1/api/torrents/requestdl/batch

  • Operation ID: request_torrent_download_links_post
  • Group: Torrents
  • Auth: API key as the token query 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

NameInTypeRequiredDescription
tokenquerystringyesYour API Key
torrent_idqueryintegeryesThe torrent's ID that you want to download
file_idsqueryinteger[]no
user_ipquerystringnoThe user's IP to determine the closest CDN. Optional.
append_namequerybooleannoIf you want to add the "filename" parameter to the returned CDN link. Optional. Default false.

Request body (application/json)

FieldTypeRequiredDescription
file_idsinteger[]noThe files's ID that you want to download

Responses

  • 200 Successful Response
  • 403 Forbidden
  • 404 Not Found
  • 422 Validation Error
  • 429 Too Many Requests
  • 500 Internal Server Error
  • 503 Service Unavailable