yTube.SITE WEB
Private Developer API
The format endpoint is disabled by default. When enabled, every request requires a private bearer token and is protected by request, process and concurrency limits.
PHP example

<?php
$id = isset($_GET['id']) && is_string($_GET['id']) ? $_GET['id'] : '';
if (!preg_match('/^[a-zA-Z0-9_-]{11}$/', $id)) {
exit('Invalid video ID.');
}
$endpoint = 'https://web.ytube.site/yt.php?' . http_build_query([
'videoid' => $id,
'site' => 'your site name',
]);
$token = 'replace-with-a-private-token';
$ch = curl_init($endpoint);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $token],
CURLOPT_CONNECTTIMEOUT => 5,
CURLOPT_TIMEOUT => 15,
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_SSL_VERIFYHOST => 2,
]);
$links = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
echo $status === 200 ? $links : 'Download links are unavailable.';
?>