Function Resource

IPStack

Geolocation for IP addresses using the IPStack service

Contributed by: Arnoud Buzing

ResourceFunction["IPStack"][ip,key]

gives geolocation information for IP address ip, using API access key.

Details and Options

Requires an API access key from https://ipstack.com.

Examples

Basic Examples

Look up the IP address for the main “www.wolfram.com” web server:

In[1]:=
ip = First@HostLookup["www.wolfram.com"]
Out[1]=

Find its approximate geographical location (API key is provided by you):

In[2]:=
ResourceFunction[ "https://www.wolframcloud.com/obj/user-7053ce31-817f-4643-aec1-\
eda27051bba6/DeployedResources/Function/IPStack"][ip, key] // Dataset
Out[2]=