$url = 'https://openpagerank.com/api/v1.0/getPageRank';$query = http_build_query(array( 'domains' => array( 'google.com', 'apple.com', 'unknowndomain.com' ) ));$url = $url .'?'. $query;$ch = curl_init();$headers = ['API-OPR: YOUR-API-KEY-HERE'];curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);$output = curl_exec_($ch);curl_close ($ch);$output = json_decode($output,true);