$RequesterAddress
This feature relies on access to Wolfram Cloud.

$RequesterAddress
gives the IP address originating an HTTP request that initiated the current evaluation.

DetailsDetails

  • If the current evaluation was not initiated by an HTTP request, $RequesterAddress is None.
  • $RequesterAddress is set not only for direct web calls, such as those through an API, but also for interactive sessions that occur in the Wolfram Cloud Platform.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Deploy an API function that returns the requester address:

In[1]:=
Click for copyable input
Out[1]=

Get the address that originated this request:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)