Get Download List
GET /v1/api/downloads/mylist
GET https://api.torbox.app/v1/api/downloads/mylist
- Operation ID:
get_download_list - Group: Downloads
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Gets the user's torrents, usenet downloads and web downloads in one list, newest first. Each item has the same fields as in the list of its own type (Get Torrent List, Get Usenet List, Get Web Download List), plus download_type, which is torrent, usenet or webdl, and minus a few that are left out: auth_id and server on every item, long_term_seeding and download_path on torrents, and download_id on usenet and web downloads. Unlike those lists, files defaults to false here, so items leave out files and expires_at unless you send files=true. Web downloads are spelled webdl here, in download_type and in the type filter.
Order and paging
Items are sorted by created_at, newest first. Items created at the same moment are ordered by type (torrents, then usenet downloads, then web downloads), then by id, highest first. Torrents with no created_at come last. offset and limit page through the sorted list, and a response holds at most limit items. The list is read live, so it always shows the current state of each download.
Filtering
Every filter is optional. Several filters combine with AND: an item is returned only when it matches all of them, for example ?type=torrent&type=usenet&cached=true. offset and limit then page through the matching items.
-
typecan be repeated, and keeps only those download types. -
torrent_id,usenet_idandwebdl_idcan each be repeated, and limit the list to the items they name:?torrent_id=5&torrent_id=9&usenet_id=12returns at most those three items. Types with no ids given are left out. Ids that don't exist, or that belong to another user, are simply missing from the list. They combine with every other filter, so?type=usenet&torrent_id=5returns an empty list. -
tagcan be repeated (?tag=favorite&tag=important). Withtag_match=any, the default, an item needs at least one of the tags. Withtag_match=allit needs every one of them. Tags are compared ignoring case. -
download_statecan be repeated, and matches the whole state exactly, ignoring case. Give the full text, for examplefailed (uploading):failedalone does not match it. The states differ by type; see the list endpoint of each type for its common states. -
The number filters (
progress,download_speed,etaandsize) takeop:numbervalues, whereopisgt(greater than),gte(at least),lt(less than),lte(at most) oreq(equal to). Repeat a filter to combine comparisons:?eta=gte:60&eta=lt:3600returns items with an ETA of at least one minute and under one hour. Every comparison must hold.progressaccepts decimals (progress=gte:0.5); the other filters take whole numbers. An item with no value for the field never matches.eqcompares decimals exactly, so onprogressit is meant foreq:0andeq:1. -
Bounds that contradict each other, such as
progress=gt:0.9&progress=lt:0.1, return an empty list. -
Torrent-only filters (
private,seed,has_magnet,seeds,peers,upload_speed,ratio) are not available here and are ignored. Use Get Torrent List for them. -
A value of the wrong type, such as
size=gt:abc,size=100(no operator),size=gt:1.5(a decimal for a whole-number field),type=webdownloadortag_match=some, returns a 422 response in FastAPI's validation error format ({"detail": [...]}), not the usual response.
Authorization
Requires an API key using the Authorization Bearer Header.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
bypass_cache | query | boolean | no | Accept cached data only if it is at most 3 seconds old. |
offset | query | integer | no | Determines how many matching items to skip. 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 | Include each item's files and expires_at. Default is false, so the list leaves them out unless you set files=true. Optional. |
active | query | boolean | no | Shows only active (true) or only inactive (false) downloads. Optional. |
cached | query | boolean | no | Shows only cached (true) or only uncached (false) downloads. Optional. |
airlocked | query | boolean | no | Shows only airlocked (true) or only not airlocked (false) downloads. Optional. |
has_tags | query | boolean | no | Shows only downloads with at least one tag (true), or with no tags (false). Optional. |
tag | query | string[] | no | Shows only downloads with these tags, ignoring case. Repeat it for several tags. Optional. |
tag_match | query | string | no | How several tags match. any (the default) needs one of them, all needs every one. Optional. |
download_state | query | string[] | no | Shows only downloads in one of these download states. Exact match, ignoring case. Repeat it for several states. Optional. |
progress | query | string[] | no | Shows only downloads whose progress, from 0 to 1, passes every comparison given. Each value is op:number. Repeat it to combine comparisons, for example progress=gte:0.5&progress=lt:1. Optional. |
download_speed | query | string[] | no | Shows only downloads whose download speed, in bytes per second, passes every comparison given. Each value is op:number, with a whole number. Repeat it to combine comparisons. Optional. |
eta | query | string[] | no | Shows only downloads whose ETA, in seconds, passes every comparison given. Each value is op:number, with a whole number. Repeat it to combine comparisons, for example eta=gte:60&eta=lt:3600. Optional. |
size | query | string[] | no | Shows only downloads whose size, in bytes, passes every comparison given. Each value is op:number, with a whole number. Repeat it to combine comparisons. Optional. |
type | query | string[] | no | Shows only these download types, torrent, usenet or webdl. Repeat it for several types. Optional. |
torrent_id | query | integer[] | no | Shows only the torrents with these ids. Repeat it for several ids. Optional. |
usenet_id | query | integer[] | no | Shows only the usenet downloads with these ids. Repeat it for several ids. Optional. |
webdl_id | query | integer[] | no | Shows only the web downloads with these ids. Repeat it for several ids. Optional. |
Responses
200Successful Response401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable