You need authorization (cookie) to access that endpoint. It works when you paste the link into browser because your browser uses your logged in account’s cookie
You can make a fresh roblox account and get its cookie and pass it with your GET request
I have no idea how to code or use PHP but you I found a way to pass a cookie using this code I found:
<?php
// Create a stream
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"Accept-language: en\r\n" .
"Cookie: foo=bar\r\n"
)
);
$context = stream_context_create($opts);
// Open the file using the HTTP headers set above
$file = file_get_contents('http://www.example.com/', false, $context);
?>
The cookie would be called “.ROBLOSECURITY”, and make sure you keep this private, you can find it by looking in the dev storage tab or using a cookie viewing extension.