Get Torrent Info
GET {{api_base}}/{{api_version}}/api/torrents/torrentinfo?hash=string&timeout=integer
Overview
A general route that allows you to give a hash, and TorBox will return data about the torrent. This data is retrieved from the Bittorrent network, so expect it to take some time. If the request goes longer than 10 seconds, TorBox will cancel it. You can adjust this if you like, but the default is 10 seconds. This route is cached as well, so subsequent requests will be instant.
Authorization
None required.
Request Params
| Key | Datatype | Required | Description |
| hash
| string | | Hash of the torrent you want to get info for. This is required. |
| timeout
| string | | The amount of time you want TorBox to search for the torrent on the Bittorrent network. If the number of seeders is low or even zero, this value may be helpful to move up. Default is 10. Optional. |
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: OK
{"success":true,"error":null,"detail":"Successfully retrieved torrent metadata for the hash.","data":{"name":"Big Buck Bunny","hash":"dd8255ecdc7ca55fb0bbf81323d87062db1f6d1c","size":276445467,"files":[{"name":"Big Buck Bunny/Big Buck Bunny.en.srt","size":140},{"name":"Big Buck Bunny/Big Buck Bunny.mp4","size":276134947},{"name":"Big Buck Bunny/poster.jpg","size":310380}]}}