We switched to an API key based authentication system.

🎉 100% Free - 15 000 Requests / hour

Free IP Geolocation API

freegeoip.app provides a free IP gelocation API for software developers. It uses a database of IP addresses that are associated to cities along with other relevant information like time zone, latitude and longitude.

Try it yourself & get started

Try the demo and convince yourself from the data quality of the API. By default, data of your own IP address are shown.


Generous usage volume for any use case

We allow you to send 15 000 requests per hour with your apikey. No payment details or credit card info required. 100% free - no strings attached.


Ultra fast speeds

We have optimized the API for speed and reliability. The API leverages strong infrastructure and is served right from the edge.


Supports all common data formats

The API supports .csv, .xml and .json as output formats. Simply specify the desired format as part of the request uri and the response will be formatted accordingly.

Try it yourself:
    "ip":, "",
    "country_code": "US",
    "country_name": "United States",
    "region_code": "VA",
    "region_name": "Virginia",
    "city": "Ashburn",
    "zip_code": "20149",
    "time_zone": "America/New_York",
    "latitude": 39.0469,
    "longitude": -77.4903,
    "metro_code": 511

Code Snippets

You can integrate our IP geolocation API into any application, written in any programming language. The following code examples show how to use the IP lookup API with the most common programming languages:

// own IP address
const request = require('request-promise');

.then(response => {
.catch(error => {
URI Parameter Name Type Required / Optional Description
format string required Possible values: json, xml, csv, jsonp
IP Address string optional default: client IP address
Query Parameter Name Type Required / Optional Description
apikey string required Authentication parameter
callback string optional Function to call after request was executed

Frequently asked questions

What is freegeoip.app?

freegeoip.app is a JSON-based IP lookup REST API that enables developers to retrieve data about an IP Address.

How many requests can I make?

Our IP geolocation API provide you with a generous request volume. We allow you to make 15 000 requests per hour via your apikey.

Are the data up-to-date?

freegeoip.app is a JSON-based REST API that enables developers to retrieve data about an IP Address.

Do you know any other awesome free APIs?

Yes, sure!

How can I contribute to keep freegeoip.app for free?

If you enjoy using this site, please consider donating to keep this site free:
BTC bc1qymgp5855yaxtqa3w4d60393chmfwa809j9u9ns