ip-api’s free api is no longer functional apparently?
I’m sorry but it says its still for free.
For non-commercial use cases though.

I think Public Games are something Commercial.
It’s not a website so its never an issue, perhaps they meant by using it for enterprises.
There’s a difference between games and businesses, games are not business’s.
Yes they can be businesses. Anything that returns a profit is a business.
As long as a Game generates profit, it is a commercial product. You need a paid plan.
The person whose using the api should pay for it, not me, I just told how the api works and how to use it.
Agreed.
If I’m not wrong, I think I know a service or two that offer geolocation for commercial use for free. I use it for my website to get visitors’ location. However these only give you the Country, not the City, ZIP Code, etc.
I will look into the code later and I will send the name of that service here for the people that want an alternative because I forgot their name.
EDIT: Here it is: https://iplocation.net.
In this case, being forced to use an external API for information that should be available to developers isn’t ideal
The previous API host has canceled their FREE SERVICES, and many games are unable to get the Server Location, the tutorial has been updated to continue using the server location in Roblox for free.
No wonder why it doesn’t work anymore… I’ve been trying to get it to work for months now. Sad that ip-api cancelled their free services.
But I have found another free way and it works alright :)!
Yep! It works pretty well. Though, I’ve ran into some cases where it’s come out with the wrong server location - for instance in an AU server (Australia), it says it’s actually in US (United States).
Could I know how you found out the actual server location is US but not AU?
Is it by your studio client location? or anything else
Hey @ring, thank you for reaching out! This isn’t a game bug, but a server availability framework followed by Roblox, and a widely used concept. The location of the server depends on the geolocation time/network traffic, server capacity, and number of servers in a region, and it’s explained by @Focia19 and me slightly
I agree that it might affect your game, but you should make a tailored solution for that!
Hello @Build2Inspire ,
Thank you for reaching out with this query, I researched this to find the reason behind a sudden hit on your game locations. And apparently, there are solutions for this, but here’s the reason behind it:
This is a server locations data post by @TheShowCaseMaker as of 2022.
Data collected from various sources show evidence that not many servers have been added till now from 2022.
So let’s assume that data to be valid for now.
If you take a closer look at the geographical location of Russia.
Russia is at the top, and nearly every other server is almost the same distance from Russia.
Few in Europe and one in India and Japan.
And considering the fact Russia is a very vast country, at any point in time in Russia, it is morning/afternoon and evening in the nearby countries. (Note that, the network traffic is usually high in these time phases) but low in midnight-phased countries atm like European Union Countries. And Russians can get the benefit of the European Union being slower in the timezone. And by this, Russians can enjoy the game in the morning and nearly till evening without having this issue much evident earlier.
And data found in various sources, found on Google says:
There is an enormous amount of new player joinees from India and Southern Asia.
This rise of players visibly seen after August 2023, has made the servers previously free in the European Union a lot more occupied, and leaving a lot of servers of the people in these countries to get a location far from them, which is the United States servers at this moment.
If nothing is done, the issue will be resolved once Roblox manages to build/obtain new servers to manage the increased network traffic and concurrent CCU on the platform.
But we never know when Roblox will do that, so you have to find a solution for it. As far now, I never heard or known about changing a server location of servers on Roblox, as they are automated. Please let us know if you find any solution ![]()
What’s wrong with just using this: http://ip-api.com/json/
Also how fast are the responses? What if you have a big game with many requests to make?
If you can afford to pay $13.99 every month for your game, you can go with http://ip-api.com/json/
However, a risk-free solution is what I updated the tutorial to, you can do it for free using the tools I mentioned in this tutorial. However, it’s not an issue with requests. You would make the requests only once when the server is created, which isn’t resource intensive after all, and even if your server size is 1, and many players will join, it wouldn’t be an issue.
![]()
Also note that, when your server size is 1, and many players play your game, it would be hard to achieve the server location with a Free API Plan as it:

It has a 500 Limit per day, if you’re looking to spend money around 9$ - 15$, you can go with IP API, additionally, ip-api has infinite requests and does not have any issues.
And a slightly cheaper option would be the following:

In rapid API.
