Introduction
What the TorBox API is, where it lives and how its answers look.
The TorBox API is the REST API behind torbox.app. Everything the app does (adding torrents, usenet and web downloads, streaming, notifications, RSS feeds, integrations) is available to your code.
- Base URL:
https://api.torbox.app - Version:
v1, every path starts with/v1/api/ - Spec: https://api.torbox.app/openapi.json (OpenAPI 3.1), rendered on the API reference
The standard response
Most requests return the same JSON envelope:
{
"success": true,
"error": null,
"detail": "Torrent Added Successfully",
"data": { "hash": "string", "torrent_id": 0, "auth_id": "string" }
}| Key | Meaning |
|---|---|
success | Whether the request was successful. |
error | An error code if there was an error, or null on success. See Errors. |
detail | A user-friendly message, for success or failure. You may forward it directly to users. |
data | The response information, usually an object, but can be anything. Check the examples in the reference. |
You can rely on both the success boolean and the status code. Status 200 always means success.
General notes
- The
/usenetand/webdlendpoints are nearly the same as the/torrentsendpoints, apart from some differently named inputs and outputs. - All outputs are JSON unless otherwise specified.
- All dates are UTC in the format
%Y-%m-%dT%H:%M:%SZ, for example2024-10-21T20:47:03Z.