An open API service indexing awesome lists of open source software.

https://github.com/theriturajps/torrent-search-api

API for 1337x, NyaaSi, YTS, PirateBay, Torlock, EzTvio, TorrentGalaxy, Rarbg, Zooqle, KickAss, Bitsearch, Glodls, MagnetDL, Limetorrent, TorrentFunk, TorrentProject and Ettv Central Unoffical API
https://github.com/theriturajps/torrent-search-api

api torrent torrent-api torrent-search torrents torrents-crawler

Last synced: 2 months ago
JSON representation

API for 1337x, NyaaSi, YTS, PirateBay, Torlock, EzTvio, TorrentGalaxy, Rarbg, Zooqle, KickAss, Bitsearch, Glodls, MagnetDL, Limetorrent, TorrentFunk, TorrentProject and Ettv Central Unoffical API

Awesome Lists containing this project

README

        

Torrent Searcher API with Website 🔥

### New Torrent API [ArcTorrent](https://github.com/theriturajps/ArcTorrent) (Available!)

> Unofficial API for scraping torrents from 1337x, Piratebay, Eztv, Nyaasi, Torlock, YTS, Torrent Galaxy, Rarbg, ~~Zooqle~~, KickAss, Bitsearch, Glodls, ~~MagnetDL~~, LimeTorrent, TorrentFunk, TorrentProject and ~~Ettv~~.

---

## ⚙️How to install?

```sh

# Clone the repo
$ git clone https://github.com/theriturajps/Torrent-Search-API.git

# Install Depedencies
$ npm install

# Start the server
$ npm start

```

---

## 🤔How it works?

```
/api/{keyword}/{query}/{page(optional)}

```

---

## 🔏Keywords

| Website | Keyword | Url | Example |
| -------------- | ---------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------- |
| 1337x | 1337x | | [/api/1337x/avengers](https://itorrentsearch.vercel.app/api/1337x/avengers) |
| Yts | yts | | [/api/yts/avengers](https://itorrentsearch.vercel.app/api/yts/avengers) |
| Eztv | eztv | | [/api/eztv/avengers](https://itorrentsearch.vercel.app/api/eztv/avengers) |
| Torrent Galaxy | tgx | | [/api/tgx/avengers](https://itorrentsearch.vercel.app/api/tgx/avengers) |
| Torlock | torlock | | [/api/torlock/avengers](https://itorrentsearch.vercel.app/api/torlock/avengers) |
| PirateBay | piratebay | | [/api/piratebay/avengers](https://itorrentsearch.vercel.app/api/piratebay/avengers) |
| Nyaasi | nyaasi | | [/api/nyaasi/umaru](https://itorrentsearch.vercel.app/api/nyaasi/umaru) |
| Rarbg | rarbg | | [/api/rarbg/avengers](https://itorrentsearch.vercel.app/api/rarbg/avengers) |
| ~~Ettv~~ | ~~ettv~~ | ~~~~ | DEAD |
| ~~Zooqle~~ | ~~zooqle~~ | ~~~~ | DEAD |
| KickAss | kickass | | [/api/kickass/avengers](https://itorrentsearch.vercel.app/api/kickass/avengers) |
| Bitsearch | bitsearch | | [/api/bitsearch/avengers](https://itorrentsearch.vercel.app/api/bitsearch/avengers) |
| Glodls | glodls | | [/api/glodls/avengers](https://itorrentsearch.vercel.app/api/glodls/avengers) |
| ~~MagnetDL~~ | ~~magnetdl~~ | ~~~~ | DEAD |
| LimeTorrent | limetorrent | | [/api/limetorrent/avengers](https://itorrentsearch.vercel.app/api/limetorrent/avengers) |
| TorrentFunk | torrentfunk | | [/api/torrentfunk/avengers](https://itorrentsearch.vercel.app/api/torrentfunk/avengers) |
| TorrentProject | torrentproject | | [/api/torrentproject/avengers](https://itorrentsearch.vercel.app/api/torrentproject/avengers) |
| all | all (It will retrieve torrent from every site) | | [/api/all/avengers](https://itorrentsearch.vercel.app/api/all/avengers) |

---

## 🗒️Example

#### 📤Request

```
/api/1337x/avengers
```

#### 📥Response

```json
[
{
"Name": "Avengers: Infinity War (2018) [BluRay] [720p] [YTS] [YIFY]",
"Magnet": "magnet:?xt=urn:btih:EA17E6BE92962A403AC1C638D2537DCF1E564D26&dn=Avengers%3A+Infinity+War+%282018%29+%5BBluRay%5D+%5B720p%5D+%5BYTS%5D+%5BYIFY%5D&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fcoppersurfer.tk%3A6969%2Fannounce",
"Poster": "https://lx1.dyncdn.cc/cdn/ab/ab366d3d14d0af54fa6da1543a618251.jpg",
"Category": "Movies",
"Type": "HD",
"Language": "English",
"Size": "1.2 GB",
"UploadedBy": " YTSAGx",
"Downloads": "125311",
"LastChecked": "2 years ago",
"DateUploaded": "2 years ago",
"Seeders": "8828",
"Leechers": "4502",
"Url": "https://1337x.to/torrent/3148366/Avengers-Infinity-War-2018-BluRay-720p-YTS-YIFY/"
}
]
```

---

#### 📤Request

```
/api/tgx/avengers/1
```

#### 📥Response

```json
[
{
"Poster": "https://img.picturegalaxy.org/data/cover/h/W/hWOmQgIu5E.jpg",
"Category": "Movies : HD",
"Name": "Avengers.Endgame.2019.Open.Matte.Upscaled.BDRip.2160p.Eng.TrueHD.DD5.1.gerald99",
"Url": "https://torrentgalaxy.to/torrent/14346596/Avengers-Endgame-2019-Open-Matte-Upscaled-BDRip-2160p-Eng-TrueHD-DD5-1-gerald99",
"Torrent": "https://watercache.nanobytes.org/get/925d6bbd7faf6a3525aa3adcd0d8b560a671f3e6/Avengers.Endgame.2019.Open.Matte.Upscaled.BDRip.2160p.Eng.TrueHD.DD5.1.gerald99",
"Magnet": "magnet:?xt=urn:btih:925d6bbd7faf6a3525aa3adcd0d8b560a671f3e6&dn=Avengers.Endgame.2019.Open.Matte.Upscaled.BDRip.2160p.Eng.TrueHD.DD5.1.gerald99&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ffasttracker.foreverpirates.co%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.uw0.xyz%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.dler.org%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce",
"UploadedBy": "gerald99",
"Size": "34.62 GB",
"Seeders": "6",
"Leechers": "7",
"DateUploaded": "10/04/21 10:46"
}

]
```

---

#### 📤Request

```
/api/nyaasi/jujutsu kaisen/2
```

#### 📥Response

```json
[
{
"Category": "Anime - English-translated",
"Name": "[ok] JUJUTSU KAISEN - 01 [Multi-Subs] [1080p].mkv",
"Url": "https://nyaa.si/view/1285645",
"Torrent": "https://nyaa.si/download/1285645.torrent",
"Size": "1.4 GiB",
"DateUploaded": "2020-10-02 17:48",
"Seeders": "25",
"Leechers": "0",
"Downloads": "710",
"Magnet": "magnet:?xt=urn:btih:986f957243b697d238108d1fa0ba1d0de6d602aa&dn=%5Bok%5D%20JUJUTSU%20KAISEN%20-%2001%20%5BMulti-Subs%5D%20%5B1080p%5D.mkv&tr=http%3A%2F%2Fnyaa.tracker.wf%3A7777%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce"
}
]
```

#### 📤Request

```
/api/torrents
```

#### 📥Response

```json
[
"1337x",
"bitsearch",
"ettv",
"eztv",
"glodls",
"kickass",
"limetorrent",
"magnetdl",
"nyaasi",
"piratebay",
"rarbg",
"tgx",
"torlock",
"torrentfunk",
"torrentproject",
"yts",
"zooqle"
]
```

---

## 🔍Want to try this API ?

```
https://itorrentsearch.vercel.app/api/{keyword}/{query}/{page(optional)}
```

🔰Example
```
https://itorrentsearch.vercel.app/api/1337x/avengers/3
```

---

## 🌐Want to try Website + API ?

#### Coming soon ...

---

## 🛠️Deployment

### Deploy on VPS

You can fork the repo and deploy on VPS

### Deploy on Heroku

[![Deploy](https://svgshare.com/i/dxN.svg)](https://heroku.com/deploy?template=https://github.com/theriturajps/Torrent-Search-API)

### Deploy on Vercel

[![Deploy with Vercel](https://svgshare.com/i/dzC.svg)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Ftheriturajps%2FTorrent-Search-API%2Ftree%2Fvercel)

### Deploy on Netlify (API + Torrent Searcher Website)

[![Deploy on netlify](https://svgshare.com/i/dwj.svg)](https://github.com/theriturajps/Torrent-Search-API/tree/netlify)

---

## ©️ Credit

| Contributor | Added Features |
| ----------- | ----------- |
| [theriturajps](https://github.com/theriturajps) | Built [Torrents-Api](https://github.com/theriturajps/Torrent-Search-API) + Made deployable with Heroku |
| [Airplanegobrr](https://github.com/airplanegobrr) | Cleaned code + removed dead torrent hosts |