Fixed. Thanks for all the help! Figured posting the solution might help somebody else.
$url='http://developer.echonest.com/api/v4/track/profile?api_key=myapi&format=json&id='.$id;
$post = array(
);
$ch = curl_init();
$timeout = 5;
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$response = curl_exec($ch);
$result=json_decode($response,true);
var_dump($result);