Free IP API code for lookups

Success   This API is designed for UNLIMITED FREE requests
Request informations automatically from a known IP address in your apps.

API request:

1. The input link contains the IP address as input variable:
https://ip2.app/info.php?ip=3.95.63.218

API response in JSON format:

2. Example of API response in JSON format:
{"code":"US","country":"United States","region":"Virginia","city":"Ashburn","time_zone":"America\/New_York","asn":"Amazon.com, Inc.","pc":"20149","lat":"39.0481","long":"-77.4728","acc":"1000"}

PHP sample code:

3. Click to copy this code for usage in PHP scripts:
$ip = $_SERVER['REMOTE_ADDR'];
$details = json_decode(file_get_contents("https://ip2.app/info.php?ip=".$ip));
$code=$details->code;
$country=$details->country;
$region=$details->region;
$city=$details->city;
$asn=$details->asn;


Basic functions

100% FREE IP informations

IP apps
IP lookup
API for developers

Additional applications

Various useful jobs

URL shortener
Landing Page
Splash Page
Promo Page
Blog
instagram.com/ip2.app

Get in Touch