You can’t obtain a player’s IP address through a third party web request. HttpService is obviously blocked on clients so you’re only able to fulfill requests from the server. You can use web requests to get a map of country codes to its corresponding emoji though, which someone has already shown how to do.
@maccchh Are you connected through a VPN or proxy when using GetCountryCodeForPlayerAsync? Is this being done in a live game and not just in studio?