I am using the following code to access the Yahoo Music API: $.getJSON("http://us.music.yahooapis.com/artist/v1/list/ published/popular? response=main&appid=myappid&format=json&callback=?",function(json) {alert(json);}); and it generates the following url: