Home

IP-API.io

Free IP address lookup location database and IP geolocation API. Trusted by thousands of businesses.

IP78.55.53.58
CountryGermany
Country CodeDE
CityBerlin
Latitude52.5694
Longitude13.3753
Zip Code13409
TimezoneEurope/Berlin
Local Time2024-05-20T22:16:52+02:00
Is Proxyfalse
Is Tor Nodefalse
Is Spamfalse
Is Crawlerfalse
Is Datacenterfalse
Is VPNfalse

All IP location data in one API

Explore a comprehensive suite of Geo IP location features for effective regional analysis and security management.

Accurate Geolocation

Locate customers globally without their consent using precise IP-based geolocation data.

Simple Integration

Integrate our straightforward JSON API quickly and start retrieving IP location data in minutes.

Enhanced Security

Secure every request with HTTPS/SSL encryption to ensure data integrity and confidentiality.

Comprehensive Network Data

Access detailed ISP and ASN information from any IP address.

Effective Geotargeting

Utilize IP geolocation for refined ad targeting, DRM, content personalization, and geofencing.

Expand Global Reach

Extend your market presence worldwide effortlessly with our Geo IP data.

Boost Conversions

Enhance conversion rates up to 75% with localized content and dynamic pricing strategies.

Automated User Experience

Improve user experience by automating form completions with accurate geolocation data.

Advanced Security Insights

Identify potential security threats such as VPNs, proxies, and bots with our comprehensive threat analysis tools.

Geo Location by IP: API Documentation

Get started in 5 minutes
API Endpoints

Get Client's IP Information

GET https://ip-api.io/api/v1/ip/?api_key={YOUR_API_KEY}

Get Specific IP Information

GET https://ip-api.io/api/v1/ip/{ip}?api_key={YOUR_API_KEY}

API Response Format

The API returns a JSON object with the following structure:

{
  "ip": "78.55.53.58", // Queried IP address
  "suspicious_factors": {
    "is_proxy": false, // Is the IP a proxy?
    "is_tor_node": false, // Is the IP a Tor node?
    "is_spam": false, // Is the IP associated with spam?
    "is_crawler": false, // Is the IP a web crawler?
    "is_datacenter": false, // Is the IP from a data center?
    "is_vpn": false // Is the IP a VPN?
  },
  "location": {
    "country": "Germany", // Country of the IP
    "country_code": "DE", // Country code of the IP
    "city": "Berlin", // City of the IP
    "latitude": 52.5694, // Latitude of the IP
    "longitude": 13.3753, // Longitude of the IP
    "zip": "13409", // Zip code of the IP
    "timezone": "Europe/Berlin", // Timezone of the IP
    "local_time": "2024-05-20T22:16:52+02:00", // Local time of the IP
    "local_time_unix": 1716236212, // Local time in Unix timestamp
    "is_daylight_savings": true // Is daylight savings active?
  }
}

Geo Location by IP: Code Examples

Using Client's IP

This method is ideal for front-end implementations, making API calls from the browser to retrieve the client's IP information.

const request = require('request-promise');

request('https://ip-api.io/api/v1/ip/?api_key=YOUR_API_KEY')
  .then(response => console.log(JSON.parse(response)))
  .catch(err => console.log(err));
Using Provided IP

This method is suitable for backend implementations, providing a specific IP address to retrieve its information.

const request = require('request-promise');

request('https://ip-api.io/api/v1/ip/1.2.4.5?api_key=YOUR_API_KEY')
  .then(response => console.log(JSON.parse(response)))
  .catch(err => console.log(err));

Rated 5 out of 5 stars by our customers!

Companies from across the globe have had fantastic experiences using the service.
Here’s what they have to say.

IP-API.io has been a game changer for our global e-commerce platform. We now offer localized pricing without any hassles.

Andrey E.

CEO, Gimmeproxy

The accuracy and reliability of IP-API.io have helped us enhance our security measures and prevent unauthorized access effectively.

Kirill P.

Head of Security, HeadlessCloud

Amazing! Thanks so much for the speedy response. I have really enjoyed using IP-API.io!

Adrian R.

Project Manager

Hi guys, I really like your way to support customers. Fast and you keep your word. Keep moving guys! Cheers.

Lucas N.

Web Developer

YOUR SERVICE IS AWESOME! NICE WORK! THANKS! I LOVE YOU GUYS.

Antonio G.

Independent Developer

Dear IP-API.io Team, Thanks for the awesome service!

Samantha T.

Data Analyst

Thank you for showing the right way to do it. I am not really familiar with geolocation but learning. Thank you again. Love the service... So easy to use.

Jeff M.

Tech Enthusiast

Great service, always reliable and efficient!

John K.

IT Consultant

Pricing

Start using IP-API.io to make your website safer and more user-friendly. Keep out unwanted bots, show visitors content that's relevant to where they are, and spot risky IP addresses quickly. It's perfect for making online shopping more personal and keeping your site secure. Get started today with one of the plans!

Small

€10

/mo
  • 100,000 queries
  • Location data
  • Currency data
  • Time zone data
  • Threat data
  • Unlimited support
  • HTTPS encryption
  • Medium

    €20

    /mo
  • 300,000 queries
  • Location data
  • Currency data
  • Time zone data
  • Threat data
  • Unlimited support
  • HTTPS encryption
  • Large

    €49

    /mo
  • 1,000,000 queries
  • Location data
  • Currency data
  • Time zone data
  • Threat data
  • Unlimited support
  • HTTPS encryption
  • Note: Your API key will be sent to your email after the subscription is confirmed.

    Need support?

    Explore how IP-API can enhance your security, provide robust bot protection, and improve IP geolocation accuracy for your applications.

    Contact Support
    Need more queries?

    Customize your experience with tailored plans that fit your IP security and geolocation needs.


    Home
    Visit IP-API
    © IP-API.io 2017-2024. All rights reserved.

    Our order process is conducted by our online reseller Paddle.com. Paddle.com is the Merchant of Record for all our orders. Paddle provides all customer service inquiries and handles returns.

    GDPR Notice

    Questions? Email us support@ip-api.io