Skip to content

Search API

Davenchy edited this page Feb 7, 2020 · 4 revisions

End point -> /search

  • Method: GET

  • Queries

query type alias required default description examples
query string q true keyword to be used in the search YTS
provider string p false All supported torrent tracker name as a provider ExtraTorrent
category string c false All supported category name Movies
limit number l false 10 limit search results to a number 100

Search Results

results for http://live-torrent.herokuapp.com/api/search?query=shazam&provider=ExtraTorrent&limit=1

[
  {
    "title": "Shazam!.2019.1080p.BluRay.DD+7.1.x264-DON[EtHD]",
    "peers": 23,
    "seeds": 50,
    "time": "2 mo",
    "size": "16.80 GB",
    "magnet": "magnet:?xt=urn:btih:9CA94E4FDF8732ECE17CDD9BA31AC9060E41AA99&dn=Shazam%21.2019.1080p.BluRay.DD%2B7.1.x264-DON%5BEtHD%5D&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce;tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce;tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce;tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce;tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce;tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce;tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce;tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451;tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce",
    "desc": "http://extratorrent.ag/torrent/7783621/Shazam%21.2019.1080p.BluRay.DD%2B7.1.x264-DON%5BEtHD%5D.html",
    "provider": "ExtraTorrent",
    "hash": "9CA94E4FDF8732ECE17CDD9BA31AC9060E41AA99"
  }
]

Note: sometimes result object keys be different from provider to another


End point -> /search/providers

  • Method: GET
[
 {
   "name": "ExtraTorrent",
   "categories": [
     "All",
     "Movies",
     "TV",
     "Music",
     "Apps",
     "Anime",
     "Books"
   ]
 },
 ...
]