Function Repository Resource:

IPStackData

Source Notebook

Get geo locations for IP addresses using the ipstack service

Contributed by: Arnoud Buzing

ResourceFunction["IPStackData"][ip,key]

gives geo location information for IP address ip using API access key.

Details and Options

ResourceFunction["IPStackData"] requires an API access key from https://ipstack.com.

Examples

Basic Examples (2) 

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["IPStackData"][ip, \!\(\*
TagBox[
FrameBox["\<\"insert your API key here\"\>"],
"Placeholder"]\)] // Dataset
Out[2]=

Publisher

Arnoud Buzing

Version History

  • 1.0.0 – 04 May 2020

License Information