pricing background

PHP API Integration

api

ASN

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.whoisfreaks.com/v1.0/asn-whois?apiKey=API_KEY&asn=as56554");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
echo $response;
curl_close($ch);