Torrentz9 website integration details
Torrentz9 indexes same file format as original torrentz.eu website.
If you still have files prepared for torrentz.eu website you are ready to go!
Just send us contact message here with links to full index file and hourly updated file.
If you have never been indexed by torrentz.eu here is what you need.
You will have to generate two files:
1) Full index file - This file needs to be updated every 24 hours and needs to have all torrents in your database.
2) Last hour file - This file needs to be updated every 60 minutes and needs to have only torrents uploaded in last 60 minutes.
We have made PHP script you can use to output data. You only need to configure script to match your website.
You can also see sample output file here torrentz9.test.txt.gz
Here is how output format of both files should be done:
INFO_HASH|TORRENT_TITLE|TORRENT_CATEGORY|TORRENT_INFO_LINK|TORRENT_FILE_DOWNLOAD_LINK
Here is each field explained and given example:
Final output of single torrent:INFO_HASH - Torrent infohash
example: 092358777175c4306602f9b1b523738df4b4610b
TORRENT_TITLE - Torrent title
example: Bitcoin Core 25.0
TORRENT_CATEGORY - Torrent category and subcategory if any
example 1: PC > Software
example 2: Software
TORRENT_INFO_LINK - HTTPS link that has information on torrent and .torrent download links or magnet link
example: https://your-website.com/torrent-details/1234/Bitcoin-core-25
TORRENT_FILE_DOWNLOAD_LINK - .torrent file download link, if you do not save and host .torrent file you can put value NO_TORRENT_FILE, or use one of free .torrent hosting websites
example 1: https://your-website.com/torrent/bitcoin-25.0.torrent
example 2: https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0.torrent
example 3: https://itorrents.org/torrent/092358777175C4306602F9B1B523738DF4B4610B.torrent
example 4: https://torrage.info/torrent.php?h=092358777175C4306602F9B1B523738DF4B4610B
example 5: https://btcache.me/torrent/092358777175C4306602F9B1B523738DF4B4610B
example 6: NO_TORRENT_FILE
092358777175c4306602f9b1b523738df4b4610b|Bitcoin Core 25.0|PC > Software|https://your-website.com/torrent-details/1234/Bitcoin-core-25|https://itorrents.org/torrent/092358777175C4306602F9B1B523738DF4B4610B.torrent
All fields are required.
Each field is separated by "|" character, so make sure not to have this character in title or category values. We suggest you replace "|" with space in title and category.
Each torrent should be separated with new line.
Final data should be saved to .txt file and then gzipped.
If torrent on your website is pending moderation or is deleted just remove it from full index file and we will then delist it.
Once your files are ready send us message here, if have any additional questions feel free to contact us.