# Get Torrent List

`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](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#torrent-management).

### 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

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