Web Downloads (Debrid)
Get Web Download Cached Availability Batch
POST /v1/api/webdl/checkcached
POST https://api.torbox.app/v1/api/webdl/checkcached
- Operation ID:
get_web_download_cached_availability_batch - Group: Web Downloads (Debrid)
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Takes in a list of comma separated hashes and checks if the torrent is cached. With the POST endpoint you can submit a nearly unlimited hashes compared to the GET endpoint which is limited by url parameters.
Performance is very fast. Less than 1 second per 100. Time is approximately O(log n) time for those interested in taking it to its max. That is without caching as well. This endpoint stores a cache for an hour.
You may also pass a format parameter with the format you want the data in. Options are either object or list. You can view examples of both below.
Authorization
Requires an API key using the Authorization Bearer Header.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hash | query | string[] | no | |
format | query | string | no | Format you want the data in. Acceptable is either "object" or "list". List is the most performant option as it doesn't require modification of the list. |
list_files | query | boolean | no | Allows you to list the files found inside the cached data. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
hashes | string[] | yes |
Responses
200Successful Response400Bad Request401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable