I've tried it, but I haven't found a solution.
$(document).ready(function(){
$.ajax({
url: 'https://api.firsatbufirsat.com/deal/browse.html?apiKey=FZTGT8NK3RTC5M2O&publisherId=609&cityId=42',
type: 'get',
dataType: "jsonp",
success: function(data){
if(data){document.write(data.deals[0].title)}
}
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
Why doesn't this work?
</div>