How would I check which carrier a player is with?

Hey Cookie Tech,

Today, I was wondering, is there a way to check what carrier a roblox player on mobile is with?

For example, if the player is with Mint Mobile, Virgin Plus, Rogers, Fido, etc. it prints it in the console.

The reason I’m asking is I thought of this earlier.

Thanks,
@peter

1 Like

Try this script:

local link = "http://ip-api.com/json"
local HttpService = game:GetService("HttpService")
local result = HttpService:Getasync(link)
print("User's carrier is:".. result.ISP)

This returns the ISP so if they are on 4g/5g it will show their carrier (e.g EE, Three, Vodafone, O2, Sky Mobile, etc.) Or on WiFi their ISP (e.g BT, Sky, Plusnet, Vodafone, etc.)

I visited this link on 5G and here’s the result:

{"status":"success","country":"United Kingdom","countryCode":"GB","region":"ENG","regionName":"England","city":"Oxford","zip":"OX2","lat":51.4566,"lon":-0.968,"timezone":"Europe/London","isp":"Hutchison 3G UK Ltd","org":"H3G UK","as":"AS206067 Hutchison 3G UK Limited","query":"92.40.213.141"}

(Hutchinson 3G is the corporate name for Three)

Hope this helped! :smiley:

This will have to be on the client though, and the client can’t send server requests?

I didn’t notice that :thinking:

Then I don’t think that it is possible then @peter

Yeah, I kinda thought so :frowning:

Thanks for the help everyone!

1 Like

Yes, this would probably be a security hazard.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.