The News GodThe News GodThe News God
  • Politics
    • Trump
  • News
    • Wars & Conflicts
  • Business & Finance
  • Lifestyle & Health
  • Law
  • Sports
  • Tech & Autos
  • Home & Garden
  • More
    • Travel & Tour
    • Education
    • Entertainment
      • Biography
      • Net Worth
      • Famous Birthdays
    • General
    • Games
    • Pets
    • Blog
    • About Us
    • Disclaimer
    • Media Partners
    • Why You Need to Read Business News Everyday
    • Authors
    • Terms of Service & Privacy Policy
Reading: What Is the Best Free IP Geolocation API in 2023?
Share
Font ResizerAa
The News GodThe News God
Font ResizerAa
  • Politics
  • News
  • Business & Finance
  • Lifestyle & Health
  • Law
  • Sports
  • Tech & Autos
  • Home & Garden
  • More
Search
  • Politics
    • Trump
  • News
    • Wars & Conflicts
  • Business & Finance
  • Lifestyle & Health
  • Law
  • Sports
  • Tech & Autos
  • Home & Garden
  • More
    • Travel & Tour
    • Education
    • Entertainment
    • General
    • Games
    • Pets
    • Blog
    • About Us
    • Disclaimer
    • Media Partners
    • Why You Need to Read Business News Everyday
    • Authors
    • Terms of Service & Privacy Policy
Follow US
  • About Us
  • Authors
  • Advertise
  • Contact Us
  • Disclaimer
  • My Bookmarks
  • Terms of Use & Privacy Policy
  • Media Partners
The News God > Blog > Tech & Autos > What Is the Best Free IP Geolocation API in 2023?
Tech & Autos

What Is the Best Free IP Geolocation API in 2023?

Rose Tillerson Bankson
Last updated: June 16, 2023 12:36 pm
Rose Tillerson Bankson - Editor
May 23, 2023
Share
8 Min Read
What Is the Best Free IP Geolocation API in 2023?
SHARE

IP geolocation APIs have become crucial for businesses and developers in today’s interconnected world. They enable us to identify a user’s location based on their IP address. Moreover, free IP geolocation API  can be used for various purposes. Some examples are targeted marketing, fraud detection, and content localization. There are several reliable and accurate IP location API free options available in 2023

Contents
  • What Is an IP Geolocation API?
  • What Are the Top Free IP Geolocation APIs in 2023?
    • ipstack 
      • Code Example
    • Telize API
      • Code Example
    • Referential API
      • Code Example
    • IP Geo Location API
      • Code Example
    • RedLine Zipcode API.
      • Code Example
    • Get IP Info API.
      • Code Example
    • Geocoder – the United States Census Bureau API
      • Code Example
  • Conclusion
  • FAQs
    • Is IP Geolocation API Free?
    • Which API Is Free to Get Location From an IP Address?
    • What Is the Most Accurate Free IP Geolocation?
    • Is Ipinfo API Free?

Using an IP location API free of charge can be a cost-effective solution for businesses seeking to obtain geolocation data without investing in expensive software or services. With so many options available, it can be challenging to determine which API is the best fit for your needs. In this blog post, we will explore the top free IP geolocation APIs of 2023, comparing their features, accuracy, and ease of use. As a result, you can make an informed decision and get the most out of your IP geolocation data. Let’s begin. 

What Is an IP Geolocation API?

An IP Geolocation API allows developers to retrieve the geographical location of an internet-connected device based on its IP address. This technology uses various data points, such as routing information and public records, to pinpoint the device’s location. Moreover, it may include the country, region, city, latitude, and longitude. 

Developers use IP Geolocation APIs to enhance their applications’ functionality, particularly in security, personalized user experiences, and targeted marketing. This tool can help businesses tailor their services to specific regions and reduce fraud and cyberattacks. Moreover, it can provide more relevant content to users based on their location.

Related Posts

Data science and technology - Working together for the future
Data science and technology – Working together for the future
5 Important Website Design Tips to Know
Core Integrations That Keep PayTech Startups Scalable
Vidnoz AI Video Translator – Translate Videos Online [2024]

What Are the Top Free IP Geolocation APIs in 2023?

Here are some best free IP geolocation APIs you must know in 2023. 

ipstack 

ipstack is a geolocation API service that provides developers and businesses with a way to get information about website visitors based on their IP addresses. 

The service can determine a visitor’s geographic location, time zone, ISP, and other information related to their network. This data can be helpful in various applications, such as targeted advertising, fraud detection, content personalization, and more. ipstack offers free and paid plans with different levels of functionality and usage limits.

This is one of the most trustable geolocation APIs that uses JSONP callbacks. You only need to enter the function name; the API will return the results. 

Code Example

Here is an example API request:

https://api.ipstack.com/134.201.250.155
    ? access_key = YOUR_ACCESS_KEY
    & callback = MY_FUNCTION

Here is the example response:

MY_FUNCTION (
  {
    “ip”: “134.201.250.155”,
    “type”: “ipv4”,
    “continent_code”: “NA”,
    “continent_name”: “North America”,
    “country_code”: “US”,
    “country_name”: “United States”,
    “region_code”: “CA”,
    […]
  }
)

If you exceed your monthly API volume, it will return the following error response:

{
  “success”: false,
  “error”: {
    “code”: 104,
    “type”: “monthly_limit_reached”,
    “info”: “Your monthly API request volume has been reached. Please upgrade your plan.”
  }
}

Telize API

Telize APITelize API is a simple and easy-to-use geolocation API service that provides developers with accurate information about a visitor’s location based on their IP address. The service offers data such as longitude and latitude coordinates, city, region, country, timezone, etc. 

Code Example

const axios = require(‘axios’);

const options = {
  method: ‘GET’,
  url: ‘https://telize-v1.p.rapidapi.com/ip’,
  headers: {
    ‘X-RapidAPI-Key’: ‘a70a6f3687mshdc42ce6cf878a8ep1e3282jsn8a72928a9cdc’,
    ‘X-RapidAPI-Host’: ‘telize-v1.p.rapidapi.com’
  }
};

try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}

Referential API

Referential API is a type of API that provides access to a database of reference data, such as geographical locations, time zones, currencies, and more. This data can be used to enrich and validate other types of data, such as customer addresses, product information, and financial transactions. Referential APIs can be provided by third-party providers or built in-house by organizations.

Code Example

const axios = require(‘axios’);

const options = {
  method: ‘GET’,
  url: ‘https://referential.p.rapidapi.com/v1/city’,
  params: {
    ip: ‘128.218.229.26’
  },
  headers: {
    ‘X-RapidAPI-Key’: ‘a70a6f3687mshdc42ce6cf878a8ep1e3282jsn8a72928a9cdc’,
    ‘X-RapidAPI-Host’: ‘referential.p.rapidapi.com’
  }
};

try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}

IP Geo Location API

An IP Geo Location API is a service that allows developers and businesses to obtain geographical information about a device or visitor based on their IP address. It also returns security data for IPv4 and IPv6 addresses in XML or JSON formats.

Code Example

const axios = require(‘axios’);

const options = {
  method: ‘GET’,
  url: ‘https://ip-geo-location.p.rapidapi.com/ip/23.123.12.11’,
  params: {format: ‘json’},
  headers: {
    ‘X-RapidAPI-Key’: ‘a70a6f3687mshdc42ce6cf878a8ep1e3282jsn8a72928a9cdc’,
    ‘X-RapidAPI-Host’: ‘ip-geo-location.p.rapidapi.com’
  }
};

try {
const response = await axios.request(options);
console.log(response.data);
} catch (error)
console.error(error);
}

RedLine Zipcode API.

RedLine Zipcode API is a service that allows developers to retrieve data related to U.S. zip codes. The API provides information such as zip code boundaries, city, state, county, and latitude and longitude coordinates. 

It can be used for various applications, including location-based services, e-commerce, and data analysis. The service offers free and paid plans with varying functionality and usage limits.

Code Example

const axios = require(‘axios’);

const options = {
  method: ‘GET’,
  url: ‘https://redline-redline-zipcode.p.rapidapi.com/rest/multi-info.json/08057,08055/degrees’,
  headers: {
    ‘X-RapidAPI-Key’: ‘a70a6f3687mshdc42ce6cf878a8ep1e3282jsn8a72928a9cdc’,
    ‘X-RapidAPI-Host’: ‘redline-redline-zipcode.p.rapidapi.com’
  }
};

try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}

Get IP Info API.

Get IP Info API is a web service that allows developers to obtain latitude and longitude based on an IP address. Check its code example:

Code Example

const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener(‘readystatechange’, function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});

xhr.open(‘GET’, ‘https://sanarora-get-ip-info.p.rapidapi.com/v3/ip-city/?ip=74.125.45.100&key=93b77a0add7dace51661cf559ef97326f3297ec27d6e5a9b903670e0246b8293&format=JSON’);
xhr.setRequestHeader(‘X-RapidAPI-Key’, ‘a70a6f3687mshdc42ce6cf878a8ep1e3282jsn8a72928a9cdc’);
xhr.setRequestHeader(‘X-RapidAPI-Host’, ‘sanarora-get-ip-info.p.rapidapi.com’);

xhr.send(data);

Geocoder – the United States Census Bureau API

The Geocoder is an API provided by the United States Census Bureau that allows developers to convert physical addresses into geographic coordinates and vice versa. This tool can be useful for various applications, including location-based services, mapping, and data analysis. The API is free but requires an API key to access the service.

Code Example

const axios = require(‘axios’);

const options = {
  method: ‘GET’,
  url: ‘https://eec19846-geocoder-us-census-bureau-v1.p.rapidapi.com/geographies/onelineaddress’,
  params: {
    benchmark: ‘Public_AR_Current’,
    address: ‘<REQUIRED>’,
    format: ‘json’,
    vintage: ‘Current_Current’
  },
  headers: {
    ‘X-RapidAPI-Key’: ‘a70a6f3687mshdc42ce6cf878a8ep1e3282jsn8a72928a9cdc’,
    ‘X-RapidAPI-Host’: ‘eec19846-geocoder-us-census-bureau-v1.p.rapidapi.com’
  }
};

try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}

Conclusion

Several excellent free IP geolocation APIs are available in 2023, each with unique features and limitations. You can use any APIs listed above to get the desired data. Ultimately, the best choice will depend on the specific needs and requirements of the project, such as accuracy, data privacy, and usage limits.

FAQs

Is IP Geolocation API Free?

Yes. You can use it for free with some limitations. 

Which API Is Free to Get Location From an IP Address?

ipstack is one of the most trustable & free APIs to get location from an IP address. 

What Is the Most Accurate Free IP Geolocation?

ipstack is the most accurate API. 

Is Ipinfo API Free?

Ipinfo offers free and paid plans for their API, with different functionality and usage limits.

A Guide to the Beste Mobilabonnement Norge
Review: iPhone 11 vs iPhone 11 Pro
Is Investing in Cryptos Worth it?
The Ultimate Guide to Recovering Data from USB Flash Drives: Tips and Tricks
The Essential OBS Studio Guide For Pro-Level Streaming
Share This Article
Facebook Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Durham report contradicts Nadler’s claims of Trump campaign collusion with Russia.
Next Article Introduction to CFDs: From Basic Principles to Advanced Trading Strategies Introduction to CFDs: From Basic Principles to Advanced Trading Strategies

Latest Publications

Minneapolis Catholic School Shooting
2 Children Killed, 20 Injured In Minneapolis Catholic School Shooting
News
August 27, 2025
Hamas probably wouldn’t have attacked if Trump were the president, says Benjamin Netanyahu
Hamas “probably” wouldn’t have attacked if Trump were the president, says Benjamin Netanyahu
News
August 27, 2025
Denmark summons top US officials
Denmark summons top US officials over suspected influence operations in Greenland
Politics
August 27, 2025
From Classic to Contemporary: 8 Most Entertaining Vampire Books Ever Written
Entertainment
August 27, 2025
New York Tour Bus Crash
At least 5 dead, Dozen Injured in New York Tour Bus Crash
News
August 26, 2025

Stay Connected

235.3kFollowersLike
69.1kFollowersFollow
11.6kFollowersPin
56.4kFollowersFollow
136kSubscribersSubscribe

You Might also Like

Tips for Choosing the Best Hosting Provider for Your Website
Tech & Autos

The Benefits of Using a Web Hosting Control Panel for Easy Management

June 3, 2024
Tech & Autos

Benefits of the 1xBet partner program

March 15, 2022
How to Save TikTok Videos Without Watermark
Tech & Autos

TikTok for Small Businesses: Harness the Power of Short-Form Video to Drive Real-World Results

May 29, 2023
Buy TikTok Likes
Tech & Autos

The Best Sites to Buy TikTok Likes in 2023 (Real & Active) | Get Ahead of the Competition

April 19, 2023
Show More
© 2025 Thenewsgod. All Rights Reserved.
  • About
  • Contact Us
  • Terms of Use & Privacy Policy
  • Disclaimer
  • Authors
  • Media Partners
  • Videos
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?