Skip to Content
TorBox API

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.

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" }
}
KeyMeaning
successWhether the request was successful.
errorAn error code if there was an error, or null on success. See Errors.
detailA user-friendly message, for success or failure. You may forward it directly to users.
dataThe 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 /usenet and /webdl endpoints are nearly the same as the /torrents endpoints, 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 example 2024-10-21T20:47:03Z.

Next steps

On this page