Skip to content
Dankr4d edited this page Sep 19, 2017 · 3 revisions

HTTP API

The HTTP API is for non-dynamic trackers; The HTTP API allows you to add & remove torrents that are tracked. For security purposes it can only be accessed from 127.0.0.1.

Adding a torrent via the API

In order to add a torrent to the tracked torrent list, you should use the HTTP API; This can be done with a simple HTTP GET request. Make a request to http://127.0.0.1:6969/api?action=add&hash=<40 character info-hash> The server should respond with a {"success": true} message.

Removing a torrent via the API

Same like adding a torrent; just replace action=add with action=remove.