{"id":18493327,"url":"https://github.com/netfloex/torrentapi","last_synced_at":"2025-05-14T02:11:08.072Z","repository":{"id":174517376,"uuid":"640990591","full_name":"Netfloex/TorrentApi","owner":"Netfloex","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-16T00:10:31.000Z","size":412,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T23:24:39.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Netfloex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-15T14:44:20.000Z","updated_at":"2024-12-16T00:10:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2a907a0-e092-4e0a-a733-4a793099cf0c","html_url":"https://github.com/Netfloex/TorrentApi","commit_stats":null,"previous_names":["netfloex/torrentapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netfloex%2FTorrentApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netfloex%2FTorrentApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netfloex%2FTorrentApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netfloex%2FTorrentApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Netfloex","download_url":"https://codeload.github.com/Netfloex/TorrentApi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254053552,"owners_count":22006737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T13:13:48.019Z","updated_at":"2025-05-14T02:11:08.053Z","avatar_url":"https://github.com/Netfloex.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Torrent Api\n\nTorrent search api wrapper and parser for popular torrent sites.\n\n### Packages\n\n-   `api-server`: The http api for querying the search package\n-   `torrent-search-client`: A rust crate for searching on popular torrent sites\n\n### Usage\n\n#### Docker Compose\n\n```yaml\nversion: \"3\"\nservices:\n    torrentapi:\n        image: netfloex/torrent-api\n        container_name: torrent-api\n        restart: unless-stopped\n        ports:\n            - 8000:8000\n        volumes:\n            - ./cache:/http-cacache\n```\n\n#### Docker Run\n\n```sh\ndocker run -it -p 8000:8000 -v $PWD/cache:/http-cacache netfloex/torrent-api\n```\n\n### Usage\n\n#### Search for torrents\n\n```sh\ncurl localhost:8000/search?q=\u003cquery\u003e\n```\n\n#### Search for movie torrents\n\n```sh\ncurl localhost:8000/search?imdb=\u003cimdb_id\u003e\n```\n\n### Parameters\n\n#### Torrent search\n\n| param    | description                                               | Required           |\n| -------- | --------------------------------------------------------- | ------------------ |\n| query    | Query to search for torrents                              | :heavy_check_mark: |\n| category | `All`, `Applications`, `Audio`, `Games`, `Other`, `Video` | :x:                |\n| sort     | `Added`, `Size`, `Seeders`, `Leechers`                    | :x:                |\n| order    | `Asc`, `Desc`                                             | :x:                |\n| limit    | Integer                                                   | :x:                |\n\n#### Movie search\n\n| param   | description                                                               | Required           |\n| ------- | ------------------------------------------------------------------------- | ------------------ |\n| imdb    | IMDB id                                                                   | :heavy_check_mark: |\n| title   | Title of the movie                                                        | :x:                |\n| sort    | `Added`, `Size`, `Seeders`, `Leechers`                                    | :x:                |\n| order   | `Asc`, `Desc`                                                             | :x:                |\n| limit   | `Integer`, limit the results to ... length                                | :x:                |\n| quality | `480p`,`720p`,`1080p`,`2160p`                                             | :x:                |\n| codec   | `x264`, `x265`                                                            | :x:                |\n| source  | `Cam`, `Telesync`, `Telecine`, `Dvd`, `Hdtv`, `Hdrip`, `WebRip`, `BluRay` | :x:                |\n\n### Current Providers\n\n-   BitSearch (bitsearch.to)\n-   The Pirate Bay (apibay.org)\n-   1337x (1337x.to)\n-   Yts (yts.mx)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetfloex%2Ftorrentapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetfloex%2Ftorrentapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetfloex%2Ftorrentapi/lists"}