Free IP geolocation API

Success   This API is designed for UNLIMITED FREE requests
Unlimited daily requests for remote IP address using your apps.

API request:

1. The input link contains the IP address as input variable:
https://geolocation.fun/info.php?ip=3.227.208.153

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://geolocation.fun/info.php?ip=".$ip));
$code=$details->code;
$country=$details->country;
$region=$details->region;
$city=$details->city;
$asn=$details->asn;


Extended services

Unlimited Visitors Monitoring

Get remote IP
Live Traffic
Earth Time
Weather forecast

Additional applications

Various useful jobs

Landing Page
MyOwn.shop
Libra.surf

Get in Touch