Usage limits

Our system will automatically ban any IP addresses doing over 150 requests per minute. To unban your IP you'll have to sent a email to [email protected]

You are free to use our API for non-commercial and commercial use.

PHP example

https://api.revplit.com/geo/all.php?ip=

Response

IP:
Country:
Country Code:
Region:
Region Code:
City:
ZIP Code:
Latitude:
Longitude:
Timezone:
ISP:
Organization:
AS Number/Name:

Source Code Example


<?php
  $result = "";
    if(isset($_POST['sub'])) {
      $ip = $_POST['ip'];
      if(!empty($_POST['ip'])) {
        $result = @file_get_contents("https://api.revplit.com/geo/all.php?ip=".$ip);
      } else {
           $result = "No IP filled in";
        }
       }
?>

<form method="POST">
<p><b>IP:</b></p>
<input type="text" name="ip" value="" />

<input type="submit" value="Submit" name="sub"/>
</form>

<?php echo $result; ?>

 

Example on page


IP

https://api.revplit.com/geo/ip.php?ip=

Response

IP: 207.244.72.201

Country

https://api.revplit.com/geo/country.php?ip=

Response

Country: United States

Country Code

https://api.revplit.com/geo/countryCode.php?ip=

Response

Country Code: US

Region

https://api.revplit.com/geo/regionName.php?ip=

Response

Region: Virginia

Region Code

https://api.revplit.com/geo/regionCode.php?ip=

Response

Region Code: VA

City

https://api.revplit.com/geo/city.php?ip=

Response

City: Manassas

Zip Code

https://api.revplit.com/geo/zip.php?ip=

Response

Zip Code: 20109

Latitude

https://api.revplit.com/geo/lat.php?ip=

Response

Latitude: 38.770099639893

Longitude

https://api.revplit.com/geo/lon.php?ip=

Response

Longitude: -77.632102966309

Timezone

https://api.revplit.com/geo/timezone.php?ip=

Response

Timezone: America/New_York

ISP

https://api.revplit.com/geo/isp.php?ip=

Response

ISP" Leaseweb USA

Organization

https://api.revplit.com/geo/org.php?ip=

Response

Organization: Leaseweb USA

AS number/name

https://api.revplit.com/geo/as.php?ip=

Response

AS number/name: AS30633 Leaseweb USA, Inc.