Free IP Geolocation API

Absolutely free API service for determining the geographic location of IP addresses with a wealth of data and easy access. Users can send an unlimited number of requests without any restrictions or fees. Please note that the API access key is updated every three days. However, the previous key will remain active for another 48 hours, giving you enough time to replace it without any interruptions.

API Access URL

https://ipapi.ipspeed.info/?key=API_KEY&ip=216.73.216.138

PHP (cURL) Request Example

// Initialize CURL:
$ch = curl_init('https://ipapi.ipspeed.info/?key=API_KEY&ip=216.73.216.138');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Store the data:
$json = curl_exec($ch);
curl_close($ch);

// Decode JSON response:
$ipapi = json_decode($json, true);

// Output
echo $ipapi['ip'] . "<br>";
echo $ipapi['type'] . "<br>";
echo $ipapi['country_name'] . "<br>";
echo $ipapi['country_code'] . "<br>";
echo $ipapi['country_flag'] . "<br>";
echo $ipapi['city'] . "<br>";
echo $ipapi['region_name'] . "<br>";
echo $ipapi['latitude'] . "<br>";
echo $ipapi['longitude'] . "<br>";
echo $ipapi['zipcode'] . "<br>";
echo $ipapi['time_zone'] . "<br>";
echo $ipapi['date'] . "<br>";
echo $ipapi['time'] . "<br>";
echo $ipapi['calling_code'] . "<br>";
echo $ipapi['currency'] . "<br>";
echo $ipapi['currency_code'] . "<br>";
echo $ipapi['language'] . "<br>";
echo $ipapi['language_code'] . "<br>";

API Response Based on Your IP

{
    "ip": "216.73.216.138",
    "type": "IPv4",
    "country_name": "United States of America",
    "country_code": "US",
    "country_flag": "https://ipspeed.info/flags/us.svg",
    "city": "Columbus",
    "region_name": "Ohio",
    "latitude": "39.96138",
    "longitude": "-82.997749",
    "zipcode": "43215",
    "time_zone": "-04:00",
    "date": "November 07, 2025",
    "time": "18:30",
    "calling_code": "+1",
    "currency": "United States Dollar",
    "currency_code": "USD",
    "language": "English",
    "language_code": "EN"
}

API KEY

API KEY

The next API KEY change will be performed: 2025-11-09 / 00:00 (UTC)

For anonymous browsing, use our Free Proxy Servers. You can also protect your connection with OpenVPN, L2TP/IPsec or SSTP VPN.