
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@dil5han/1337x
Advanced tools
A Node.js library for scraping torrent data from 1337x.to.
You can install the 1337x library via npm:
npm install @dil5han/1337x
const t1337x = require('@dil5han/1337x');
t1337x.t1337x('search', 'pages') // t1337x('cars', '1') Replace the word "cars" with the word you want to search
.then((data) => {
if (data === null) {
console.log('Error: Failed to fetch data from 1337x.');
} else if (data.length === 0) {
console.log('No search results');
} else {
console.log(data);
}
})
.catch((error) => {
console.log('Error:', error);
});
Performs a search on 1337x.to with the given query and returns an array of torrent objects.
search (string): The search query.page (string, optional): The page number to retrieve. Defaults to '1'.Returns: Promise<Array<Object>>
Each torrent object in the returned array has the following properties:
Name (string): The name of the torrent.img (string): The URL of the torrent's image.site_url (string): The URL of the torrent on 1337x.to.Category (string): The category of the torrent.Type (string): The type of the torrent.Language (string): The language of the torrent.Size (string): The size of the torrent.Uploaded_By (string): The uploader of the torrent.Downloads (string): The number of downloads.Last_checked (string): The last time the torrent was checked.Date_uploaded (string): The date the torrent was uploaded.Seeds (string): The number of seeders.Leechs (string): The number of leechers.Mag_torrent_url (string): The magnet URL of the torrent.This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please refer to the Contributing Guidelines for more details.
If you encounter any issues or have suggestions, please open an issue.
This library is developed and maintained by Dilshan.
This library is intended for educational and personal use only. Please respect the legal rights of content creators and use torrents responsibly.
| Ravindu Dilshan Developer [Dilshan] |
FAQs
This is an unofficial api made for the 1337x torrent site
We found that @dil5han/1337x demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.