So, it’d look something like below? Remove the version ‘Accept’ parameter from the headers property?
$.ajax({
type: 'GET',
url: 'https://api.twitch.tv/kraken/streams/' + searchTERM.val(),
Accept : 'application/vnd.twitchtv.v5+json'
headers: {
'Client-ID' : 'xxxxx'
},
success: function(results){
console.log(results);
}