cUrl ile deneyip header eklemelisiniz.

ozgur_medya adlı üyeden alıntı: mesajı görüntüle
{"error": true, "reason": "RateLimited", "message": "Visit: https://ipapi.co/ratelimited/ "}
Localhostumda çalıştırmayı denediğimde bu hatayı alıyorum dostum, api'ye kayıt mı olmam gerekiyor?
Json'u siteye şöyle çekmeye çalışıyorum;
<?php
require_once('class.php');
$url="https://ipapi.co/88.230.143.30/json/";

$html = str_get_html(file_get_contents($url));

echo $html;
?>