JavaScript (jQuery.ajax)

// set endpoint and your access key var ip = ‘185.245.87.169’; var access_key = ‘YOUR_ACCESS_KEY’; // get the API result via jQuery.ajax $.ajax({ url: ‘https://api.clarifyip.com/?ip=’ + ip + ‘&key=’ + access_key,...