API linkchecker for developers

You need to make a POST-request on http://turbobit.net/linkchecker/csv to check links you want.

The URL's of files you check must be urlencoded and sent to the variable $links_to_check. If you send a few URLs it must be separated by a newline ("\n").

Our script turns back the result as csv (Comma Separated Values). The first parameter will be the URL of the checking file, second parametr is the status of it: 1 - if this file exists or 0 - if it wasn't found on turbobit.net servers.

Request examples:

  • If you want to check one file status
    <?php
    // The URL you want to check
    $links_to_check = "http://turbobit.net/a1a7bfpctcon.html";
    
    // POST-request on
    $url = "http://turbobit.net/linkchecker/csv";
    
    // cURL Initialization
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL,$url); // Set URL
    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); // Function will return the content of that cURL handle in the form of a string
    curl_setopt($ch, CURLOPT_TIMEOUT, 3); // Time out
    curl_setopt($ch, CURLOPT_POST, 1); // POST-method
    curl_setopt($ch, CURLOPT_POSTFIELDS, "links_to_check=".urlencode($links_to_check)); // Adding new field with the file URL
    $result = curl_exec($ch); // Making request
    curl_close($ch);
    
    // Processing the result
    echo $result; // For example - displaying
    ?>
    
  • If you want to check few files status
    <?php
    // The URL you want to check - up to 50 URLs
    $links = array(
    	'http://turbobit.net/a1a7bfpctcon.html',
    	'http://turbobit.net/dv4aa8e0aley.html',
    	'http://turbobit.net/9wccbeipyi75.html'
    );
    $links_to_check = implode("\n", $links);
    
    // POST-request on
    $url = "http://turbobit.net/linkchecker/csv";
    
    // cURL Initialization
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL,$url); // Set URL
    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); // Function will return the content of that cURL handle in the form of a string
    curl_setopt($ch, CURLOPT_TIMEOUT, 3); // Time out
    curl_setopt($ch, CURLOPT_POST, 1); // POST-method
    curl_setopt($ch, CURLOPT_POSTFIELDS, "links_to_check=".urlencode($links_to_check)); // Adding new field with the file URL
    $result = curl_exec($ch); // Making request
    curl_close($ch);
    
    // Processing the result
    echo $result; // For example - displaying
    ?>
    

文件交换网站的优势:

  • 可马上进行文件交换,无须进行注册
  • 下载速度达1 Gbit/sec
  • 可传输大小达 100 千兆的文件。不进行注册可传输大小达 200 兆的文件
  • Хранение файлов 60 дней с момента последнего уникального скачивания
  • 文件下载通过离您最近的文件服务器进行
  • 文件下载通过离您最近的文件服务器进行
  • 专门的Turbo权限权限高速度运行

我们给我们的用户付钱!

把文件保存在我们这里并由此获得收入。.

专门的伙伴计划为所有用户而设置。