Torrent search api wrapper and parser for popular torrent sites.
api-server
: The http api for querying the search packagetorrent-search-client
: A rust crate for searching on popular torrent sites
version: "3"
services:
torrentapi:
image: netfloex/torrent-api
container_name: torrent-api
restart: unless-stopped
ports:
- 8000:8000
volumes:
- ./cache:/http-cacache
docker run -it -p 8000:8000 -v $PWD/cache:/http-cacache netfloex/torrent-api
curl localhost:8000/search?q=<query>
curl localhost:8000/search?imdb=<imdb_id>
param | description | Required |
---|---|---|
query | Query to search for torrents | ✔️ |
category | All , Applications , Audio , Games , Other , Video |
❌ |
sort | Added , Size , Seeders , Leechers |
❌ |
order | Asc , Desc |
❌ |
limit | Integer | ❌ |
param | description | Required |
---|---|---|
imdb | IMDB id | ✔️ |
title | Title of the movie | ❌ |
sort | Added , Size , Seeders , Leechers |
❌ |
order | Asc , Desc |
❌ |
limit | Integer , limit the results to ... length |
❌ |
quality | 480p ,720p ,1080p ,2160p |
❌ |
codec | x264 , x265 |
❌ |
source | Cam , Telesync , Telecine , Dvd , Hdtv , Hdrip , WebRip , BluRay |
❌ |
- BitSearch (bitsearch.to)
- The Pirate Bay (apibay.org)
- 1337x (1337x.to)
- Yts (yts.mx)