Skip to content

Netfloex/TorrentApi

Repository files navigation

Torrent Api

Torrent search api wrapper and parser for popular torrent sites.

Packages

  • api-server: The http api for querying the search package
  • torrent-search-client: A rust crate for searching on popular torrent sites

Usage

Docker Compose

version: "3"
services:
    torrentapi:
        image: netfloex/torrent-api
        container_name: torrent-api
        restart: unless-stopped
        ports:
            - 8000:8000
        volumes:
            - ./cache:/http-cacache

Docker Run

docker run -it -p 8000:8000 -v $PWD/cache:/http-cacache netfloex/torrent-api

Usage

Search for torrents

curl localhost:8000/search?q=<query>

Search for movie torrents

curl localhost:8000/search?imdb=<imdb_id>

Parameters

Torrent search

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

Movie search

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

Current Providers

  • BitSearch (bitsearch.to)
  • The Pirate Bay (apibay.org)
  • 1337x (1337x.to)
  • Yts (yts.mx)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published