IP Address Info

Geocoding

Real-time Location Data and IP Geolocation for Unparalleled Performance.

Our free IP to geolocation REST API provides real-time location data and IP geolocation services for unparalleled performance. It supports IPv4 or IPv6 GeoIP and reverse IP lookup using JSON and XML. The API is available in various programming languages such as PHP, JavaScript, Node, Python, Java, and more.

Benefits of using our API:

  1. Real-time location data
  2. IP geolocation services
  3. Support for IPv4 and IPv6
  4. JSON and XML format
  5. Wide language compatibility
// Example code in JavaScript
const fetch = require('node-fetch');

async function getGeolocation(ipAddress) {
  const response = await fetch(`https://ipinfo.info/json/${ipAddress}`);
  const data = await response.json();
  return data;
}

// Usage
getGeolocation('8.8.8.8')
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));

Related APIs in Geocoding