Data
    IP Geolocation API

    IP Geolocation API

    High-precision network intelligence and location analytics.

    A powerful FastAPI-based API for IP geolocation, providing detailed location, ASN, country, and reverse DNS information for IPv4 and IPv6 addresses. Built for security, personalization, and high-scale analytics.

    example.py
    import requests
    # Geolocate multiple IP addresses
    def geolocate_bulk(ip_list):
    url = "https://ip-geolocation-api8.p.rapidapi.com/batch"
    payload = { "ips": ip_list }
    headers = { "X-RapidAPI-Key": "YOUR_KEY", "Content-Type": "application/json" }
    response = requests.post(url, json=payload, headers=headers)
    return response.json()
    48ms
    Latency
    IPv4/v6
    Protocols
    GeoLite2
    Database
    / Features

    Everything you need, nothing you don't

    MaxMind Core

    Leveraging GeoLite2 datasets for precision city, country, and ASN data

    Security Ready

    Analyse IP origins for fraud detection and network monitoring

    Batch Lookup

    Geolocate hundreds of IPv4 or IPv6 addresses in a single request

    Network Detail

    Retrieve detailed ASN, ISP, and reverse DNS (rDNS) information

    / Global mapping at scale

    Precision Intelligence

    Our API leverages the industry-standard MaxMind GeoLite2 databases to provide accurate coordinates, subdivision details, and accuracy radii. Whether you are building localized UX or complex security filters, our dual-protocol engine ensures coverage for both IPv4 and IPv6 assets.

    Precision Intelligence
    / Production-grade network data

    Enterprise Scale Monitoring

    Move beyond simple location with rich ASN and reverse DNS (rDNS) lookups. Designed for high-throughput environments like security dashboards and CRM personalization engines, the API supports optimised batch endpoints to process entire network logs efficiently.

    Enterprise Scale Monitoring
    / Built with
    Python FastAPI MaxMind Redis

    Ready to try IP Geolocation API?

    A powerful FastAPI-based API for IP geolocation, providing detailed location, ASN, country, and reverse DNS information for IPv4 and IPv6 addresses. Built for security, personalization, and high-scale analytics.

    / Product ecosystem

    Explore more labs