Usenet
Get Usenet Cached Availability Batch
POST /v1/api/usenet/checkcached
POST https://api.torbox.app/v1/api/usenet/checkcached
- Operation ID:
get_usenet_cached_availability_batch - Group: Usenet
- 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 | |
list_files | query | boolean | no |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
hashes | string[] | yes |
Responses
200Successful Response400Bad Request401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable