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=3.22.223.184
PHP (cURL) Request Example
// Initialize CURL: $ch = curl_init('https://ipapi.ipspeed.info/?key={API_KEY}&ip=3.22.223.184'); 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": "3.22.223.184", "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": "43085", "time_zone": "-05:00", "date": "March 12, 2025", "time": "11:09", "calling_code": "+1", "currency": "United States Dollar", "currency_code": "USD", "language": "English", "language_code": "EN" }
API KEY
The next API KEY change will be performed: 2025-03-14 / 00:00 (UTC)