Get Torrent List
GET /v1/api/torrents/mylist
GET https://api.torbox.app/v1/api/torrents/mylist
- Operation ID:
get_torrent_list - Group: Torrents
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Gets the user's torrent list. This gives you the needed information to perform other torrent actions. This information only gets updated every 600 seconds, or when the Request Update On Torrent request is sent to the relay API.
Download States:
-
"downloading" -> The torrent is currently downloading.
-
"uploading" -> The torrent is currently seeding.
-
"stalled (no seeds)" -> The torrent is trying to download, but there are no seeds connected to download from.
-
"paused" -> The torrent is paused.
-
"completed" -> The torrent is completely downloaded. Do not use this for download completion status.
-
"cached" -> The torrent is cached from the server.
-
"metaDL" -> The torrent is downloading metadata from the hoard.
-
"checkingResumeData" -> The torrent is checking resumable data.
All other statuses are basic qBittorrent states. Check out here for the full list.
Authorization
Requires an API key using the Authorization Bearer Header.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | query | integer | no | Determines the torrent requested, will return an object rather than list. Optional. |
bypass_cache | query | boolean | no | Allows you to bypass the cached data, and always get fresh information. Useful if constantly querying for fresh download stats. Otherwise, we request that you save our database a few calls. |
offset | query | integer | no | Determines the offset of items to get from the database. Default is 0. Optional. |
limit | query | integer | no | Determines the number of items to recieve per request. Default is 1000. Optional. |
files | query | boolean | no | Exclude files from response. Optional |
active | query | boolean | no | Shows only active downloads. Optional |
Responses
200Successful Response401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable